aboutsummaryrefslogtreecommitdiff
path: root/network/flexget
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-09-12 22:43:48 +0100
committerbedlam <dave@slackbuilds.org>2022-09-12 22:43:48 +0100
commit48147927cd5b0aca6eb74c624a83fe70fed06c75 (patch)
treee94863c59f4c0f052f71695dc9c6ce678c1b1834 /network/flexget
parent86c90e3d45168cf6a4fe00bac6e84979e8177e72 (diff)
network/flexget: Updated for version 3.3.25.
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'network/flexget')
-rw-r--r--network/flexget/flexget.SlackBuild12
-rw-r--r--network/flexget/flexget.info6
2 files changed, 12 insertions, 6 deletions
diff --git a/network/flexget/flexget.SlackBuild b/network/flexget/flexget.SlackBuild
index 0ae5fc148448..ca2027530673 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
diff --git a/network/flexget/flexget.info b/network/flexget/flexget.info
index fbf237eef3ef..2258b088fad0 100644
--- a/network/flexget/flexget.info
+++ b/network/flexget/flexget.info
@@ -1,8 +1,8 @@
PRGNAM="flexget"
-VERSION="3.3.14"
+VERSION="3.3.25"
HOMEPAGE="https://flexget.com/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flexget/FlexGet-3.3.14.tar.gz"
-MD5SUM="41aa32d06ee6d82f4cefb090e5ffedfa"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flexget/FlexGet-3.3.25.tar.gz"
+MD5SUM="f4f9a2adf753100c41a80420c43efe47"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="feedparser SQLAlchemy BeautifulSoup4 html5lib python3-PyRSS2Gen python3-pynzb python3-rpyc python3-guessit python3-APScheduler python3-CherryPy python3-Flask-RESTful python3-Flask-RESTX python3-Flask-Compress python3-Flask-Login python3-Flask-Cors python3-zxcvbn-python python3-rich pytz-deprecation-shim python3-loguru tzdata psutil colorama"