dev-python/pytest-pep8: remove invalid entries from MANIFEST.in
authorMike Gilbert <floppym@gentoo.org>
Wed, 22 Feb 2017 20:48:21 +0000 (15:48 -0500)
committerMike Gilbert <floppym@gentoo.org>
Wed, 22 Feb 2017 20:50:52 +0000 (15:50 -0500)
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 [new file with mode: 0644]
dev-python/pytest-pep8/pytest-pep8-1.0.6.ebuild

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 (file)
index 0000000..3e9d2f2
--- /dev/null
@@ -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
index dd03d872fb3c4aeaddf6b937d939b5257686c951..42c5dafebb6cf6a75ad96cad1ae33ed0f9b74da7 100644 (file)
@@ -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
 }