mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
updated for version 2.1.3
This commit is contained in:
parent
1b800f3e7a
commit
9e4c0a0ac9
7 changed files with 25 additions and 15 deletions
10
CHANGELOG
10
CHANGELOG
|
@ -1,11 +1,17 @@
|
|||
Version 2.1.3
|
||||
06-12-2014
|
||||
|
||||
[Updated] - Fix 'IndexError: tuple index out of range' when sbo upgrade.
|
||||
|
||||
|
||||
Version 2.1.2
|
||||
xx-12-2014
|
||||
04-12-2014
|
||||
|
||||
[Feature] - Added checksum all repositories.
|
||||
|
||||
[Updated] - Fix downloads modules.
|
||||
|
||||
Version 2.1.1-dev
|
||||
Version 2.1.1
|
||||
01-12-2014
|
||||
|
||||
[Feature] - Added options in /etc/slpkg/slpkg.conf file to select
|
||||
|
|
2
PKG-INFO
2
PKG-INFO
|
@ -1,6 +1,6 @@
|
|||
Metadata-Version: 1.1
|
||||
Name: slpkg
|
||||
Version: 2.1.2
|
||||
Version: 2.1.3
|
||||
Author: dslackw
|
||||
Author-email: d zlatanidis at gmail com
|
||||
Maintainer: dslackw
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
|
||||
Latest Release:
|
||||
|
||||
- Version: 2.1.2
|
||||
- Version: 2.1.3
|
||||
- `Package <https://sourceforge.net/projects/slpkg/files/slpkg/binary/>`_
|
||||
- `Source <https://github.com/dslackw/slpkg/archive/v2.1.2.tar.gz>`_
|
||||
- `Source <https://github.com/dslackw/slpkg/archive/v2.1.3.tar.gz>`_
|
||||
- `CHANGELOG <https://github.com/dslackw/slpkg/blob/master/CHANGELOG>`_
|
||||
|
||||
.. image:: https://raw.githubusercontent.com/dslackw/images/master/slpkg/logo.png
|
||||
|
@ -118,8 +118,8 @@ Untar the archive and run install.sh script:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
$ tar xvf slpkg-2.1.2.tar.gz
|
||||
$ cd slpkg-2.1.2
|
||||
$ tar xvf slpkg-2.1.3.tar.gz
|
||||
$ cd slpkg-2.1.3
|
||||
$ ./install.sh
|
||||
|
||||
From SourceForge:
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=slpkg
|
||||
VERSION=${VERSION:-2.1.2}
|
||||
VERSION=${VERSION:-2.1.3}
|
||||
TAG=${TAG:-_dsw}
|
||||
|
||||
# Installation script.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=slpkg
|
||||
VERSION=${VERSION:-2.1.2}
|
||||
VERSION=${VERSION:-2.1.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_dsw}
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ import os
|
|||
|
||||
__all__ = "slpkg"
|
||||
__author__ = "dslackw"
|
||||
__version_info__ = (2, 1, 2)
|
||||
__version_info__ = (2, 1, 3)
|
||||
__version__ = "{0}.{1}.{2}".format(*__version_info__)
|
||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||
__email__ = "d.zlatanidis@gmail.com"
|
||||
|
|
|
@ -96,16 +96,19 @@ class Initialization(object):
|
|||
log = log_path + "sbo/"
|
||||
lib = lib_path + "sbo_repo/"
|
||||
lib_file = "SLACKBUILDS.TXT"
|
||||
md5_file = ""
|
||||
log_file = "ChangeLog.txt"
|
||||
if not os.path.exists(log):
|
||||
os.mkdir(log)
|
||||
if not os.path.exists(lib):
|
||||
os.mkdir(lib)
|
||||
packages_txt = "{0}{1}/{2}".format(repo, slack_ver(), lib_file)
|
||||
checksums_md5 = ""
|
||||
changelog_txt = "{0}/{1}/{2}".format(repo, slack_ver(), log_file)
|
||||
self.write(lib, lib_file, packages_txt)
|
||||
self.write(log, log_file, changelog_txt)
|
||||
self.remote(log, log_file, changelog_txt, lib, lib_file, packages_txt)
|
||||
self.remote(log, log_file, changelog_txt, lib, lib_file, packages_txt,
|
||||
md5_file, checksums_md5)
|
||||
|
||||
def rlw(self):
|
||||
'''
|
||||
|
@ -253,13 +256,14 @@ class Initialization(object):
|
|||
for fu in args[5].split():
|
||||
PACKAGES_TXT += URL(fu).reading()
|
||||
CHANGELOG_TXT = URL(args[2]).reading()
|
||||
CHECKSUMS_md5 = URL(args[7]).reading()
|
||||
if args[6]:
|
||||
CHECKSUMS_md5 = URL(args[7]).reading()
|
||||
with open("{0}{1}".format(args[3], args[6]), "w") as f:
|
||||
f.write(CHECKSUMS_md5)
|
||||
f.close()
|
||||
with open("{0}{1}".format(args[3], args[4]), "w") as f:
|
||||
f.write(PACKAGES_TXT)
|
||||
f.close()
|
||||
with open("{0}{1}".format(args[3], args[6]), "w") as f:
|
||||
f.write(CHECKSUMS_md5)
|
||||
f.close()
|
||||
with open("{0}{1}".format(args[0], args[1]), "w") as f:
|
||||
f.write(CHANGELOG_TXT)
|
||||
f.close()
|
||||
|
|
Loading…
Reference in a new issue