updated for version 1.9.4

This commit is contained in:
Dimitris Zlatanidis 2014-10-01 20:37:51 +03:00
parent e128c668ba
commit ab937e6d34
9 changed files with 74 additions and 65 deletions

View file

@ -1,3 +1,11 @@
Version 1.9.4
01-10-2014
[Feature] - Added support install packages from Slackware current (version)
repository.
Added support upgrade current version. (Upgrade all Slackware current tree)
[Updated] - Fix arguments.
Version 1.9.3 Version 1.9.3
29-09-2014 29-09-2014

View file

@ -5,10 +5,8 @@ Installation
Python & OS Support Python & OS Support
------------------- -------------------
slpkg works with Python versions 2.7.5+ slpkg works with Python versions 2.7.5+ (Python 3 not supported yet)
slpkg works on Slackware stable distribution. slpkg works on Slackware distribution.
Slackware current not support yet.
Install slpkg Install slpkg
------------- -------------

View file

@ -1,6 +1,6 @@
Metadata-Version: 1.1 Metadata-Version: 1.1
Name: slpkg Name: slpkg
Version: 1.9.3 Version: 1.9.4
Author: dslackw Author: dslackw
Author-email: d zlatanidis at gmail com Author-email: d zlatanidis at gmail com
Maintainer: dslackw Maintainer: dslackw

View file

@ -7,9 +7,9 @@
Latest Release: Latest Release:
- Version: 1.9.3 - Version: 1.9.4
- `Package <https://sourceforge.net/projects/slpkg/files/slpkg/binary/>`_ - `Package <https://sourceforge.net/projects/slpkg/files/slpkg/binary/>`_
- `Source <https://github.com/dslackw/slpkg/archive/v1.9.3.tar.gz>`_ - `Source <https://github.com/dslackw/slpkg/archive/v1.9.4.tar.gz>`_
- `CHANGELOG <https://github.com/dslackw/slpkg/blob/master/CHANGELOG>`_ - `CHANGELOG <https://github.com/dslackw/slpkg/blob/master/CHANGELOG>`_
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/logo.png .. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/logo.png
@ -98,15 +98,15 @@ Untar the archive and run install.sh script:
.. code-block:: bash .. code-block:: bash
$ tar xvf slpkg-1.9.3.tar.gz $ tar xvf slpkg-1.9.4.tar.gz
$ cd slpkg-1.9.3 $ cd slpkg-1.9.4
$ ./install.sh $ ./install.sh
Using `pip <https://pip.pypa.io/en/latest/>`_ : Using `pip <https://pip.pypa.io/en/latest/>`_ :
.. code-block:: bash .. code-block:: bash
$ pip install slpkg $ pip install --upgrade slpkg
uninstall: uninstall:
@ -124,32 +124,32 @@ Command Line Tool Usage
Utility for easy management packages in Slackware Utility for easy management packages in Slackware
Optional arguments: Optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
-v, --version print version and exit -v, --version print version and exit
-a, script [source...] auto build packages -a, script [source...] auto build packages
-l, all, sbo, slack, noarch list of installed packages -l, all, sbo, slack, noarch list of installed packages
-c, <repository> --upgrade check if your packages is up to date -c, <repository> --upgrade --current check if your packages is up to date
-s, <repository> <package> download, build & install packages -s, <repository> <package> --current download, build & install packages
-f, <package> find installed packages -f, <package> find installed packages
-t, <package> packages tracking dependencies from SBo -t, <package> packages tracking dependencies from SBo
-n, <package> view packages from SBo repository -n, <package> view packages from SBo repository
-b, --list blacklisted packages -b, --list blacklisted packages
-b [package...] --add --remove add, remove packages in blacklist -b [package...] --add --remove add, remove packages in blacklist
-i, [package...] install binary packages -i, [package...] install binary packages
-u, [package...] upgrade binary packages -u, [package...] upgrade binary packages
-o, [package...] reinstall binary packages -o, [package...] reinstall binary packages
-r, [package...] remove binary packages -r, [package...] remove binary packages
-d, [package...] display the contents of the packages -d, [package...] display the contents of the packages
Repositories: Repositories:
SlackBuilds = sbo SlackBuilds = sbo
Slackware = slack Slackware = slack '--current'
Slpkg Examples Slpkg Examples
-------------- --------------
Find package from slackbuilds.org download, Find packages from slackbuilds.org download,
build and install with all dependencies : build and install with all dependencies :
.. code-block:: bash .. code-block:: bash
@ -202,11 +202,11 @@ build and install with all dependencies :
Find packages from `Slackware official mirrors <http://mirrors.slackware.com/>`_ Find packages from `Slackware official mirrors <http://mirrors.slackware.com/>`_
download and install: download and install (use '--current' to switch in current repository):
.. code-block:: bash .. code-block:: bash
$ slpkg -s slack mozilla $ slpkg -s slack mozilla (add '--current' to switch in current version)
Packages with name matching [ mozilla ] Packages with name matching [ mozilla ]
Reading package lists ..............................Done Reading package lists ..............................Done
@ -281,11 +281,11 @@ Check if your packages is up to date from slackbuilds.org:
Would you like to upgrade [Y/n]? Would you like to upgrade [Y/n]?
Check if your distribution is up to date from `Slackware official mirrors Check if your distribution is up to date from `Slackware official mirrors
<http://mirrors.slackware.com/>`_ <http://mirrors.slackware.com/>`_ (use '--current' to switch in current repository):
.. code-block:: bash .. code-block:: bash
$ slpkg -c slack --upgrade $ slpkg -c slack --upgrade (add '--current' to switch in current version)
Reading package lists .......Done Reading package lists .......Done
These packages need upgrading: These packages need upgrading:
@ -329,7 +329,7 @@ Find packages from slackbuilds.org:
Install Download/Build/Install Install Download/Build/Install
Quit Quit Quit Quit
> _ Choose an option: _
Auto tool to build package: Auto tool to build package:
@ -580,12 +580,12 @@ Remove packages with all dependencies:
+============================================================================== +==============================================================================
Using the blacklist file manually from /etc/slpkg/blacklist or Add packages in blacklist file manually from
with the following options: /etc/slpkg/blacklist or with the following options:
.. code-block:: bash .. code-block:: bash
$ slpkg -b live554 speex faac --add $ slpkg -b live555 speex faac --add
Add packages in blacklist: Add packages in blacklist:

