mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Updated for version 4.0.2
This commit is contained in:
parent
1531b7d6dc
commit
3e4dea0966
10 changed files with 12 additions and 38 deletions
|
@ -1,3 +1,8 @@
|
|||
4.0.2 - 30/05/2022
|
||||
Removed:
|
||||
- Repositories rlw, mles, ktown, rested, slacke, slacky
|
||||
- Option --directory-prefix
|
||||
|
||||
4.0.1 - 30/05/2022
|
||||
Added:
|
||||
- SQLAlchemy Object Relational Mapper
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
***********
|
||||
slpkg 4.0.1
|
||||
slpkg 4.0.2
|
||||
***********
|
||||
|
||||
Slpkg is a powerful software package manager that installs, updates, and removes packages on
|
||||
|
@ -35,9 +35,9 @@ Install from the official third party `SBo repository <https://slackbuilds.org/r
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
$ wget slpkg-4.0.1.tar.gz
|
||||
$ tar xvf slpkg-4.0.1.tar.gz
|
||||
$ cd slpkg-4.0.1
|
||||
$ wget slpkg-4.0.2.tar.gz
|
||||
$ tar xvf slpkg-4.0.2.tar.gz
|
||||
$ cd slpkg-4.0.2
|
||||
$ ./install.sh
|
||||
|
||||
|
||||
|
|
|
@ -206,8 +206,6 @@ Additional options:
|
|||
.PP
|
||||
\fB--download-only\fP : Download packages without install.
|
||||
.PP
|
||||
\fB--directory-prefix=[path/to/dir/]\fP : Download packages in specific directory.
|
||||
.PP
|
||||
\fB--case-ins\fP : Search package name in repository with case insensitive.
|
||||
.PP
|
||||
\fB--patches\fP : Switch to patches\ directory, only for slack repository.
|
||||
|
|
|
@ -379,10 +379,6 @@ options:</p>
|
|||
: Download packages without install.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>--directory-prefix=[path/to/dir/]</b>
|
||||
: Download packages in specific directory.</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>--case-ins</b>
|
||||
: Search package name in repository with case
|
||||
insensitive.</p>
|
||||
|
|
|
@ -77,7 +77,7 @@ class MetaData:
|
|||
|
||||
__all__ = "slpkg"
|
||||
__author__ = "dslackw"
|
||||
__version_info__ = (4, 0, 1)
|
||||
__version_info__ = (4, 0, 2)
|
||||
__version__ = "{0}.{1}.{2}".format(*__version_info__)
|
||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||
__email__ = "d.zlatanidis@gmail.com"
|
||||
|
|
|
@ -119,7 +119,6 @@ Optional arguments:
|
|||
-s | --sync, [repository] [package...], Sync packages. Install packages
|
||||
--rebuild, --reinstall, directly from remote repositories
|
||||
--resolve-off, --download-only, with all dependencies.
|
||||
--directory-prefix=[dir],
|
||||
--case-ins, --patches
|
||||
|
||||
-t | --tracking, [repository] [package], Tracking package dependencies and
|
||||
|
@ -201,7 +200,6 @@ def usage(repo, stderr):
|
|||
--resolve-off, --checklist]
|
||||
[-s [repository] [package...], --rebuild, --reinstall,
|
||||
--resolve-off, --download-only,
|
||||
--directory-prefix=[dir],
|
||||
--case-ins, --patches]
|
||||
[-t [repository] [package], --check-deps, --graph=[type],
|
||||
--case-ins]
|
||||
|
|
|
@ -67,7 +67,6 @@ class BinaryInstall(Utils):
|
|||
self.msg = Msg()
|
||||
self.version = self.meta.slack_rel
|
||||
self.tmp_path = self.meta.slpkg_tmp_packages
|
||||
self.init_flags()
|
||||
self.dwn, self.dep_dwn = [], []
|
||||
self.install, self.dep_install = [], []
|
||||
self.comp_sum, self.dep_comp_sum = [], []
|
||||
|
@ -86,17 +85,6 @@ class BinaryInstall(Utils):
|
|||
self.blacklist = BlackList().get()
|
||||
self.matching = False
|
||||
|
||||
def init_flags(self):
|
||||
"""Flags initiliazation
|
||||
"""
|
||||
for fl in self.flag:
|
||||
|
||||
if fl.startswith("--directory-prefix="):
|
||||
self.tmp_path = fl.split("=")[1]
|
||||
|
||||
if not self.tmp_path.endswith("/"):
|
||||
self.tmp_path += "/"
|
||||
|
||||
def start(self, is_upgrade):
|
||||
"""Installs packages from official Slackware distribution
|
||||
"""
|
||||
|
|
|
@ -438,7 +438,6 @@ class ArgParse:
|
|||
additional_options = [
|
||||
"--resolve-off",
|
||||
"--download-only",
|
||||
"--directory-prefix=",
|
||||
"--case-ins",
|
||||
"--rebuild",
|
||||
"--reinstall",
|
||||
|
|
|
@ -27,6 +27,8 @@ from slpkg.blacklist import BlackList
|
|||
|
||||
|
||||
class Requires:
|
||||
"""Creates a list of dependencies with
|
||||
the right order to install"""
|
||||
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
|
|
|
@ -65,7 +65,6 @@ class SBoInstall(Utils):
|
|||
self.arch = SBoArch().get()
|
||||
self.build_folder = self.meta.build_path
|
||||
self._SOURCES = self.meta.SBo_SOURCES
|
||||
self.init_flags()
|
||||
self.unst = ["UNSUPPORTED", "UNTESTED"]
|
||||
self.master_packages = []
|
||||
self.deps = []
|
||||
|
@ -82,17 +81,6 @@ class SBoInstall(Utils):
|
|||
self.data = SboQuery(name="").names()
|
||||
self.blacklist = BlackList().get()
|
||||
|
||||
def init_flags(self):
|
||||
"""Flags initialization
|
||||
"""
|
||||
for fl in self.flag:
|
||||
|
||||
if fl.startswith("--directory-prefix="):
|
||||
self.build_folder = fl.split("=")[1]
|
||||
|
||||
if not self.build_folder.endswith("/"):
|
||||
self.build_folder += "/"
|
||||
|
||||
def start(self, is_upgrade):
|
||||
"""Start view, build and install SBo packages
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue