mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-10 20:01:54 +01:00
Merge branch 'develop'
This commit is contained in:
commit
db4949670b
4 changed files with 4 additions and 25 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue