* [gentoo-commits] repo/proj/guru:master commit in: dev-python/thriftrw/files/, dev-python/thriftrw/
@ 2021-10-08 19:05 Arthur Zamarin
0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2021-10-08 19:05 UTC (permalink / raw
To: gentoo-commits
commit: 7d6bc830779bbf82937b0f57cf36974bf84c2088
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Oct 7 10:38:44 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 7 10:38:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d6bc830
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 <AT> gmail.com>
.../thriftrw/files/thriftrw-1.8.1-no-install-examples.patch | 11 +++++++++++
dev-python/thriftrw/thriftrw-1.8.1.ebuild | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dev-python/thriftrw/files/thriftrw-1.8.1-no-install-examples.patch b/dev-python/thriftrw/files/thriftrw-1.8.1-no-install-examples.patch
new file mode 100644
index 000000000..0cc864107
--- /dev/null
+++ b/dev-python/thriftrw/files/thriftrw-1.8.1-no-install-examples.patch
@@ -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'],
diff --git a/dev-python/thriftrw/thriftrw-1.8.1.ebuild b/dev-python/thriftrw/thriftrw-1.8.1.ebuild
index 230a5c200..7ae0e668c 100644
--- a/dev-python/thriftrw/thriftrw-1.8.1.ebuild
+++ b/dev-python/thriftrw/thriftrw-1.8.1.ebuild
@@ -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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-08 19:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-08 19:05 [gentoo-commits] repo/proj/guru:master commit in: dev-python/thriftrw/files/, dev-python/thriftrw/ Arthur Zamarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox