dev-python/pywinrm: 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:28:57 +01:00
parent 4a8ad757e9
commit 593ccfea63
2 changed files with 0 additions and 15 deletions

View File

@@ -1,11 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@
author_email='alexey.diyan@gmail.com',
url='http://github.com/diyan/pywinrm/',
license='MIT license',
- packages=find_packages(),
+ packages=find_packages(exclude=('winrm.tests',)),
package_data={'winrm.tests': ['*.ps1']},
install_requires=['xmltodict', 'requests>=2.9.1', 'requests_ntlm>=0.3.0', 'six'],
extras_require={

View File

@@ -26,8 +26,4 @@ RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
)"
BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
PATCHES=(
"${FILESDIR}"/${PN}-0.4.2_test-installation.patch
)
distutils_enable_tests pytest