mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-10 20:48:40 +01:00
fix null arguments
This commit is contained in:
parent
0bdad2f46f
commit
08e87b9a53
4 changed files with 12 additions and 10 deletions
11
CHANGELOG
11
CHANGELOG
|
@ -1,41 +1,40 @@
|
||||||
|
11-05-2014
|
||||||
|
Version 1.0.7
|
||||||
|
|
||||||
|
[Updated] - fix null arguments
|
||||||
|
|
||||||
11-05-2014
|
11-05-2014
|
||||||
Version 1.0.6
|
Version 1.0.6
|
||||||
|
|
||||||
[Updated] - updated slackbuild argument
|
[Updated] - updated slackbuild argument
|
||||||
|
|
||||||
|
|
||||||
10-05-2014
|
10-05-2014
|
||||||
Version 1.0.5
|
Version 1.0.5
|
||||||
|
|
||||||
[Feature] - Added auto build package choice
|
[Feature] - Added auto build package choice
|
||||||
[Updated] - man page and README.rst file
|
[Updated] - man page and README.rst file
|
||||||
|
|
||||||
|
|
||||||
10-05-2014
|
10-05-2014
|
||||||
Version 1.0.3
|
Version 1.0.3
|
||||||
|
|
||||||
[Updated] - bin/slpkg added function find_package
|
[Updated] - bin/slpkg added function find_package
|
||||||
|
|
||||||
|
|
||||||
10-05-2014
|
10-05-2014
|
||||||
Version 1.0.2
|
Version 1.0.2
|
||||||
|
|
||||||
[Updated] - setup.py file
|
[Updated] - setup.py file
|
||||||
[Updated] - man page slpkg.8 added gziped
|
[Updated] - man page slpkg.8 added gziped
|
||||||
|
|
||||||
|
|
||||||
09-05-2014
|
09-05-2014
|
||||||
Version 1.0.1
|
Version 1.0.1
|
||||||
|
|
||||||
[Feature] - Added support install man page
|
[Feature] - Added support install man page
|
||||||
|
|
||||||
|
|
||||||
09-05-2014
|
09-05-2014
|
||||||
Version 1.0.0
|
Version 1.0.0
|
||||||
|
|
||||||
[Feature] - Added man page
|
[Feature] - Added man page
|
||||||
|
|
||||||
|
|
||||||
09-05-2014
|
09-05-2014
|
||||||
Version 0.0.3
|
Version 0.0.3
|
||||||
|
|
||||||
|
|
2
PKG-INFO
2
PKG-INFO
|
@ -1,6 +1,6 @@
|
||||||
Metadata-Version: 1.1
|
Metadata-Version: 1.1
|
||||||
Name: slpkg
|
Name: slpkg
|
||||||
Version: 1.0.6
|
Version: 1.0.7
|
||||||
Author: dslackw
|
Author: dslackw
|
||||||
Author-email: d zlatanidis at gmail com
|
Author-email: d zlatanidis at gmail com
|
||||||
Maintainer: dslackw
|
Maintainer: dslackw
|
||||||
|
|
|
@ -7,7 +7,7 @@ import sys
|
||||||
import argparse
|
import argparse
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
__version__ = "1.0.6"
|
__version__ = "1.0.7"
|
||||||
__author__ = "dslackw"
|
__author__ = "dslackw"
|
||||||
__license__ = "GPLv3"
|
__license__ = "GPLv3"
|
||||||
|
|
||||||
|
@ -95,6 +95,9 @@ def main():
|
||||||
os.system("echo -e '\e[31mThe package is not found\e[39m'")
|
os.system("echo -e '\e[31mThe package is not found\e[39m'")
|
||||||
else:
|
else:
|
||||||
os.system("cat {}".format(find_package(args.display)))
|
os.system("cat {}".format(find_package(args.display)))
|
||||||
|
# fix null arguments
|
||||||
|
if not any([args.verbose, args.upgrade, args.reinstall, args.slackbuild, args.remove, args.list, args.find, args.display]):
|
||||||
|
os.system("slpkg -h")
|
||||||
|
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -8,13 +8,13 @@ from distutils.core import setup
|
||||||
setup(
|
setup(
|
||||||
name='Slpkg',
|
name='Slpkg',
|
||||||
py_modules=['slpkg'],
|
py_modules=['slpkg'],
|
||||||
version='1.0.6',
|
version='1.0.7',
|
||||||
description="Python tool to manage Slackware packages",
|
description="Python tool to manage Slackware packages",
|
||||||
keywords=["slpkg", "upgrade", "install", "remove", "view", "slackpkg", "tool"],
|
keywords=["slpkg", "upgrade", "install", "remove", "view", "slackpkg", "tool"],
|
||||||
author="dslackw",
|
author="dslackw",
|
||||||
author_email="d.zlatanidis@gmail.com",
|
author_email="d.zlatanidis@gmail.com",
|
||||||
url="https://github.com/dslackw/slpkg",
|
url="https://github.com/dslackw/slpkg",
|
||||||
download_url="https://github.com/dslackw/slpkg/archive/v1.0.6.tar.gz",
|
download_url="https://github.com/dslackw/slpkg/archive/v1.0.7.tar.gz",
|
||||||
scripts=['bin/slpkg'],
|
scripts=['bin/slpkg'],
|
||||||
package_data={"": ["LICENSE", "README.rst", "CHANGELOG"]},
|
package_data={"": ["LICENSE", "README.rst", "CHANGELOG"]},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
Loading…
Add table
Reference in a new issue