From 46793a969480c7feddea77e69add27d068178655 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 3 Jun 2020 20:47:04 +0300 Subject: [PATCH 1/3] Fixed --upgrade flag Signed-off-by: Dimitris Zlatanidis --- slpkg/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slpkg/main.py b/slpkg/main.py index c250905e..d86ea0a2 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -341,13 +341,13 @@ class ArgParse(BlackList): """ flag, skip = [], "" if flags[0] in self.args: - for arg in self.args[3:]: + for arg in self.args: if arg.startswith(flags[1]): skip = Regex(arg.split("=")[1]).get() self.args.remove(arg) if arg in flags: flag.append(arg) - if arg in self.args: + if arg not in self.args: self.args.remove(arg) if "--checklist" in flag: self.if_checklist() From 4157f18a90765e719d4252d0345e4ee87b4834f0 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 3 Jun 2020 23:05:55 +0300 Subject: [PATCH 2/3] Remove gitlab-ci Signed-off-by: Dimitris Zlatanidis --- .gitlab-ci.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 9d6b9b40..00000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,21 +0,0 @@ -image: "python:3.7" - -before_script: - - python --version - - pip install -r requirements.txt - -stages: - - Static Analysis - - Test - -flake8: - stage: Static Analysis - script: - - flake8 --max-line-length=120 bild/*.py - -unit_test: - stage: Test - script: - - export PYTHONPATH="$PYTHONPATH:." - - python -c "import sys;print(sys.path)" - - pytest \ No newline at end of file From 8ad23a031985b55d2f41b0c3ba3a0566320a063a Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 3 Jun 2020 23:13:16 +0300 Subject: [PATCH 3/3] Updated for version 3.8.9 Signed-off-by: Dimitris Zlatanidis --- README.md | 2 +- slpkg/__metadata__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f6016b75..1d2f74a3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# slpkg 3.8.8 +# slpkg 3.8.9 Slpkg is a powerful software package manager that installs, updates, and removes packages on [Slackware](http://www.slackware.com/) based systems. It automatically computes dependencies and diff --git a/slpkg/__metadata__.py b/slpkg/__metadata__.py index 372cfb95..5940e810 100644 --- a/slpkg/__metadata__.py +++ b/slpkg/__metadata__.py @@ -76,7 +76,7 @@ class MetaData: __all__ = "slpkg" __author__ = "dslackw" - __version_info__ = (3, 8, 8) + __version_info__ = (3, 8, 9) __version__ = "{0}.{1}.{2}".format(*__version_info__) __license__ = "GNU General Public License v3 (GPLv3)" __email__ = "d.zlatanidis@gmail.com"