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 0000000000000..3e9d2f20dcda9 --- /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 dd03d872fb3c4..42c5dafebb6cf 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 }