From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F26A158086 for ; Fri, 8 Oct 2021 19:05:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68011E0814; Fri, 8 Oct 2021 19:05:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C024EE0814 for ; Fri, 8 Oct 2021 19:05:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A310D342BC9 for ; Fri, 8 Oct 2021 19:05:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C06E13F for ; Fri, 8 Oct 2021 19:05:13 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1633603124.7d6bc830779bbf82937b0f57cf36974bf84c2088.arthurzam@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/thriftrw/files/, dev-python/thriftrw/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/thriftrw/files/thriftrw-1.8.1-no-install-examples.patch dev-python/thriftrw/thriftrw-1.8.1.ebuild X-VCS-Directories: dev-python/thriftrw/files/ dev-python/thriftrw/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 7d6bc830779bbf82937b0f57cf36974bf84c2088 X-VCS-Branch: master Date: Fri, 8 Oct 2021 19:05:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 98932728-d39a-4968-9cfb-fd94c6297ca2 X-Archives-Hash: dcad97a89bfe59da06859584f9ca7e33 commit: 7d6bc830779bbf82937b0f57cf36974bf84c2088 Author: Alessandro Barbieri gmail com> AuthorDate: Thu Oct 7 10:38:44 2021 +0000 Commit: Arthur Zamarin gentoo 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 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