diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/requests-unixsocket/files/requests-unixsocket-0.2.0-no-pbr.patch | 41 | ||||
-rw-r--r-- | dev-python/requests-unixsocket/requests-unixsocket-0.2.0.ebuild | 5 |
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-python/requests-unixsocket/files/requests-unixsocket-0.2.0-no-pbr.patch b/dev-python/requests-unixsocket/files/requests-unixsocket-0.2.0-no-pbr.patch new file mode 100644 index 000000000000..82a8b36e2cd9 --- /dev/null +++ b/dev-python/requests-unixsocket/files/requests-unixsocket-0.2.0-no-pbr.patch @@ -0,0 +1,41 @@ +diff --git a/setup.cfg b/setup.cfg +index 155f297..9d61d28 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,11 +1,12 @@ + [metadata] + name = requests-unixsocket ++version = 0.2.0 + author = Marc Abramowitz +-author-email = marc@marc-abramowitz.com ++author_email = marc@marc-abramowitz.com + summary = Use requests to talk HTTP via a UNIX domain socket + description-file = README.rst + license = Apache-2 +-home-page = https://github.com/msabramo/requests-unixsocket ++home_page = https://github.com/msabramo/requests-unixsocket + classifier = + Development Status :: 3 - Alpha + Intended Audience :: Developers +@@ -22,7 +23,7 @@ classifier = + Programming Language :: Python :: 3.6 + test_suite = requests_unixsocket.tests + +-[files] ++[options] + packages = requests_unixsocket + + [wheel] +diff --git a/setup.py b/setup.py +index aa2d8a0..beda28e 100755 +--- a/setup.py ++++ b/setup.py +@@ -2,7 +2,4 @@ + + from setuptools import setup + +-setup( +- setup_requires=['pbr'], +- pbr=True, +-) ++setup() diff --git a/dev-python/requests-unixsocket/requests-unixsocket-0.2.0.ebuild b/dev-python/requests-unixsocket/requests-unixsocket-0.2.0.ebuild index cf17d405c338..24e7c48f84c7 100644 --- a/dev-python/requests-unixsocket/requests-unixsocket-0.2.0.ebuild +++ b/dev-python/requests-unixsocket/requests-unixsocket-0.2.0.ebuild @@ -18,11 +18,14 @@ RDEPEND=" dev-python/requests[${PYTHON_USEDEP}] dev-python/urllib3[${PYTHON_USEDEP}]" BDEPEND=" - dev-python/pbr[${PYTHON_USEDEP}] test? ( dev-python/waitress[${PYTHON_USEDEP}] )" distutils_enable_tests pytest +PATCHES=( + "${FILESDIR}/${P}-no-pbr.patch" +) + src_prepare() { sed -i -e 's:--pep8::' pytest.ini || die distutils-r1_src_prepare |