Merge branch 'develop'

This commit is contained in:
Dimitris Zlatanidis 2022-12-02 21:29:21 +02:00
commit 8b9739f888
7 changed files with 18 additions and 10 deletions

View file

@ -1,3 +1,11 @@
4.3.3 - 01/12/2022
Fixed:
- Blacklist file permissions 0644
- Typo in the slpkg.toml config file
- Configuration slpkg.toml file
Updated:
- Os architecture in the configs
4.3.2 - 28/11/2022
Fixed:
- Remove multiple packages with dependencies

View file

@ -30,8 +30,8 @@ Install from the official third-party `SBo repository <https://slackbuilds.org/r
.. code-block:: bash
$ tar xvf slpkg-4.3.2.tar.gz
$ cd slpkg-4.3.2
$ tar xvf slpkg-4.3.3.tar.gz
$ cd slpkg-4.3.3
$ ./install.sh

View file

@ -1,6 +1,6 @@
[configs]
# OS architecture by default.
os_archi = "x86_64"
os_arch = "x86_64"
# Tmp path for slpkg.
tmp_slpkg = "/tmp/slpkg"
@ -12,7 +12,7 @@
download_only = "/tmp/slpkg"
# The path that the SLACKBUILDS.TXT file downloaded.
sbo_repo_pathi = "/var/lib/slpkg/repository"
sbo_repo_path = "/var/lib/slpkg/repository"
# The name of the database. Default name is 'database.slpkg'.
database = "database.slpkg"
@ -42,8 +42,8 @@
# Slackware command to remove packages.
removepkg = "removepkg"
# Cli menu colors configs. Default is off. [on/off]
colors = "off"
# Cli menu colors configs. Default is false. [true/false]
colors = false
# Wget downloader options.
# -c, --continue: resume getting a partially-downloaded file.

View file

@ -1,6 +1,6 @@
[metadata]
name = slpkg
version = 4.3.2
version = 4.3.3
license_file = LICENSE
author = Dimitris Zlatanidis
author_email = d.zlatanidis@gmail.com

View file

@ -99,7 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# Install configuration files and creating lib directory
mkdir -p $PKG/etc/$PRGNAM
install -D -m0644 configs/slpkg.toml $PKG/etc/slpkg/slpkg.toml.new
install -D -m0645 configs/blacklist.toml $PKG/etc/slpkg/blacklist.toml.new
install -D -m0644 configs/blacklist.toml $PKG/etc/slpkg/blacklist.toml.new
mkdir -p $PKG/usr/man/man1
cp man/slpkg.1 $PKG/usr/man/man1

View file

@ -16,7 +16,7 @@ class Configs:
''' Default configurations. '''
# OS architecture by default
os_arch: str = 'x86_64'
os_arch: str = os.uname()[4]
# All necessary paths
tmp_path: str = '/tmp'

View file

@ -10,7 +10,7 @@ from slpkg.configs import Configs
@dataclass
class Version:
prog_name: str = Configs.prog_name
version_info: tuple = (4, 3, 2)
version_info: tuple = (4, 3, 3)
version: str = '{0}.{1}.{2}'.format(*version_info)
license: str = 'MIT License'
author: str = 'dslackw'