diff options
author | fourtysixandtwo | 2022-09-12 23:43:48 +0200 |
---|---|---|
committer | bedlam | 2022-09-12 23:43:48 +0200 |
commit | 48147927cd5b0aca6eb74c624a83fe70fed06c75 (patch) | |
tree | e94863c59f4c0f052f71695dc9c6ce678c1b1834 /network/flexget/flexget.SlackBuild | |
parent | 86c90e3d45168cf6a4fe00bac6e84979e8177e72 (diff) | |
download | slackbuilds-48147927cd5b0aca6eb74c624a83fe70fed06c75.tar.gz |
network/flexget: Updated for version 3.3.25.
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'network/flexget/flexget.SlackBuild')
-rw-r--r-- | network/flexget/flexget.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
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 |