From 91aecde960dc3bff1c2610fe726d760bf411d21d Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 22 Feb 2017 15:48:21 -0500 Subject: [PATCH] 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(+) create mode 100644 dev-python/pytest-pep8/files/1.0.6-MANIFEST.patch 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 000000000000..3e9d2f20dcda --- /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 dd03d872fb3c..42c5dafebb6c 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 } -- 2.26.2