mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
updated for version 2.0.9
This commit is contained in:
parent
624059f662
commit
9a37623689
9 changed files with 36 additions and 19 deletions
|
@ -1,3 +1,10 @@
|
|||
Version 2.0.9
|
||||
26-11-2014
|
||||
|
||||
[Updated] - Fix setup.py to install configuration files after checksum.
|
||||
- Fix view slpkg config file.
|
||||
|
||||
|
||||
Version 2.0.8
|
||||
25-11-2014
|
||||
|
||||
|
|
10
INSTALL
10
INSTALL
|
@ -11,15 +11,17 @@ slpkg works on Slackware distribution.
|
|||
Install slpkg
|
||||
-------------
|
||||
|
||||
There are mainly 3 ways:
|
||||
There are mainly 4 ways:
|
||||
|
||||
1) Download latest slpkg version from https://github.com/dslackw/slpkg/releases
|
||||
1) Using pip: pip install slpkg --upgrade
|
||||
|
||||
2) Download latest slpkg version from https://github.com/dslackw/slpkg/releases
|
||||
Untar or unzip the archive, cd in slpkg-?.?.? directory.
|
||||
Run install.sh in this directory `./install.sh` and slpkg auto-installed.
|
||||
|
||||
2) Download slpkg package from slackbuilds.org.
|
||||
3) Download slpkg package from slackbuilds.org.
|
||||
|
||||
3) Download binary package from sourceforge:
|
||||
4) Download binary package from sourceforge:
|
||||
|
||||
https://sourceforge.net/projects/slpkg/
|
||||
|
||||
|
|
2
PKG-INFO
2
PKG-INFO
|
@ -1,6 +1,6 @@
|
|||
Metadata-Version: 1.1
|
||||
Name: slpkg
|
||||
Version: 2.0.8
|
||||
Version: 2.0.9
|
||||
Author: dslackw
|
||||
Author-email: d zlatanidis at gmail com
|
||||
Maintainer: dslackw
|
||||
|
|
19
README.rst
19
README.rst
|
@ -11,9 +11,9 @@
|
|||
|
||||
Latest Release:
|
||||
|
||||
- Version: 2.0.8
|
||||
- Version: 2.0.9
|
||||
- `Package <https://sourceforge.net/projects/slpkg/files/slpkg/binary/>`_
|
||||
- `Source <https://github.com/dslackw/slpkg/archive/v2.0.8.tar.gz>`_
|
||||
- `Source <https://github.com/dslackw/slpkg/archive/v2.0.9.tar.gz>`_
|
||||
- `CHANGELOG <https://github.com/dslackw/slpkg/blob/master/CHANGELOG>`_
|
||||
|
||||
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/logo.png
|
||||
|
@ -112,14 +112,21 @@ Untar the archive and run install.sh script:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
$ tar xvf slpkg-2.0.8.tar.gz
|
||||
$ cd slpkg-2.0.8
|
||||
$ tar xvf slpkg-2.0.9.tar.gz
|
||||
$ cd slpkg-2.0.9
|
||||
$ ./install.sh
|
||||
|
||||
From SourceForge:
|
||||
|
||||
Download binary package from `SourceForge <https://sourceforge.net/projects/slpkg/>`_
|
||||
|
||||
Using pip:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip install slpkg --upgrade
|
||||
|
||||
|
||||
Upgrade
|
||||
-------
|
||||
|
||||
|
@ -145,7 +152,7 @@ Configuration files
|
|||
Slackware Current
|
||||
-----------------
|
||||
|
||||
For Slackware 'current' users must change the variable VERSION in /etc/slpkg.conf file.
|
||||
For Slackware 'current' users must change the variable VERSION in '/etc/slpkg.conf' file.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
@ -157,7 +164,7 @@ Slackware Mirrors
|
|||
|
||||
Slpkg uses the central mirror "http://mirrors.slackware.com/slackware/"
|
||||
to find the nearest one. If however for some reason this troublesome
|
||||
please edit the file in /etc/slpkg/slackware-mirrors
|
||||
please edit the file in '/etc/slpkg/slackware-mirrors'.
|
||||
|
||||
Command Line Tool Usage
|
||||
-----------------------
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=slpkg
|
||||
VERSION=${VERSION:-2.0.8}
|
||||
VERSION=${VERSION:-2.0.9}
|
||||
TAG=${TAG:-_dsw}
|
||||
|
||||
# Installation script.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=slpkg
|
||||
VERSION=${VERSION:-2.0.8}
|
||||
VERSION=${VERSION:-2.0.9}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_dsw}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import os
|
|||
|
||||
__all__ = "slpkg"
|
||||
__author__ = "dslackw"
|
||||
__version_info__ = (2, 0, 8)
|
||||
__version_info__ = (2, 0, 9)
|
||||
__version__ = "{0}.{1}.{2}".format(*__version_info__)
|
||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||
__email__ = "d.zlatanidis@gmail.com"
|
||||
|
|
|
@ -46,7 +46,9 @@ class Config(object):
|
|||
'DEL_BUILD',
|
||||
'SBO_BUILD_LOG',
|
||||
'DEFAULT_ANSWER',
|
||||
'REMOVE_DEPS_ANSWER'
|
||||
'REMOVE_DEPS_ANSWER',
|
||||
'DEL_DEPS',
|
||||
'USE_COLORS'
|
||||
]
|
||||
f = open(self.config_file, "r")
|
||||
read_conf = f.read()
|
||||
|
|
|
@ -75,8 +75,8 @@ class PkgDesc(object):
|
|||
if self.repo != "sbo":
|
||||
for line in PACKAGES_TXT.splitlines():
|
||||
if line.startswith(self.name + ":"):
|
||||
print(
|
||||
self.COLOR + line[len(self.name) + 1:] + color['ENDC'])
|
||||
print(self.COLOR + line[len(self.name) + 1:] +
|
||||
color['ENDC'])
|
||||
count += 1
|
||||
if count == 11:
|
||||
break
|
||||
|
@ -85,8 +85,7 @@ class PkgDesc(object):
|
|||
if (line.startswith("SLACKBUILD SHORT DESCRIPTION: "
|
||||
+ self.name + " (")):
|
||||
count += 1
|
||||
print(
|
||||
self.COLOR + line[31:] + color['ENDC'])
|
||||
print(self.COLOR + line[31:] + color['ENDC'])
|
||||
if count == 0:
|
||||
pkg_not_found("", self.name, "No matching", "\n")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue