diff --git a/ChangeLog.txt b/ChangeLog.txt index b8c913a2..3e710032 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,5 +1,9 @@ ## slpkg - ChangeLog +### 4.9.9 - 20/02/2024 +- Updated: + * Removing '%README%' dependencies when installing data into database + ### 4.9.8 - 14/02/2024 - Added: * python urllib3 settings to the config file (slpkg.toml) diff --git a/slpkg/install_data.py b/slpkg/install_data.py index 035bccb8..ab6fdba0 100644 --- a/slpkg/install_data.py +++ b/slpkg/install_data.py @@ -68,7 +68,8 @@ class InstallData(Configs): files=cache[2], version=cache[3], download=cache[4], download64=cache[5], md5sum=cache[6], md5sum64=cache[7], - requires=cache[8], short_description=cache[9]) + requires=cache[8].replace('%README%', ''), + short_description=cache[9]) self.session.add(data) cache: list = [] # reset cache after 11 lines @@ -115,7 +116,8 @@ class InstallData(Configs): files=cache[2], version=cache[3], download=cache[4], download64=cache[5], md5sum=cache[6], md5sum64=cache[7], - requires=cache[8], short_description=cache[9]) + requires=cache[8].replace('%README%', ''), + short_description=cache[9]) self.session.add(data) cache: list = [] # reset cache after 11 lines