public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/thriftrw/files/, dev-python/thriftrw/
Date: Thu,  7 Oct 2021 10:38:56 +0000 (UTC)	[thread overview]
Message-ID: <1633603124.7d6bc830779bbf82937b0f57cf36974bf84c2088.Alessandro-Barbieri@gentoo> (raw)

commit:     7d6bc830779bbf82937b0f57cf36974bf84c2088
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Oct  7 10:38:44 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
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


             reply	other threads:[~2021-10-07 10:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-07 10:38 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-10-09 17:00 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/thriftrw/files/, dev-python/thriftrw/ Alessandro Barbieri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1633603124.7d6bc830779bbf82937b0f57cf36974bf84c2088.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox