diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-05-17 16:45:48 +0300 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-05-17 16:51:14 +0300 |
| commit | 68312f49c0b4456e665ed438a86a44738caa765a (patch) | |
| tree | 6280a9fb0de5782ca8ca4ca39b014062e1b8d387 /lang/python/python-txsocksx/patches | |
| parent | 1bf7af4ca53db6f58655857f6eb49a9893c854d9 (diff) | |
python packages: move all things python under lang/python
I admit this may be be a bit aggressive, but the lang
folder is getting cluttered/filled up with Python, PHP, Perl,
Ruby, etc. packages.
Makes sense to try to group them into per-lang folders.
I took the Pythons.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python-txsocksx/patches')
| -rw-r--r-- | lang/python/python-txsocksx/patches/001-omit-tests.patch | 11 | ||||
| -rw-r--r-- | lang/python/python-txsocksx/patches/002-do-not-use-vcversioner.patch | 29 |
2 files changed, 40 insertions, 0 deletions
diff --git a/lang/python/python-txsocksx/patches/001-omit-tests.patch b/lang/python/python-txsocksx/patches/001-omit-tests.patch new file mode 100644 index 000000000..dd4acd7c3 --- /dev/null +++ b/lang/python/python-txsocksx/patches/001-omit-tests.patch @@ -0,0 +1,11 @@ +diff --git a/setup.py b/setup.py +index 7979f89..3873a1e 100644 +--- a/setup.py ++++ b/setup.py +@@ -35,5 +35,5 @@ setup( + 'version_module_paths': ['txsocksx/_version.py'], + }, + install_requires=install_requires, +- packages=['txsocksx', 'txsocksx.test'], ++ packages=['txsocksx'], + ) diff --git a/lang/python/python-txsocksx/patches/002-do-not-use-vcversioner.patch b/lang/python/python-txsocksx/patches/002-do-not-use-vcversioner.patch new file mode 100644 index 000000000..a904db1e4 --- /dev/null +++ b/lang/python/python-txsocksx/patches/002-do-not-use-vcversioner.patch @@ -0,0 +1,29 @@ +diff --git a/setup.py b/setup.py +index 7979f89..5e1abb3 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,6 +1,8 @@ + # Copyright (c) Aaron Gallagher <_@habnab.it> + # See COPYING for details. + ++import os ++ + from setuptools import setup + + +@@ -30,10 +32,11 @@ setup( + ], + license='ISC', + +- setup_requires=['vcversioner>=1'], +- vcversioner={ +- 'version_module_paths': ['txsocksx/_version.py'], +- }, ++ #setup_requires=['vcversioner>=1'], ++ #vcversioner={ ++ # 'version_module_paths': ['txsocksx/_version.py'], ++ #}, ++ version=os.environ.get('PKG_VERSION'), + install_requires=install_requires, + packages=['txsocksx', 'txsocksx.test'], + ) |
