diff options
Diffstat (limited to 'network/you-get/setup.patch')
-rw-r--r-- | network/you-get/setup.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/network/you-get/setup.patch b/network/you-get/setup.patch new file mode 100644 index 0000000000000..d946afcabd28c --- /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'], |