diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-06-04 04:51:56 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-06-11 08:58:59 +0700 |
commit | e98de23eb9a6d3516c8481a0855abd5686681f72 (patch) | |
tree | 90deee95475b6b3051f7625bf71e8d08add25d0b | |
parent | 97997221811cda3a88216317f5e5c7c3fac1b0ab (diff) |
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>
-rw-r--r-- | network/flexget/flexget.SlackBuild | 35 | ||||
-rw-r--r-- | network/flexget/flexget.info | 12 |
2 files changed, 32 insertions, 15 deletions
diff --git a/network/flexget/flexget.SlackBuild b/network/flexget/flexget.SlackBuild index 28b1d8da065eb..0ae5fc1484480 100644 --- a/network/flexget/flexget.SlackBuild +++ b/network/flexget/flexget.SlackBuild @@ -5,6 +5,7 @@ # Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST # Copyright 2009-2010 Eric Hameleers, Eindhoven, Netherlands # Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022 fourtysixandtwo <fourtysixandtwo@sliderr.net> # Written by Lionel Young <redtricycle@gmail.com> # # All rights reserved. @@ -26,15 +27,25 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # 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) PRGNAM=flexget -VERSION=${VERSION:-2.11.9} +SRCNAM=FlexGet +VERSION=${VERSION:-3.3.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} 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 # 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 OUTPUT=${OUTPUT:-/tmp} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -e @@ -74,7 +91,7 @@ find -L . \ # Remove versions from requirements sed -i "s/==.*//" requirements.txt -python setup.py install --root=$PKG +python3 setup.py install --root=$PKG 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 c3d69fd286076..fbf237eef3ef9 100644 --- a/network/flexget/flexget.info +++ b/network/flexget/flexget.info @@ -1,10 +1,10 @@ PRGNAM="flexget" -VERSION="2.11.9" +VERSION="3.3.14" HOMEPAGE="https://flexget.com/" -DOWNLOAD="https://pypi.python.org/packages/d7/e4/e543975ddfee11b138af0096cdcb21fe730d0297bb0f43d014b7818e14b9/FlexGet-2.11.9.tar.gz" -MD5SUM="d6c6636c25d96e3c1ee7eb4628cef4d0" +DOWNLOAD="https://files.pythonhosted.org/packages/source/f/flexget/FlexGet-3.3.14.tar.gz" +MD5SUM="41aa32d06ee6d82f4cefb090e5ffedfa" DOWNLOAD_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" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +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="fourtysixandtwo" +EMAIL="fourtysixandtwo@sliderr.net" |