network/flexget: Updated for version 3.3.14.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2022-06-04 04:51:56 +01:00 committed by Willy Sudiarto Raharjo
parent 9799722181
commit e98de23eb9
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 32 additions and 15 deletions

View File

@ -5,6 +5,7 @@
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST # Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
# Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands # Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands
# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece # Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Written by Lionel Young <redtricycle@gmail.com> # Written by Lionel Young <redtricycle@gmail.com>
# #
# All rights reserved. # All rights reserved.
@ -26,15 +27,25 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220515 46and2: Updated version, removed python2, New maintainer.
# -still needs fixes before uploading
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=flexget PRGNAM=flexget
VERSION=${VERSION:-2.11.9} SRCNAM=FlexGet
VERSION=${VERSION:-3.3.14}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=FlexGet if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what # If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information # the name of the created package would be, and then exit. This information
@ -48,12 +59,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ -z "$ARCH" ]; then if [ "$ARCH" = "i586" ]; then
case "$( uname -m )" in SLKCFLAGS="-O2 -march=i586 -mtune=i686"
i?86) ARCH=i586 ;; LIBDIRSUFFIX=""
arm*) ARCH=arm ;; elif [ "$ARCH" = "i686" ]; then
*) ARCH=$( uname -m ) ;; SLKCFLAGS="-O2 -march=i686 -mtune=i686"
esac LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi fi
set -e set -e
@ -74,7 +91,7 @@ find -L . \
# Remove versions from requirements # Remove versions from requirements
sed -i "s/==.*//" requirements.txt sed -i "s/==.*//" requirements.txt
python setup.py install --root=$PKG python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -1,10 +1,10 @@
PRGNAM="flexget" PRGNAM="flexget"
VERSION="2.11.9" VERSION="3.3.14"
HOMEPAGE="https://flexget.com/" HOMEPAGE="https://flexget.com/"
DOWNLOAD="https://pypi.python.org/packages/d7/e4/e543975ddfee11b138af0096cdcb21fe730d0297bb0f43d014b7818e14b9/FlexGet-2.11.9.tar.gz" DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flexget/FlexGet-3.3.14.tar.gz"
MD5SUM="d6c6636c25d96e3c1ee7eb4628cef4d0" MD5SUM="41aa32d06ee6d82f4cefb090e5ffedfa"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="feedparser SQLAlchemy python2-PyYAML BeautifulSoup4 python2-BeautifulSoup4 html5lib PyRSS2Gen pynzb rpyc path.py pathlib guessit APScheduler terminaltables colorclass CherryPy python3-Flask-RESTful python3-Flask-RESTX python3-Flask-Compress python3-Flask-Login python3-Flask-Cors zxcvbn-python" 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"
MAINTAINER="Dimitris Zlatanidis" MAINTAINER="fourtysixandtwo"
EMAIL="d.zlatanidis@gmail.com" EMAIL="fourtysixandtwo@sliderr.net"