Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wstools/files/
Date: Fri, 31 Jul 2020 18:33:26
Message-Id: 1596220397.435914087810ba4621a477f7bdb1918f94f0a437.bman@gentoo
1 commit: 435914087810ba4621a477f7bdb1918f94f0a437
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Fri Jul 31 17:30:08 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 31 18:33:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43591408
7
8 dev-python/wstools: remove unused patch
9
10 Package-Manager: Portage-3.0.1, Repoman-2.3.23
11 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/16922
13 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
14
15 dev-python/wstools/files/wstools-0.4.5-setup.patch | 46 ----------------------
16 1 file changed, 46 deletions(-)
17
18 diff --git a/dev-python/wstools/files/wstools-0.4.5-setup.patch b/dev-python/wstools/files/wstools-0.4.5-setup.patch
19 deleted file mode 100644
20 index 9de7c159c97..00000000000
21 --- a/dev-python/wstools/files/wstools-0.4.5-setup.patch
22 +++ /dev/null
23 @@ -1,46 +0,0 @@
24 -Avoid pulling in a lot of unnecessary test and setup deps.
25 -
26 ---- wstools-0.4.5/setup.py
27 -+++ wstools-0.4.5/setup.py
28 -@@ -9,7 +9,7 @@
29 -
30 - from setuptools import setup, find_packages, Command
31 - from setuptools.command.test import test as TestCommand
32 --from pip.req import parse_requirements
33 -+#from pip.req import parse_requirements
34 -
35 - NAME = "wstools"
36 - url = "https://github.com/pycontribs/wstools.git"
37 -@@ -55,13 +55,13 @@
38 -
39 - def run_tests(self):
40 - # before running tests we need to run autopep8
41 -- try:
42 -- subprocess.check_call(
43 -- "python -m autopep8 -r --in-place wstools/ tests/",
44 -- shell=True)
45 -- except subprocess.CalledProcessError:
46 -- logging.getLogger().warn('autopep8 is not installed so '
47 -- 'it will not be run')
48 -+ # try:
49 -+ # subprocess.check_call(
50 -+ # "python -m autopep8 -r --in-place wstools/ tests/",
51 -+ # shell=True)
52 -+ # except subprocess.CalledProcessError:
53 -+ # logging.getLogger().warn('autopep8 is not installed so '
54 -+ # 'it will not be run')
55 - # import here, cause outside the eggs aren't loaded
56 - import pytest # noqa
57 - errno = pytest.main(self.pytest_args)
58 -@@ -136,9 +136,9 @@
59 - cmdclass={'test': PyTest, 'release': Release, 'prerelease': PreRelease},
60 - packages=find_packages(exclude=['tests']),
61 - include_package_data=True,
62 -- tests_require=get_requirements(base_path, 'requirements-dev.txt'),
63 -+ #tests_require=get_requirements(base_path, 'requirements-dev.txt'),
64 - setup_requires=['setuptools'],
65 -- install_requires=get_requirements(base_path, 'requirements.txt'),
66 -+ install_requires=['six'],
67 -
68 - license='BSD',
69 - description="WSDL parsing services package for Web Services for Python. see" + url,