From b3a9b60b681aeb1a9cc1383ec218b06bdad880d0 Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Wed, 3 Apr 2024 15:00:27 -0700 Subject: libraries/rarfile: Version bump to 4.2 Signed-off-by: Willy Sudiarto Raharjo --- libraries/rarfile/README | 6 ++++-- libraries/rarfile/rarfile.SlackBuild | 5 ++--- libraries/rarfile/rarfile.info | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) (limited to 'libraries') diff --git a/libraries/rarfile/README b/libraries/rarfile/README index 6103dbd00b..897463a7c5 100644 --- a/libraries/rarfile/README +++ b/libraries/rarfile/README @@ -3,11 +3,13 @@ RAR archive reader for Python. This is Python module for RAR archive reading. The interface is made as zipfile like as possible. Licensed under ISC license. -- Supports both RAR 2.x and 3.x archives. +- Supports both RAR3 and RAR5 format archives. - Supports multi volume archives. - Supports Unicode filenames. - Supports password-protected archives. - Supports archive and file comments. - Archive parsing and non-compressed files handled in pure Python code. - For compressed files runs ``unrar`` utility. -- Works with both Python 2.x and 3.x. + +NOTE: Can swap unrar dependency for unrar-free, with whatever +limitations unrar-free has over the proprietary unrar. diff --git a/libraries/rarfile/rarfile.SlackBuild b/libraries/rarfile/rarfile.SlackBuild index f2f069aa6a..7669931081 100644 --- a/libraries/rarfile/rarfile.SlackBuild +++ b/libraries/rarfile/rarfile.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for rarfile # Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece -# Copyright 2023 Jeremy Hansen jebrhansen+SBo@gmail.com +# Copyright 2023-2024 Jeremy Hansen # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rarfile -VERSION=${VERSION:-4.1} +VERSION=${VERSION:-4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,7 +63,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python2 setup.py install --root=$PKG python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/libraries/rarfile/rarfile.info b/libraries/rarfile/rarfile.info index 3256bd1688..37472876e9 100644 --- a/libraries/rarfile/rarfile.info +++ b/libraries/rarfile/rarfile.info @@ -1,10 +1,10 @@ PRGNAM="rarfile" -VERSION="4.1" +VERSION="4.2" HOMEPAGE="https://github.com/markokr/rarfile" -DOWNLOAD="https://github.com/markokr/rarfile/archive/refs/tags/v4.1/rarfile-4.1.tar.gz" -MD5SUM="8d5c4d1665148a979d6d5a5cb529da1d" +DOWNLOAD="https://github.com/markokr/rarfile/archive/refs/tags/v4.2/rarfile-4.2.tar.gz" +MD5SUM="19d557536f63d4894332a5746c09dfa7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="unrar" MAINTAINER="Jeremy Hansen" EMAIL="jebrhansen+SBo@gmail.com" -- cgit v1.2.3