commit:     91aecde960dc3bff1c2610fe726d760bf411d21d
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 20:48:21 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 20:50:52 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91aecde9

dev-python/pytest-pep8: remove invalid entries from MANIFEST.in

Also RDEPEND on setuptools for entry_points support.

Bug: https://bugs.gentoo.org/606574#c2

 dev-python/pytest-pep8/files/1.0.6-MANIFEST.patch | 9 +++++++++
 dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild   | 5 +++++
 2 files changed, 14 insertions(+)

diff --git a/dev-python/pytest-pep8/files/1.0.6-MANIFEST.patch 
b/dev-python/pytest-pep8/files/1.0.6-MANIFEST.patch
new file mode 100644
index 0000000000..3e9d2f20dc
--- /dev/null
+++ b/dev-python/pytest-pep8/files/1.0.6-MANIFEST.patch
@@ -0,0 +1,9 @@
+diff --git a/MANIFEST.in b/MANIFEST.in
+--- a/MANIFEST.in
++++ b/MANIFEST.in
+@@ -4,5 +4,3 @@
+ include tox.ini
+ include LICENSE
+ include test_pep8.py
+-graft doc
+-graft test_pep8.py

diff --git a/dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild 
b/dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild
index dd03d872fb..42c5dafebb 100644
--- a/dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild
+++ b/dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild
@@ -18,12 +18,17 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
        >=dev-python/pep8-1.3[${PYTHON_USEDEP}]
        >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
        dev-python/pytest-cache[${PYTHON_USEDEP}]
 "
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+       "${FILESDIR}"/1.0.6-MANIFEST.patch
+)
+
 python_test() {
        ${EPYTHON} test_pep8.py || die
 }

Reply via email to