From: "罗百科" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgxnclient/
Date: Wed, 24 Jun 2020 19:43:56 +0000 (UTC) [thread overview]
Message-ID: <1593027813.33d8eabb07b8ece60a9c898749bd88838d32ca7c.patrick@gentoo> (raw)
commit: 33d8eabb07b8ece60a9c898749bd88838d32ca7c
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 24 19:43:11 2020 +0000
Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
CommitDate: Wed Jun 24 19:43:33 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33d8eabb
dev-db/pgxnclient: [QA] work around vandalism from QA team
Just rip out all traces of test support then.
At least now it's installable, which is in general a good thing.
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
.../{pgxnclient-1.3.ebuild => pgxnclient-1.3-r2.ebuild} | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/dev-db/pgxnclient/pgxnclient-1.3.ebuild b/dev-db/pgxnclient/pgxnclient-1.3-r2.ebuild
similarity index 78%
rename from dev-db/pgxnclient/pgxnclient-1.3.ebuild
rename to dev-db/pgxnclient/pgxnclient-1.3-r2.ebuild
index 586f7287262..cdfc06d4a44 100644
--- a/dev-db/pgxnclient/pgxnclient-1.3.ebuild
+++ b/dev-db/pgxnclient/pgxnclient-1.3-r2.ebuild
@@ -16,12 +16,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
LICENSE="BSD"
SLOT="0"
-IUSE="test"
-
-# Test data isn't included in releases. So, the tests fail.
-# https://github.com/pgxn/pgxnclient/issues/36
-RESTRICT="test
- !test? ( test )"
+IUSE=""
distutils_enable_tests pytest
@@ -29,10 +24,11 @@ RDEPEND="dev-db/postgresql:*[server]
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND+="${RDEPEND}
- test? ( dev-python/mock[${PYTHON_USEDEP}] )
"
src_prepare() {
+ sed "s/setup_requires/#/" -i setup.py || die
+
sed "s/find_packages()/find_packages(exclude=['tests'])/" -i setup.py || die
default
next reply other threads:[~2020-06-24 19:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-24 19:43 罗百科 [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-04-16 9:16 [gentoo-commits] repo/gentoo:master commit in: dev-db/pgxnclient/ Patrick Lauer
2023-04-15 19:56 罗百科
2023-04-15 19:56 罗百科
2023-04-15 19:56 罗百科
2022-06-18 15:34 罗百科
2020-12-04 13:54 Aaron W. Swenson
2020-06-25 7:29 罗百科
2020-06-24 7:07 Michał Górny
2020-06-20 17:45 罗百科
2020-06-02 11:26 Aaron W. Swenson
2020-06-01 12:20 Aaron W. Swenson
2020-05-07 13:18 Michał Górny
2017-04-24 15:49 Pacho Ramos
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=1593027813.33d8eabb07b8ece60a9c898749bd88838d32ca7c.patrick@gentoo \
--to=patrick@gentoo.org \
--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