View file

@ -21,7 +21,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slpkg PRGNAM=slpkg
VERSION=${VERSION:-1.9.3} VERSION=${VERSION:-1.9.4}
TAG=${TAG:-_dsw} TAG=${TAG:-_dsw}
cd .. cd ..

View file

@ -17,8 +17,8 @@ slpkg - Utility for easy management packages in Slackware
.SH SYNOPSIS .SH SYNOPSIS
\fBUsage: slpkg [-h] [-v] [-a script [sources...]] \fBUsage: slpkg [-h] [-v] [-a script [sources...]]
[-l all, sbo, slack, noarch] [-l all, sbo, slack, noarch]
[-c <repository> --upgrade] [-c <repository> --upgrade --current]
[-s <repository> <package>] [-s <repository> <package> --current]
[-f] [-t] [-n] [-i [...]] [-f] [-t] [-n] [-i [...]]
[-u [...]] [-o [...]] [-r [...]] [-d [...]]\fp [-u [...]] [-o [...]] [-r [...]] [-d [...]]\fp
@ -30,26 +30,26 @@ It's a quick and easy way to manage your packages in slackware to a command.
\fBUtility for easy management packages in Slackware \fBUtility for easy management packages in Slackware
Optional arguments: Optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
-v, --version print version and exit -v, --version print version and exit
-a, script [source...] auto build packages -a, script [source...] auto build packages
-l, all, sbo, slack, noarch list of installed packages -l, all, sbo, slack, noarch list of installed packages
-c, <repository> --upgrade check if your packages is up to date -c, <repository> --upgrade --current check if your packages is up to date
-s, <repository> <package> download, build & install packages -s, <repository> <package> --current download, build & install packages
-f, <package> find installed packages -f, <package> find installed packages
-t, <package> packages tracking dependencies from SBo -t, <package> packages tracking dependencies from SBo
-n, <package> view packages from SBo repository -n, <package> view packages from SBo repository
-b, --list blacklisted packages -b, --list blacklisted packages
-b [package...] --add --remove add, remove packages in blacklist -b [package...] --add --remove add, remove packages in blacklist
-i, [package...] install binary packages -i, [package...] install binary packages
-u, [package...] upgrade binary packages -u, [package...] upgrade binary packages
-o, [package...] reinstall binary packages -o, [package...] reinstall binary packages
-r, [package...] remove binary packages -r, [package...] remove binary packages
-d, [package...] display the contents of the packages -d, [package...] display the contents of the packages
Repositories: Repositories:
SlackBuilds = sbo SlackBuilds = sbo
Slackware = slack\fP Slackware = slack '--current'\fP
.SH GLOBAL OPTIONS .SH GLOBAL OPTIONS
.TP .TP
@ -68,16 +68,16 @@ With this argument, build slackware package from source quickly and easy.
Four display options list, sbo, slack, noarch and all packages Four display options list, sbo, slack, noarch and all packages
items that are installed on the system. items that are installed on the system.
.SS -c , <repository> check if your packages is up to date .SS -c , <repository> check if your packages is up to date
\fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fI--upgrade\fP \fBslpkg\fP \fB-c\fP <\fIrepository\fP> \fI--upgrade\fP \fI--current\fP
.PP .PP
Check your packages from Slackware official mirrors or from Check your packages from Slackware official mirrors or from
slackbuilds.org is up to date. slackbuilds.org is up to date. Use '--current' to switch in current repository.
.SS -s , <repository> download, build and install package with all dependencies .SS -s , <repository> download, build and install package with all dependencies
\fBslpkg\fP \fB-s\fP <\fIrepository\fP> <\fIname of package\fP> \fBslpkg\fP \fB-s\fP <\fIrepository\fP> <\fIname of package\fP> \fI--current\fP
.PP .PP
Installs or upgrade packages from the repository slackbuilds.org automatically resolving all Installs or upgrade packages from the repository slackbuilds.org automatically resolving all
dependencies of the package. Also installs the official distribution Slackware dependencies of the package. Also installs the official distribution Slackware
packages. packages. Use '--current' to install packages from Slackware current repository.
.SS -f find packages .SS -f find packages
\fBslpkg\fP \fB-f\fP <\fIname of packages\fP> \fBslpkg\fP \fB-f\fP <\fIname of packages\fP>
.PP .PP

View file

@ -2,5 +2,8 @@
# GNU wget # GNU wget
# Slackware 32 x86 # Slackware 32 x86
# Slackware 64 x86_64 # Slackware 64 x86_64
# Slackware current (not supported yet) # Slackware current
#
# NOTE from SlackBuilds.org FAQ(15):
# Slackware -current is not supported, but as a general rule, the scripts
# should work on it as well.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slpkg PRGNAM=slpkg
VERSION=${VERSION:-1.9.3} VERSION=${VERSION:-1.9.4}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_dsw} TAG=${TAG:-_dsw}

View file

@ -1,7 +1,7 @@
PRGNAM="slpkg" PRGNAM="slpkg"
VERSION="1.9.3" VERSION="1.9.4"
HOMEPAGE="https://github.com/dslackw/slpkg" HOMEPAGE="https://github.com/dslackw/slpkg"
DOWNLOAD="https://github.com/dslackw/slpkg/archive/v1.9.3.tar.gz" DOWNLOAD="https://github.com/dslackw/slpkg/archive/v1.9.4.tar.gz"
MD5SUM="" MD5SUM=""
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""