updated for version 1.5.4

This commit is contained in:
dslackw 2014-07-13 17:33:37 +03:00
parent 050c096049
commit 126d06c9e0
5 changed files with 278 additions and 277 deletions

View file

@ -1,3 +1,8 @@
13-07-2014
Version 1.5.4
[Updated] - Remove files in tmp directory after reade
24-06-2014
Version 1.5.3

View file

@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: slpkg
Version: 1.5.3
Version: 1.5.4
Author: dslackw
Author-email: d zlatanidis at gmail com
Maintainer: dslackw
@ -19,9 +19,7 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
.. image:: https://raw.githubusercontent.com/dslackw/slpkg/master/logo/slpkg.png
:scale: 60%
:width: 30%
:align: left
:alt: logo
Features
@ -184,6 +182,7 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
| flashplayer-plugin 11.2.202.356
+==================================================
Would you like to install ? [Y/y]
$ slpkg -c ranger
Searching `ranger` from slackbuilds.org ...
@ -223,6 +222,7 @@ https://bitfighter.googlecode.com/files/classic_level_pack.zip
Info View the Info file
Download Download this package
Build Download and build this package
Install Download/Build/Install
_
@ -264,7 +264,8 @@ https://bitfighter.googlecode.com/files/classic_level_pack.zip
copying build/lib/termcolor.py ->
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
byte-compiling
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor.py to termcolor.pyc
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor.py to
termcolor.pyc
running install_egg_info
Writing
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info

View file

@ -37,7 +37,7 @@ Features
It's a quick and easy way to manage your packages in slackware
to a command.
[CHANGELOG] : https://github.com/dslackw/slpkg/blob/master/CHANGELOG
`[CHANGELOG] <https://github.com/dslackw/slpkg/blob/master/CHANGELOG>`_
Installation
@ -47,11 +47,11 @@ Using slackware command:
.. code-block:: bash
Download from http://slackbuilds.org
Download from `SlackBuilds <http://slackbuilds.org>`_
or
using sbopkg tool http://www.sbopkg.org
using sbopkg tool `SBOPKG <http://www.sbopkg.org>`_
Using pip:

View file

@ -49,7 +49,7 @@ import subprocess
__author__ = "dslackw"
__version__ = "1.5.3"
__version__ = "1.5.4"
__license__ = "GNU General Public License v3 (GPLv3)"
__email__ = "d.zlatanidis@gmail.com"
@ -187,12 +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 +
site).replace(
"repository",
"slackbuilds"))
info = url_read((SBo_url + name + site).replace("repository", "slackbuilds"))
file = open("/tmp/slpkg/readme/" + name + site, "w")
file.write(info)
@ -578,20 +573,20 @@ def SBo_network(name):
elif read == "R" or read == "r":
site = "README"
read_readme(SBo_url, name, site)
os.system(
"less /tmp/slpkg/readme/" +
name +
".{}".format(site))
os.system("less /tmp/slpkg/readme/{}.{}".format(name, site))
os.remove("/tmp/slpkg/readme/{}.{}".format(name, site))
elif read == "F" or read == "f":
site = ".info"
read_info_slackbuild(SBo_url, name, site)
os.system("less /tmp/slpkg/readme/" + name + "{}".format(site))
os.system("less /tmp/slpkg/readme/{}{}".format(name, site))
os.remove("/tmp/slpkg/readme/{}{}".format(name, site))
elif read == "S" or read == "s":
site = ".SlackBuild"
read_info_slackbuild(SBo_url, name, site)
os.system("less /tmp/slpkg/readme/" + name + "{}".format(site))
os.system("less /tmp/slpkg/readme/{}{}".format(name, site))
os.remove("/tmp/slpkg/readme/{}{}".format(name, site))
elif read == "B" or read == "b":
s_user(getpass.getuser())

View file

@ -9,7 +9,7 @@ from distutils.core import setup
setup(
name='slpkg',
version="1.5.3",
version="1.5.4",
description="Python tool to manage Slackware packages",
keywords=["slackware", "slpkg", "upgrade", "install", "remove",
"view", "slackpkg", "tool"],