mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
updated for version 1.5.3
This commit is contained in:
parent
b8492276bf
commit
3d83d7d9ef
4 changed files with 16 additions and 13 deletions
|
@ -1,3 +1,9 @@
|
|||
24-06-2014
|
||||
Version 1.5.3
|
||||
|
||||
[Updated] - Fix IOError: [Errno 13] Permission denied: (file = open("/tmp/slpkg/readme/" + name +
|
||||
site, "w"))
|
||||
|
||||
24-06-2014
|
||||
Version 1.5.2
|
||||
|
||||
|
|
2
PKG-INFO
2
PKG-INFO
|
@ -1,6 +1,6 @@
|
|||
Metadata-Version: 1.1
|
||||
Name: slpkg
|
||||
Version: 1.5.2
|
||||
Version: 1.5.3
|
||||
Author: dslackw
|
||||
Author-email: d zlatanidis at gmail com
|
||||
Maintainer: dslackw
|
||||
|
|
17
bin/slpkg
17
bin/slpkg
|
@ -49,7 +49,7 @@ import subprocess
|
|||
|
||||
|
||||
__author__ = "dslackw"
|
||||
__version__ = "1.5.2"
|
||||
__version__ = "1.5.3"
|
||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||
__email__ = "d.zlatanidis@gmail.com"
|
||||
|
||||
|
@ -177,6 +177,7 @@ def url_read(name):
|
|||
|
||||
# read SBo README
|
||||
def read_readme(SBo_url, name, site):
|
||||
s_user(getpass.getuser())
|
||||
readme = url_read((SBo_url + site).replace("repository", "slackbuilds"))
|
||||
|
||||
file = open("/tmp/slpkg/readme/" + name + "." + site, "w")
|
||||
|
@ -186,6 +187,7 @@ def read_readme(SBo_url, name, site):
|
|||
|
||||
# read SBo .info
|
||||
def read_info_slackbuild(SBo_url, name, site):
|
||||
s_user(getpass.getuser())
|
||||
info = url_read(
|
||||
(SBo_url +
|
||||
name +
|
||||
|
@ -211,7 +213,6 @@ def SBo_search_pkg(name):
|
|||
sys.stdout.flush()
|
||||
sys.stdout.write("\b" * (toolbar_width + 1))
|
||||
for kind in repository:
|
||||
|
||||
sys.stdout.write(".")
|
||||
sys.stdout.flush()
|
||||
SBo_url_sub = SBo_url + kind + "/"
|
||||
|
@ -434,8 +435,8 @@ def build_package(script, source):
|
|||
|
||||
# print version
|
||||
def pkg_version():
|
||||
print ("Version: {}".format(__version__))
|
||||
print ("Licence: {}".format(__license__))
|
||||
print ("Version : {}".format(__version__))
|
||||
print ("Licence : {}".format(__license__))
|
||||
print ("Email : {}".format(__email__))
|
||||
|
||||
|
||||
|
@ -1068,12 +1069,8 @@ def main():
|
|||
parser.add_argument("-a", help="auto build package",
|
||||
type=str, nargs="+", metavar=('script', 'source'))
|
||||
|
||||
parser.add_argument(
|
||||
"-l",
|
||||
help="list of installed packages",
|
||||
nargs="+",
|
||||
choices="all sbo".split(),
|
||||
metavar=('all, sbo'))
|
||||
parser.add_argument("-l", help="list of installed packages", nargs="+",
|
||||
choices="all sbo".split(), metavar=('all, sbo'))
|
||||
|
||||
parser.add_argument("-t", help="tracking dependencies",
|
||||
type=str, metavar=(''))
|
||||
|
|
2
setup.py
2
setup.py
|
@ -9,7 +9,7 @@ from distutils.core import setup
|
|||
|
||||
setup(
|
||||
name='slpkg',
|
||||
version="1.5.2",
|
||||
version="1.5.3",
|
||||
description="Python tool to manage Slackware packages",
|
||||
keywords=["slackware", "slpkg", "upgrade", "install", "remove",
|
||||
"view", "slackpkg", "tool"],
|
||||
|
|
Loading…
Reference in a new issue