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

519
PKG-INFO
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
@ -57,22 +55,22 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
Using slackware command:
.. code-block:: bash
Download from http://slackbuilds.org
Download from http://slackbuilds.org
or
or
using sbopkg tool http://www.sbopkg.org
using sbopkg tool http://www.sbopkg.org
Using pip:
.. code-block:: bash
$ pip install slpkg
uninstall:
$ pip install slpkg
uninstall:
$ pip uninstall slpkg
$ pip uninstall slpkg
@ -81,29 +79,29 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
.. code-block:: bash
usage: slpkg [-h] [-v] [-a script [source ...]] [-l all, sbo [all, sbo ...]]
[-t] [-n] [-c] [-s] [-i [...]] [-u [...]] [-o [...]]
[-r [...]] [-f [...]] [-d [...]]
usage: slpkg [-h] [-v] [-a script [source ...]] [-l all, sbo [all, sbo ...]]
[-t] [-n] [-c] [-s] [-i [...]] [-u [...]] [-o [...]]
[-r [...]] [-f [...]] [-d [...]]
Utility to help package management in Slackware
Utility to help package management in Slackware
optional arguments:
-h, --help show this help message and exit
-v, --verbose print version and exit
-a script [source ...]
auto build package
-l all, sbo [all, sbo ...]
list of installed packages
-t tracking dependencies
-n find from SBo repositority
-c check if your package is up to date
-s download, build & install pkg from SBo
-i [ ...] install binary packages
-u [ ...] install-upgrade packages with new
-o [ ...] reinstall the same packages
-r [ ...] remove packages
-f [ ...] find if packages installed
-d [ ...] display the contents of the packages
optional arguments:
-h, --help show this help message and exit
-v, --verbose print version and exit
-a script [source ...]
auto build package
-l all, sbo [all, sbo ...]
list of installed packages
-t tracking dependencies
-n find from SBo repositority
-c check if your package is up to date
-s download, build & install pkg from SBo
-i [ ...] install binary packages
-u [ ...] install-upgrade packages with new
-o [ ...] reinstall the same packages
-r [ ...] remove packages
-f [ ...] find if packages installed
-d [ ...] display the contents of the packages
@ -114,36 +112,36 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
build and install with all dependencies :
.. code-block:: bash
$ slpkg -s brasero
Searching `brasero` from slackbuilds.org ...
Searching `libunique` from slackbuilds.org .....
Searching `gst1-plugins-bad` from slackbuilds.org ......
Searching `gst1-plugins-base` from slackbuilds.org ........
Searching `gstreamer1` from slackbuilds.org ....
Searching `orc` from slackbuilds.org ....
$ slpkg -s brasero
Searching `brasero` from slackbuilds.org ...
Searching `libunique` from slackbuilds.org .....
Searching `gst1-plugins-bad` from slackbuilds.org ......
Searching `gst1-plugins-base` from slackbuilds.org ........
Searching `gstreamer1` from slackbuilds.org ....
Searching `orc` from slackbuilds.org ....
+==============================================================================
| Installing new package /tmp/brasero-3.11.3-x86_64-1_SBo.tgz
| Installing new package /tmp/brasero-3.11.3-x86_64-1_SBo.tgz
+==============================================================================
Verifying package brasero-3.11.3-x86_64-1_SBo.tgz.
Installing package brasero-3.11.3-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# brasero (CD/DVD burning application)
#
# Brasero is a application to burn CD/DVD for the Gnome Desktop. It is
# designed to be as simple as possible and has some unique features to
# enable users to create their discs easily and quickly.
#
# Homepage: http://projects.gnome.org/brasero
#
Executing install script for brasero-3.11.3-x86_64-1_SBo.tgz.
Package brasero-3.11.3-x86_64-1_SBo.tgz installed.
Installing package brasero-3.11.3-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# brasero (CD/DVD burning application)
#
# Brasero is a application to burn CD/DVD for the Gnome Desktop. It is
# designed to be as simple as possible and has some unique features to
# enable users to create their discs easily and quickly.
#
# Homepage: http://projects.gnome.org/brasero
#
Executing install script for brasero-3.11.3-x86_64-1_SBo.tgz.
Package brasero-3.11.3-x86_64-1_SBo.tgz installed.
The package `orc` was installed
The package `orc` was installed
The package `gstreamer1` was installed
The package `gst1-plugins-base` was installed
The package `gst1-plugins-bad` was installed
@ -154,20 +152,20 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
.. code-block:: bash
$ slpkg -t brasero
$ slpkg -t brasero
+=========================
| brasero dependencies :
+=========================
|
|
-- 1 orc
|
-- 1 gstreamer1
|
-- 1 gst1-plugins-base
|
-- 2 libunique gst1-plugins-bad
+=========================
| brasero dependencies :
+=========================
|
|
-- 1 orc
|
-- 1 gstreamer1
|
-- 1 gst1-plugins-base
|
-- 2 libunique gst1-plugins-bad
@ -176,24 +174,25 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
.. code-block:: bash
$ slpkg -c flashplayer-plugin
Searching `flashplayer-plugin` from slackbuilds.org ...
$ slpkg -c flashplayer-plugin
Searching `flashplayer-plugin` from slackbuilds.org ...
New version is available !!!
+==================================================
| flashplayer-plugin 11.2.202.356
+==================================================
New version is available !!!
+==================================================
| flashplayer-plugin 11.2.202.356
+==================================================
Would you like to install ? [Y/y]
$ slpkg -c ranger
Searching `ranger` from slackbuilds.org ...
Your package is up to date
$ slpkg -c ranger
Searching `ranger` from slackbuilds.org ...
$ slpkg -c termcolor
Your package is up to date
$ slpkg -c termcolor
The package `termcolor` not found on your system
The package `termcolor` not found on your system
Find slackbuild from network (www.slackbuilds.org):
@ -201,29 +200,30 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
.. code-block:: bash
$ slpkg -n bitfighter
Searching `bitfighter` from slackbuilds.org ...
$ slpkg -n bitfighter
Searching `bitfighter` from slackbuilds.org ...
+=======================================================================================
| The `bitfighter` found in -->
| The `bitfighter` found in -->
http://slackbuilds.org/repository/14.1/games/bitfighter/
+=======================================================================================
| Download SlackBuild :
| Download SlackBuild :
http://slackbuilds.org/slackbuilds/14.1/games/bitfighter.tar.gz
| Source Downloads : http://bitfighter.org/files/bitfighter-019c.tar.gz
| Extra Downloads :
| Source Downloads : http://bitfighter.org/files/bitfighter-019c.tar.gz
| Extra Downloads :
https://bitfighter.googlecode.com/files/classic_level_pack.zip
| Package requirements : OpenAL SDL2 speex libmodplug
| Package requirements : OpenAL SDL2 speex libmodplug
+=======================================================================================
README View the README file
SlackBuild View the SlackBuild file
Info View the Info file
SlackBuild View the SlackBuild file
Info View the Info file
Download Download this package
Build Download and build this package
Build Download and build this package
Install Download/Build/Install
_
@ -233,233 +233,234 @@ https://bitfighter.googlecode.com/files/classic_level_pack.zip
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
must be in the same directory.
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
must be in the same directory.
$ slpkg -a termcolor.tar.gz termcolor-1.1.0.tar.gz
$ slpkg -a termcolor.tar.gz termcolor-1.1.0.tar.gz
termcolor/
termcolor/slack-desc
termcolor/termcolor.info
termcolor/README
termcolor/termcolor.SlackBuild
termcolor-1.1.0/
termcolor-1.1.0/CHANGES.rst
termcolor-1.1.0/COPYING.txt
termcolor-1.1.0/README.rst
termcolor-1.1.0/setup.py
termcolor-1.1.0/termcolor.py
termcolor-1.1.0/PKG-INFO
running install
running build
running build_py
creating build
creating build/lib
copying termcolor.py -> build/lib
running install_lib
creating /tmp/SBo/package-termcolor/usr
creating /tmp/SBo/package-termcolor/usr/lib64
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
copying build/lib/termcolor.py ->
termcolor/
termcolor/slack-desc
termcolor/termcolor.info
termcolor/README
termcolor/termcolor.SlackBuild
termcolor-1.1.0/
termcolor-1.1.0/CHANGES.rst
termcolor-1.1.0/COPYING.txt
termcolor-1.1.0/README.rst
termcolor-1.1.0/setup.py
termcolor-1.1.0/termcolor.py
termcolor-1.1.0/PKG-INFO
running install
running build
running build_py
creating build
creating build/lib
copying termcolor.py -> build/lib
running install_lib
creating /tmp/SBo/package-termcolor/usr
creating /tmp/SBo/package-termcolor/usr/lib64
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
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
running install_egg_info
Writing
byte-compiling
/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
Slackware package maker, version 3.14159.
Slackware package maker, version 3.14159.
Searching for symbolic links:
Searching for symbolic links:
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n
Creating Slackware package: /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
Creating Slackware package: /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
./
usr/
usr/lib64/
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/termcolor.py
usr/lib64/python2.7/site-packages/termcolor.pyc
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
usr/doc/
usr/doc/termcolor-1.1.0/
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
usr/doc/termcolor-1.1.0/README.rst
usr/doc/termcolor-1.1.0/CHANGES.rst
usr/doc/termcolor-1.1.0/PKG-INFO
usr/doc/termcolor-1.1.0/COPYING.txt
install/
install/slack-desc
./
usr/
usr/lib64/
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/termcolor.py
usr/lib64/python2.7/site-packages/termcolor.pyc
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
usr/doc/
usr/doc/termcolor-1.1.0/
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
usr/doc/termcolor-1.1.0/README.rst
usr/doc/termcolor-1.1.0/CHANGES.rst
usr/doc/termcolor-1.1.0/PKG-INFO
usr/doc/termcolor-1.1.0/COPYING.txt
install/
install/slack-desc
Slackware package /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz created.
Slackware package /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz created.
Use `slpkg -u` to install - upgrade this package
Use `slpkg -u` to install - upgrade this package
Upgrade install package:
.. code-block:: bash
$ slpkg -u /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
$ slpkg -u /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
+==============================================================================
| Installing new package ./termcolor-1.1.0-x86_64-1_SBo.tgz
| Installing new package ./termcolor-1.1.0-x86_64-1_SBo.tgz
+==============================================================================
Verifying package termcolor-1.1.0-x86_64-1_SBo.tgz.
Installing package termcolor-1.1.0-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# termcolor (ANSII Color formatting for output in terminal)
#
# termcolor allows you to format your output in terminal.
#
# Project URL: https://pypi.python.org/pypi/termcolor
#
Package termcolor-1.1.0-x86_64-1_SBo.tgz installed.
Verifying package termcolor-1.1.0-x86_64-1_SBo.tgz.
Installing package termcolor-1.1.0-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# termcolor (ANSII Color formatting for output in terminal)
#
# termcolor allows you to format your output in terminal.
#
# Project URL: https://pypi.python.org/pypi/termcolor
#
Package termcolor-1.1.0-x86_64-1_SBo.tgz installed.
Of course you can install mass-packages:
.. code-block:: bash
$ slpkg -u *.t?z
or
$ slpkg -u *.t?z
or
$ slpkg -i *.t?z
$ slpkg -i *.t?z
Find if your packages installed:
.. code-block:: bash
$ slpkg -f termcolor lua yetris you-get rar pip
$ slpkg -f termcolor lua yetris you-get rar pip
found --> termcolor-1.1.0-x86_64-1_SBo
The package `lua` not found
found --> yetris-2.0.1-x86_64-1_SBo
The package `you-get` not found
found --> rar-5.0.1-x86_64-1_SBo
found --> pip-1.5.4-x86_64-1_SBo
found --> termcolor-1.1.0-x86_64-1_SBo
The package `lua` not found
found --> yetris-2.0.1-x86_64-1_SBo
The package `you-get` not found
found --> rar-5.0.1-x86_64-1_SBo
found --> pip-1.5.4-x86_64-1_SBo
Display the contents of the package:
.. code-block:: bash
$ slpkg -d termcolor lua
$ slpkg -d termcolor lua
PACKAGE NAME: termcolor-1.1.0-x86_64-1_SBo
COMPRESSED PACKAGE SIZE: 8.0K
UNCOMPRESSED PACKAGE SIZE: 60K
PACKAGE LOCATION: ./termcolor-1.1.0-x86_64-1_SBo.tgz
PACKAGE DESCRIPTION:
termcolor: termcolor (ANSII Color formatting for output in terminal)
termcolor:
termcolor: termcolor allows you to format your output in terminal.
termcolor:
termcolor:
termcolor: Project URL: https://pypi.python.org/pypi/termcolor
termcolor:
termcolor:
termcolor:
termcolor:
FILE LIST:
./
usr/
usr/lib64/
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/termcolor.py
usr/lib64/python2.7/site-packages/termcolor.pyc
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
usr/lib64/python3.3/
usr/lib64/python3.3/site-packages/
usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
usr/lib64/python3.3/site-packages/__pycache__/
usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
usr/lib64/python3.3/site-packages/termcolor.py
usr/doc/
usr/doc/termcolor-1.1.0/
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
usr/doc/termcolor-1.1.0/README.rst
usr/doc/termcolor-1.1.0/CHANGES.rst
usr/doc/termcolor-1.1.0/PKG-INFO
usr/doc/termcolor-1.1.0/COPYING.txt
install/
install/slack-desc
The package `lua` not found
PACKAGE NAME: termcolor-1.1.0-x86_64-1_SBo
COMPRESSED PACKAGE SIZE: 8.0K
UNCOMPRESSED PACKAGE SIZE: 60K
PACKAGE LOCATION: ./termcolor-1.1.0-x86_64-1_SBo.tgz
PACKAGE DESCRIPTION:
termcolor: termcolor (ANSII Color formatting for output in terminal)
termcolor:
termcolor: termcolor allows you to format your output in terminal.
termcolor:
termcolor:
termcolor: Project URL: https://pypi.python.org/pypi/termcolor
termcolor:
termcolor:
termcolor:
termcolor:
FILE LIST:
./
usr/
usr/lib64/
usr/lib64/python2.7/
usr/lib64/python2.7/site-packages/
usr/lib64/python2.7/site-packages/termcolor.py
usr/lib64/python2.7/site-packages/termcolor.pyc
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
usr/lib64/python3.3/
usr/lib64/python3.3/site-packages/
usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
usr/lib64/python3.3/site-packages/__pycache__/
usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
usr/lib64/python3.3/site-packages/termcolor.py
usr/doc/
usr/doc/termcolor-1.1.0/
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
usr/doc/termcolor-1.1.0/README.rst
usr/doc/termcolor-1.1.0/CHANGES.rst
usr/doc/termcolor-1.1.0/PKG-INFO
usr/doc/termcolor-1.1.0/COPYING.txt
install/
install/slack-desc
The package `lua` not found
Remove package:
.. code-block:: bash
$ slpkg -r termcolor
!!! WARNING !!!
Are you sure to remove this package(s) [y/n] y
$ slpkg -r termcolor
!!! WARNING !!!
Are you sure to remove this package(s) [y/n] y
Package: termcolor-1.1.0-x86_64-1_SBo
Removing...
Package: termcolor-1.1.0-x86_64-1_SBo
Removing...
Removing package /var/log/packages/termcolor-1.1.0-x86_64-1_SBo...
Removing files:
--> Deleting /usr/doc/termcolor-1.1.0/CHANGES.rst
--> Deleting /usr/doc/termcolor-1.1.0/COPYING.txt
--> Deleting /usr/doc/termcolor-1.1.0/PKG-INFO
--> Deleting /usr/doc/termcolor-1.1.0/README.rst
--> Deleting /usr/doc/termcolor-1.1.0/termcolor.SlackBuild
--> Deleting
Removing package /var/log/packages/termcolor-1.1.0-x86_64-1_SBo...
Removing files:
--> Deleting /usr/doc/termcolor-1.1.0/CHANGES.rst
--> Deleting /usr/doc/termcolor-1.1.0/COPYING.txt
--> Deleting /usr/doc/termcolor-1.1.0/PKG-INFO
--> Deleting /usr/doc/termcolor-1.1.0/README.rst
--> Deleting /usr/doc/termcolor-1.1.0/termcolor.SlackBuild
--> Deleting
/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.pyc
--> Deleting
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.pyc
--> Deleting
/usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
--> Deleting
--> Deleting
/usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
--> Deleting /usr/lib64/python3.3/site-packages/termcolor.py
--> Deleting empty directory
--> Deleting /usr/lib64/python3.3/site-packages/termcolor.py
--> Deleting empty directory
/usr/lib64/python3.3/site-packages/__pycache__/
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new
files
WARNING: Unique directory /usr/lib64/python3.3/ contains new files
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
WARNING: Unique directory /usr/lib64/python3.3/ contains new files
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
The package `termcolor` removed
The package `termcolor` removed
$ slpkg -f termcolor lua rar
$ slpkg -f termcolor lua rar
The package `termcolor` not found
The package `lua` not found
found --> rar-5.0.1-x86_64-1_SBo
The package `termcolor` not found
The package `lua` not found
found --> rar-5.0.1-x86_64-1_SBo
$ slpkg -v
Version: x.x.x
Licence: GNU General Public License v3 (GPLv3)
Email: d.zlatanidis@gmail.com
$ slpkg -v
Version: x.x.x
Licence: GNU General Public License v3 (GPLv3)
Email: d.zlatanidis@gmail.com
Man page it is available for full support:
.. code-block:: bash
$ man slpkg
$ man slpkg
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)

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,21 +573,21 @@ 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())
script = get_file(SBo_dwn, "/")

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"],