From 48147927cd5b0aca6eb74c624a83fe70fed06c75 Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Mon, 12 Sep 2022 22:43:48 +0100 Subject: network/flexget: Updated for version 3.3.25. Signed-off-by: bedlam --- network/flexget/flexget.SlackBuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'network/flexget/flexget.SlackBuild') diff --git a/network/flexget/flexget.SlackBuild b/network/flexget/flexget.SlackBuild index 0ae5fc1484..ca20275306 100644 --- a/network/flexget/flexget.SlackBuild +++ b/network/flexget/flexget.SlackBuild @@ -28,13 +28,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # 20220515 46and2: Updated version, removed python2, New maintainer. -# -still needs fixes before uploading +# 20220908 46and2: Updated version. +# -build process changed to fix issue with versions >3.3.20. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=flexget SRCNAM=FlexGet -VERSION=${VERSION:-3.3.14} +VERSION=${VERSION:-3.3.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -91,7 +92,12 @@ find -L . \ # Remove versions from requirements sed -i "s/==.*//" requirements.txt -python3 setup.py install --root=$PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl + +# installing tests to a subdir of your project might not conflict the toplevel, but +# don't do it anyway... +rm -r "$PKG"/usr/lib${LIBDIRSUFFIX}/python*/site-packages/${SRCNAM,,}/tests/ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3