Remove SvnClone.

We don't use it since a long time.
This commit is contained in:
Matthieu Gautier 2023-11-30 13:45:35 +01:00
parent c753e62913
commit a0978a6ab4
2 changed files with 1 additions and 26 deletions

View File

@ -30,7 +30,6 @@ class PlatformNeutralEnv:
self.mesontest_command = [*self.meson_command, "test"]
self.patch_command = self._detect_command('patch')
self.git_command = self._detect_command('git')
self.svn_command = self._detect_command('svn')
self.make_command = self._detect_command('make')
self.cmake_command = self._detect_command('cmake')
self.qmake_command = self._detect_command('qmake', required=False)

View File

@ -196,30 +196,6 @@ class GitClone(Source):
self.command('post_prepare_script', self._post_prepare_script)
class SvnClone(Source):
@property
def source_dir(self):
return self.svn_dir
@property
def svn_path(self):
return pj(neutralEnv('source_dir'), self.svn_dir)
def _svn_export(self, context):
if os.path.exists(self.svn_path):
raise SkipCommand()
command = [
*neutralEnv('svn_command'), "export",
self.svn_remote, self.svn_dir
]
run_command(command, neutralEnv('source_dir'), context)
def prepare(self):
self.command('svnexport', self._svn_export)
if hasattr(self, 'patches'):
self.command('patch', self._patch)
class Builder:
subsource_dir = None
dependencies = []