dev-python/cerberus: do not prevent installation of tests

Having discussed this with mgorny, if upstream installs these it is the
right thing for us to do the same.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
Marek Szuba
2021-06-13 12:30:25 +01:00
parent 593ccfea63
commit 05356acabc
2 changed files with 0 additions and 12 deletions

View File

@@ -18,7 +18,6 @@ KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.2_no-pytest-runner.patch
"${FILESDIR}"/${PN}-1.3.2_test-installation.patch
)
distutils_enable_tests pytest

View File

@@ -1,11 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@
),
license="ISC",
platforms=["any"],
- packages=find_packages(),
+ packages=find_packages(exclude=("cerberus.tests",)),
include_package_data=True,
setup_requires=setup_requires,
tests_require=["pytest"],