diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-02-19 21:53:41 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-20 15:12:39 +0700 |
commit | df4a0b296af9057f5d2e180593a4feb34ddcff98 (patch) | |
tree | 48820dff88f2a8229b726aa3d6bcfff319991fc7 /network | |
parent | a16ceacca720f43a088e62fa049f9caf8653000c (diff) | |
download | slackbuilds-df4a0b296af9057f5d2e180593a4feb34ddcff98.tar.gz |
network/you-get: Updated for version 0.4.1555.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/you-get/setup.patch | 25 | ||||
-rw-r--r-- | network/you-get/you-get.SlackBuild | 6 | ||||
-rw-r--r-- | network/you-get/you-get.info | 6 |
3 files changed, 32 insertions, 5 deletions
diff --git a/network/you-get/setup.patch b/network/you-get/setup.patch new file mode 100644 index 0000000000..d946afcabd --- /dev/null +++ b/network/you-get/setup.patch @@ -0,0 +1,25 @@ +--- you-get-0.4.1555/setup.orig 2022-02-19 21:42:45.164326941 +0200 ++++ you-get-0.4.1555/setup.py 2022-02-19 21:51:29.199363227 +0200 +@@ -5,7 +5,7 @@ + + PROJ_METADATA = '%s.json' % PROJ_NAME + +-import os, json, imp ++import os, json + here = os.path.abspath(os.path.dirname(__file__)) + proj_info = json.loads(open(os.path.join(here, PROJ_METADATA), encoding='utf-8').read()) + try: +@@ -13,12 +13,11 @@ + except: + README = "" + CHANGELOG = open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf-8').read() +-VERSION = imp.load_source('version', os.path.join(here, 'src/%s/version.py' % PACKAGE_NAME)).__version__ + + from setuptools import setup, find_packages + setup( + name = proj_info['name'], +- version = VERSION, ++ version = '0.4.1555', + + author = proj_info['author'], + author_email = proj_info['author_email'], diff --git a/network/you-get/you-get.SlackBuild b/network/you-get/you-get.SlackBuild index 322f509603..ef4a2868ca 100644 --- a/network/you-get/you-get.SlackBuild +++ b/network/you-get/you-get.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for you-get -# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=you-get -VERSION=${VERSION:-0.4.1500} +VERSION=${VERSION:-0.4.1555} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,6 +79,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/setup.patch + python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/network/you-get/you-get.info b/network/you-get/you-get.info index b8c8e5ae03..8a30c9588d 100644 --- a/network/you-get/you-get.info +++ b/network/you-get/you-get.info @@ -1,8 +1,8 @@ PRGNAM="you-get" -VERSION="0.4.1500" +VERSION="0.4.1555" HOMEPAGE="http://www.soimort.org/you-get/" -DOWNLOAD="https://files.pythonhosted.org/packages/b3/eb/e24fa3352fa27e1be3b7f8b3d158a3b12f6ee294c09614eb61b5d85fa054/you-get-0.4.1500.tar.gz" -MD5SUM="f1145217fc4a4f9407d24aa25a4828e8" +DOWNLOAD="https://github.com/soimort/you-get/releases/download/v0.4.1555/you-get-0.4.1555.tar.gz" +MD5SUM="c517e63c809d0e37562847f19b92b567" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |