mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
updated for version 1.4.6
This commit is contained in:
parent
fc3917c223
commit
8d9ef4965a
4 changed files with 124 additions and 100 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
05-06-2014
|
||||||
|
Version 1.4.6
|
||||||
|
|
||||||
|
[Updated] - Fix build noarch packages
|
||||||
|
|
||||||
04-06-2014
|
04-06-2014
|
||||||
Version 1.4.5
|
Version 1.4.5
|
||||||
|
|
||||||
|
|
197
PKG-INFO
197
PKG-INFO
|
@ -1,11 +1,11 @@
|
||||||
Metadata-Version: 1.1
|
Metadata-Version: 1.1
|
||||||
Name: slpkg
|
Name: slpkg
|
||||||
Version: 1.4.5
|
Version: 1.4.6
|
||||||
Author: dslackw
|
Author: dslackw
|
||||||
Author-email: d zlatanidis at gmail com
|
Author-email: d zlatanidis at gmail com
|
||||||
Maintainer: dslackw
|
Maintainer: dslackw
|
||||||
Maintainer-email: d zlatanidis at gmail com
|
Maintainer-email: d zlatanidis at gmail com
|
||||||
Home-page: https://github.com/dslackw/slpkg
|
Home-page: http://dslackw.github.io/slpkg/
|
||||||
Summary: Utility to help package management in Slackware
|
Summary: Utility to help package management in Slackware
|
||||||
Description: .. image:: https://badge.fury.io/py/slpkg.png
|
Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
:target: http://badge.fury.io/py/slpkg
|
:target: http://badge.fury.io/py/slpkg
|
||||||
|
@ -15,34 +15,42 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
:target: https://pypi.python.org/pypi/slpkg
|
:target: https://pypi.python.org/pypi/slpkg
|
||||||
|
|
||||||
|
|
||||||
|
Slpkg is a terminal tool in order to easy use Slackware packages.
|
||||||
|
|
||||||
|
|
||||||
.. image:: https://raw.githubusercontent.com/dslackw/slpkg/master/logo/slpkg.png
|
.. image:: https://raw.githubusercontent.com/dslackw/slpkg/master/logo/slpkg.png
|
||||||
:scale: 60%
|
:scale: 60%
|
||||||
:width: 30%
|
:width: 30%
|
||||||
:align: left
|
:align: left
|
||||||
|
|
||||||
Slpkg is a terminal tool in order to easy use Slackware packages.
|
|
||||||
|
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
- Download package with all dependencies,
|
||||||
|
build and install all in a command
|
||||||
- Automatic tool build and install packages
|
- Automatic tool build and install packages
|
||||||
- List all installed packages
|
- List all installed packages
|
||||||
- Τracking dependencies
|
- Τracking dependencies
|
||||||
- Checking for updated packages
|
- Checking for updated packages
|
||||||
- Find and Download packages from SBo repositority
|
- Find and Download packages from SBo repositority
|
||||||
|
- View README file
|
||||||
|
- View SlackBuild file
|
||||||
|
- View Info file
|
||||||
|
- Auto Download and Build packages
|
||||||
- Install binary packages
|
- Install binary packages
|
||||||
- Install-upgrade packages with new
|
- Install-upgrade packages with new
|
||||||
- Reinstall the same packages
|
- Reinstall the same packages
|
||||||
- Remove packages
|
- Remove packages
|
||||||
- Find installed packages
|
- Find installed packages
|
||||||
- Display the contents of the packages
|
- Display the contents of the packages
|
||||||
|
- No dependencies
|
||||||
|
|
||||||
It's a quick and easy way to manage your packages in slackware
|
It's a quick and easy way to manage your packages in slackware
|
||||||
to a command.
|
to a command.
|
||||||
|
|
||||||
|
|
||||||
[CHANGELOG] : https://github.com/dslackw/slpkg/blob/master/CHANGELOG
|
[CHANGELOG] : https://github.com/dslackw/slpkg/blob/master/CHANGELOG
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
@ -73,25 +81,26 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
usage: slpkg [-h] [-v] [-s script [source ...]] [-l all, sbo [all, sbo ...]]
|
usage: slpkg [-h] [-v] [-a script [source ...]] [-l all, sbo [all, sbo ...]]
|
||||||
[-t] [-n] [-c] [-i [...]] [-u [...]] [-a [...]] [-r [...]]
|
[-t] [-n] [-c] [-s] [-i [...]] [-u [...]] [-o [...]]
|
||||||
[-f [...]] [-d [...]]
|
[-r [...]] [-f [...]] [-d [...]]
|
||||||
|
|
||||||
Utility to help package management in Slackware
|
Utility to help package management in Slackware
|
||||||
|
|
||||||
optional arguments:
|
optional arguments:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-v, --verbose print version and exit
|
-v, --verbose print version and exit
|
||||||
-s script [source ...]
|
-a script [source ...]
|
||||||
auto build package
|
auto build package
|
||||||
-l all, sbo [all, sbo ...]
|
-l all, sbo [all, sbo ...]
|
||||||
list of installed packages
|
list of installed packages
|
||||||
-t tracking dependencies
|
-t tracking dependencies
|
||||||
-n find from SBo repositority
|
-n find from SBo repositority
|
||||||
-c check if your package is up to date
|
-c check if your package is up to date
|
||||||
|
-s download, build & install pkg from SBo
|
||||||
-i [ ...] install binary packages
|
-i [ ...] install binary packages
|
||||||
-u [ ...] install-upgrade packages with new
|
-u [ ...] install-upgrade packages with new
|
||||||
-a [ ...] reinstall the same packages
|
-o [ ...] reinstall the same packages
|
||||||
-r [ ...] remove packages
|
-r [ ...] remove packages
|
||||||
-f [ ...] find if packages installed
|
-f [ ...] find if packages installed
|
||||||
-d [ ...] display the contents of the packages
|
-d [ ...] display the contents of the packages
|
||||||
|
@ -101,8 +110,47 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
Slpkg Examples
|
Slpkg Examples
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
Find package from slackbuilds.org download,
|
||||||
|
build and install with all dependencies :
|
||||||
|
|
||||||
Tracking all dependencies of that package:
|
.. 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 ....
|
||||||
|
|
||||||
|
|
||||||
|
+==============================================================================
|
||||||
|
| 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.
|
||||||
|
|
||||||
|
The package `orc` was installed
|
||||||
|
The package `gstreamer1` was installed
|
||||||
|
The package `gst1-plugins-base` was installed
|
||||||
|
The package `gst1-plugins-bad` was installed
|
||||||
|
The package `libunique` was installed
|
||||||
|
The package `brasero` was installed
|
||||||
|
|
||||||
|
Tracking all dependencies of packages:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
|
@ -123,26 +171,13 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$ slpkg -t pylint
|
|
||||||
|
|
||||||
+========================
|
|
||||||
| pylint dependencies :
|
|
||||||
+========================
|
|
||||||
|
|
|
||||||
|
|
|
||||||
-- 2 pysetuptools logilab-common
|
|
||||||
|
|
|
||||||
-- 1 astroid
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Check if your packages is up to date (www.slackbuilds.org):
|
Check if your packages is up to date (www.slackbuilds.org):
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
|
|
||||||
$ slpkg -c flashplayer-plugin
|
$ slpkg -c flashplayer-plugin
|
||||||
Searching for `flashplayer-plugin` from www.slackbuilds.org > Please wait ...
|
Searching `flashplayer-plugin` from slackbuilds.org ...
|
||||||
|
|
||||||
New version is available !!!
|
New version is available !!!
|
||||||
+==================================================
|
+==================================================
|
||||||
|
@ -151,14 +186,13 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
|
|
||||||
|
|
||||||
$ slpkg -c ranger
|
$ slpkg -c ranger
|
||||||
Searching for `ranger` from www.slackbuilds.org > Please wait ...
|
Searching `ranger` from slackbuilds.org ...
|
||||||
|
|
||||||
Your package is up to date
|
Your package is up to date
|
||||||
|
|
||||||
|
|
||||||
$ slpkg -c termcolor
|
$ slpkg -c termcolor
|
||||||
|
|
||||||
|
|
||||||
The package `termcolor` not found on your system
|
The package `termcolor` not found on your system
|
||||||
|
|
||||||
|
|
||||||
|
@ -167,59 +201,30 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
|
|
||||||
This find the slackbuild , source, extra downloads and package requirements !!!
|
|
||||||
|
|
||||||
$ slpkg -n brasero
|
|
||||||
Searching for `brasero` from www.slackbuilds.org > Please wait ...
|
|
||||||
|
|
||||||
+=================================================================================
|
|
||||||
| The `brasero` found in --> http://slackbuilds.org/repository/14.1/system/brasero/
|
|
||||||
+=================================================================================
|
|
||||||
|
|
||||||
Download SlackBuild : http://slackbuilds.org/slackbuilds/14.1/system/brasero.tar.gz
|
|
||||||
Source Downloads : https://download.gnome.org/sources/brasero/3.11/brasero-3.11.3.tar.xz
|
|
||||||
Extra Downloads :
|
|
||||||
Package requirements : libunique gst1-plugins-bad
|
|
||||||
|
|
||||||
Download this package [y/n]
|
|
||||||
|
|
||||||
|
|
||||||
And try again:
|
|
||||||
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
$ slpkg -n bitfighter
|
$ slpkg -n bitfighter
|
||||||
Searching for `bitfighter` from www.slackbuilds.org > Please wait ...
|
Searching `bitfighter` from slackbuilds.org ...
|
||||||
|
|
||||||
+======================================================================================
|
|
||||||
| The `bitfighter` found in --> http://slackbuilds.org/repository/14.1/games/bitfighter/
|
|
||||||
+======================================================================================
|
|
||||||
|
|
||||||
Download SlackBuild : http://slackbuilds.org/slackbuilds/14.1/games/bitfighter.tar.gz
|
|
||||||
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
|
|
||||||
|
|
||||||
Download this package [y/n]
|
|
||||||
|
|
||||||
|
|
||||||
|
+=======================================================================================
|
||||||
|
| The `bitfighter` found in -->
|
||||||
|
http://slackbuilds.org/repository/14.1/games/bitfighter/
|
||||||
|
|
||||||
$ slpkg -n termcolor
|
+=======================================================================================
|
||||||
Searching for `termcolor` from www.slackbuilds.org > Please wait ...
|
| Download SlackBuild :
|
||||||
|
http://slackbuilds.org/slackbuilds/14.1/games/bitfighter.tar.gz
|
||||||
+======================================================================================
|
| Source Downloads : http://bitfighter.org/files/bitfighter-019c.tar.gz
|
||||||
| The `termcolor` found in --> http://slackbuilds.org/repository/14.1/python/termcolor/
|
| Extra Downloads :
|
||||||
+======================================================================================
|
https://bitfighter.googlecode.com/files/classic_level_pack.zip
|
||||||
|
| Package requirements : OpenAL SDL2 speex libmodplug
|
||||||
Download SlackBuild : http://slackbuilds.org/slackbuilds/14.1/python/termcolor.tar.gz
|
|
||||||
Source Downloads : https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz
|
|
||||||
Extra Downloads :
|
|
||||||
Package requirements :
|
|
||||||
|
|
||||||
Download this package [y/n]
|
|
||||||
|
|
||||||
|
+=======================================================================================
|
||||||
|
README View the README file
|
||||||
|
SlackBuild View the SlackBuild file
|
||||||
|
Info View the Info file
|
||||||
|
Download Download this package
|
||||||
|
Build Download and build this package
|
||||||
|
|
||||||
|
_
|
||||||
|
|
||||||
|
|
||||||
Auto build tool to build package:
|
Auto build tool to build package:
|
||||||
|
@ -231,7 +236,7 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
|
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
|
||||||
must be in the same directory.
|
must be in the same directory.
|
||||||
|
|
||||||
$ slpkg -s termcolor.tar.gz termcolor-1.1.0.tar.gz
|
$ slpkg -a termcolor.tar.gz termcolor-1.1.0.tar.gz
|
||||||
|
|
||||||
termcolor/
|
termcolor/
|
||||||
termcolor/slack-desc
|
termcolor/slack-desc
|
||||||
|
@ -256,10 +261,13 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
creating /tmp/SBo/package-termcolor/usr/lib64
|
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
|
||||||
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
|
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
|
copying build/lib/termcolor.py ->
|
||||||
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
|
||||||
|
byte-compiling
|
||||||
|
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor.py to termcolor.pyc
|
||||||
running install_egg_info
|
running install_egg_info
|
||||||
Writing /tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.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.
|
||||||
|
|
||||||
|
@ -307,9 +315,11 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
|
|
||||||
$ 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.
|
Verifying package termcolor-1.1.0-x86_64-1_SBo.tgz.
|
||||||
Installing package termcolor-1.1.0-x86_64-1_SBo.tgz:
|
Installing package termcolor-1.1.0-x86_64-1_SBo.tgz:
|
||||||
|
@ -414,17 +424,23 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
--> Deleting /usr/doc/termcolor-1.1.0/PKG-INFO
|
--> 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/README.rst
|
||||||
--> Deleting /usr/doc/termcolor-1.1.0/termcolor.SlackBuild
|
--> 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-1.1.0-py2.7.egg-info
|
||||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
|
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
|
||||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.pyc
|
--> 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
|
/usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
|
||||||
|
--> 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 /usr/lib64/python3.3/site-packages/termcolor.py
|
||||||
--> Deleting empty directory /usr/lib64/python3.3/site-packages/__pycache__/
|
--> Deleting empty directory
|
||||||
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new files
|
/usr/lib64/python3.3/site-packages/__pycache__/
|
||||||
|
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new
|
||||||
|
files
|
||||||
WARNING: Unique directory /usr/lib64/python3.3/ contains new files
|
WARNING: Unique directory /usr/lib64/python3.3/ contains new files
|
||||||
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
|
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
|
||||||
Done ...
|
|
||||||
|
The package `termcolor` removed
|
||||||
|
|
||||||
|
|
||||||
$ slpkg -f termcolor lua rar
|
$ slpkg -f termcolor lua rar
|
||||||
|
@ -444,13 +460,16 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ man slpkg
|
$ man slpkg
|
||||||
Keywords: slackware,build,upgrade,install,remove,find,slackpkg,terminal
|
|
||||||
Classifier: Development Status :: 3 - Alpha
|
Classifier: Development Status :: 3 - Alpha
|
||||||
Classifier: Environment :: Console
|
Classifier: Environment :: Console
|
||||||
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
||||||
|
Classifier: Operating System :: POSIX
|
||||||
Classifier: Operating System :: POSIX :: Linux
|
Classifier: Operating System :: POSIX :: Linux
|
||||||
Classifier: Operating System :: Unix
|
Classifier: Operating System :: Unix
|
||||||
|
Classifier: Programming Language :: Python
|
||||||
Classifier: Programming Language :: Python :: 2.7
|
Classifier: Programming Language :: Python :: 2.7
|
||||||
Classifier: Topic :: System
|
Classifier: Programming Language :: Unix Shell
|
||||||
Classifier: Topic :: System :: Operating System
|
Classifier: Topic :: System :: Installation/Setup
|
||||||
Classifier: Topic :: Utilities
|
Classifier: Topic :: Utilities
|
||||||
|
|
||||||
|
|
||||||
|
|
12
bin/slpkg
12
bin/slpkg
|
@ -51,7 +51,7 @@ import subprocess
|
||||||
|
|
||||||
|
|
||||||
__author__ = "dslackw"
|
__author__ = "dslackw"
|
||||||
__version__ = "1.4.5"
|
__version__ = "1.4.6"
|
||||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||||
__email__ = "d.zlatanidis@gmail.com"
|
__email__ = "d.zlatanidis@gmail.com"
|
||||||
|
|
||||||
|
@ -61,8 +61,8 @@ uname = os.uname()
|
||||||
arch = (uname[4])
|
arch = (uname[4])
|
||||||
|
|
||||||
|
|
||||||
# SBo fietype packages
|
# SBo fietype binary packages for install
|
||||||
SBo_arch = "-" + arch + "-"
|
SBo_arch = "*"
|
||||||
SBo_tag = "?_SBo"
|
SBo_tag = "?_SBo"
|
||||||
SBo_filetype = ".tgz"
|
SBo_filetype = ".tgz"
|
||||||
|
|
||||||
|
@ -758,8 +758,8 @@ def SBo_build(name):
|
||||||
source = files[1]
|
source = files[1]
|
||||||
build_package(script, source)
|
build_package(script, source)
|
||||||
|
|
||||||
install_pkg = tmp + pkg_for_install[i] + SBo_arch + SBo_tag + SBo_filetype
|
install_pkg = tmp + pkg_for_install[i] + SBo_arch + SBo_tag + SBo_filetype
|
||||||
os.system("upgradepkg --install-new {}".format(install_pkg))
|
os.system("upgradepkg --install-new {}".format(install_pkg))
|
||||||
|
|
||||||
for j in range(0, 2):
|
for j in range(0, 2):
|
||||||
files.pop(0)
|
files.pop(0)
|
||||||
|
@ -807,7 +807,7 @@ def pkg_reinstall(name):
|
||||||
# uninstall package
|
# uninstall package
|
||||||
def pkg_remove(name):
|
def pkg_remove(name):
|
||||||
s_user(getpass.getuser())
|
s_user(getpass.getuser())
|
||||||
print ("{}!!! WARNING !!!{}".format(colors.YELLOW, colors.ENDC))
|
print ("{}!!! WARNING !!!{}".format(colors.RED, colors.ENDC))
|
||||||
remove_pkg = raw_input("Are you sure to remove this package(s) [y/n] ")
|
remove_pkg = raw_input("Are you sure to remove this package(s) [y/n] ")
|
||||||
print
|
print
|
||||||
if remove_pkg == "y" or remove_pkg == "Y":
|
if remove_pkg == "y" or remove_pkg == "Y":
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ from distutils.core import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name = 'slpkg',
|
name = 'slpkg',
|
||||||
version = "1.4.5",
|
version = "1.4.6",
|
||||||
description = "Python tool to manage Slackware packages",
|
description = "Python tool to manage Slackware packages",
|
||||||
keywords = ["slackware", "slpkg", "upgrade", "install", "remove",
|
keywords = ["slackware", "slpkg", "upgrade", "install", "remove",
|
||||||
"view", "slackpkg", "tool"],
|
"view", "slackpkg", "tool"],
|
||||||
|
|
Loading…
Reference in a new issue