Skip to content

Commit 99cc4f5

Browse files
authored
Merge pull request #20 from ccdc-opensource/tkpatch_update_remove_files
Update build_conquest_python.py (NO_JIRA)
2 parents c13ace3 + 35c8593 commit 99cc4f5

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

build_conquest_python.py

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,15 @@ def source_archives(self):
181181
def extract_source_archives(self):
182182
super().extract_source_archives()
183183
# Remove packages we don't want to build
184-
shutil.rmtree(self.main_source_directory_path /
185-
'pkgs' / 'sqlite3.34.0')
186-
shutil.rmtree(self.main_source_directory_path / 'pkgs' / 'tdbc1.1.2')
187-
shutil.rmtree(self.main_source_directory_path /
188-
'pkgs' / 'tdbcmysql1.1.2')
189-
shutil.rmtree(self.main_source_directory_path /
190-
'pkgs' / 'tdbcodbc1.1.2')
191-
shutil.rmtree(self.main_source_directory_path /
192-
'pkgs' / 'tdbcpostgres1.1.2')
193-
shutil.rmtree(self.main_source_directory_path /
194-
'pkgs' / 'tdbcsqlite3-1.1.2')
184+
sp = Path(self.main_source_directory_path / 'pkgs')
185+
186+
sqlite_path = sp.glob('sqlite*')
187+
for file in sqlite_path:
188+
shutil.rmtree(file)
189+
190+
tbc_path = sp.glob('tdbc*')
191+
for file in tbc_path:
192+
shutil.rmtree(file)
195193

196194
@property
197195
def main_source_directory_path(self):
@@ -509,12 +507,12 @@ def arguments_to_configuration_script(self):
509507

510508
class JpegPackage(InstallInConquestPythonBaseMixin, AutoconfMixin, NoArchiveMixin, Package):
511509
name = 'jpeg'
512-
version = '9e'
510+
version = '9f'
513511

514512
@property
515513
def source_archives(self):
516514
return {
517-
f'jpegsrc.v{self.version}.tar.gz': f'https://fossies.org/linux/misc/jpegsrc.v9e.tar.gz'
515+
f'jpegsrc.v{self.version}.tar.gz': f'https://fossies.org/linux/misc/jpegsrc.v{self.version}.tar.gz'
518516
}
519517

520518

0 commit comments

Comments
 (0)