mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
updated for version 1.3.8
This commit is contained in:
parent
42909117b0
commit
f3f4ea6d11
4 changed files with 16 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
30-05-2014
|
||||
Version 1.3.8
|
||||
|
||||
[Updated] - Fix no dependencies found
|
||||
|
||||
29-05-2014
|
||||
Version 1.3.7
|
||||
|
||||
|
|
2
PKG-INFO
2
PKG-INFO
|
@ -1,6 +1,6 @@
|
|||
Metadata-Version: 1.1
|
||||
Name: slpkg
|
||||
Version: 1.3.7
|
||||
Version: 1.3.8
|
||||
Author: dslackw
|
||||
Author-email: d zlatanidis at gmail com
|
||||
Maintainer: dslackw
|
||||
|
|
13
bin/slpkg
13
bin/slpkg
|
@ -51,7 +51,7 @@ import subprocess
|
|||
|
||||
|
||||
__author__ = "dslackw"
|
||||
__version__ = "1.3.7"
|
||||
__version__ = "1.3.8"
|
||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||
__email__ = "d.zlatanidis@gmail.com"
|
||||
|
||||
|
@ -100,10 +100,10 @@ class colors:
|
|||
|
||||
# check if user is root
|
||||
def s_user(user):
|
||||
print
|
||||
if user == "root":
|
||||
pass
|
||||
else:
|
||||
print
|
||||
print ("{}Must have {}`root`{} privileges ...{}\n".format(colors.RED,
|
||||
colors.GREEN, colors.RED, colors.ENDC))
|
||||
sys.exit()
|
||||
|
@ -722,10 +722,14 @@ def sbo_check(name):
|
|||
|
||||
# find package and dependencies download, build and install
|
||||
def sbo_build(name):
|
||||
s_user(getpass.getuser())
|
||||
find_dependencies_links = sbo_dependencies_links_pkg(name)
|
||||
|
||||
# create one list
|
||||
if find_dependencies_links != []:
|
||||
|
||||
if find_dependencies_links == None:
|
||||
sys.exit()
|
||||
|
||||
elif find_dependencies_links != []:
|
||||
results = []
|
||||
for i in range(len(find_dependencies_links)):
|
||||
for j in range(len(find_dependencies_links[i])):
|
||||
|
@ -757,6 +761,7 @@ def sbo_build(name):
|
|||
|
||||
# removes archives type
|
||||
filename = []
|
||||
|
||||
y = 0
|
||||
for i in range(len(files) / 2):
|
||||
if files[y].endswith("tar.gz"):
|
||||
|
|
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ from distutils.core import setup
|
|||
|
||||
setup(
|
||||
name = 'slpkg',
|
||||
version = "1.3.7",
|
||||
version = "1.3.8",
|
||||
description = "Python tool to manage Slackware packages",
|
||||
keywords = ["slackware", "slpkg", "upgrade", "install", "remove",
|
||||
"view", "slackpkg", "tool"],
|
||||
|
|
Loading…
Add table
Reference in a new issue