dev-python/thriftrw: no examples

Closes: https://bugs.gentoo.org/816624
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-10-07 12:38:44 +02:00
parent 73ba83c977
commit 7d6bc83077
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/setup.py
+++ b/setup.py
@@ -148,7 +148,7 @@
author='Abhinav Gupta',
author_email='abg@uber.com',
url='https://github.com/thriftrw/thriftrw-python',
- packages=find_packages(exclude=('tests', 'tests.*')),
+ packages=find_packages(exclude=('tests', 'tests.*', 'examples', 'examples*')),
license='MIT',
install_requires=['six', 'ply'],
tests_require=['pytest', 'mock'],

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
@@ -26,4 +26,6 @@ DEPEND="
)
"
PATCHES=( "${FILESDIR}/${P}-no-install-examples.patch" )
distutils_enable_tests pytest