diff options
author | Patrick Lauer <patrick@gentoo.org> | 2020-06-24 21:43:11 +0200 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2020-06-24 21:43:33 +0200 |
commit | 33d8eabb07b8ece60a9c898749bd88838d32ca7c (patch) | |
tree | 1022cc94f90f05c99fdf698dbb67fa589ffbd695 /dev-db | |
parent | profiles: More dev-tex packages masked for removal. (diff) | |
download | gentoo-33d8eabb07b8ece60a9c898749bd88838d32ca7c.tar.gz gentoo-33d8eabb07b8ece60a9c898749bd88838d32ca7c.tar.bz2 gentoo-33d8eabb07b8ece60a9c898749bd88838d32ca7c.zip |
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@gentoo.org>
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/pgxnclient/pgxnclient-1.3-r2.ebuild (renamed from dev-db/pgxnclient/pgxnclient-1.3.ebuild) | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-db/pgxnclient/pgxnclient-1.3.ebuild b/dev-db/pgxnclient/pgxnclient-1.3-r2.ebuild index 586f7287262e..cdfc06d4a448 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 |