From: "Slawek Lis" <slis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/
Date: Fri, 16 Aug 2019 05:21:55 +0000 (UTC) [thread overview]
Message-ID: <1565932898.dfbdeb188385a2e8aeb5d9b1526ed6c63ea637ad.slis@gentoo> (raw)
commit: dfbdeb188385a2e8aeb5d9b1526ed6c63ea637ad
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 05:21:25 2019 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 05:21:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfbdeb18
dev-python/URLObject: Removed boundled six
Closes: https://bugs.gentoo.org/616082
Package-Manager: Portage-2.3.71, Repoman-2.3.16
Signed-off-by: Slawek Lis <slis <AT> gentoo.org>
dev-python/URLObject/URLObject-2.4.3.ebuild | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/dev-python/URLObject/URLObject-2.4.3.ebuild b/dev-python/URLObject/URLObject-2.4.3.ebuild
index b628b00bb78..52b54f19514 100644
--- a/dev-python/URLObject/URLObject-2.4.3.ebuild
+++ b/dev-python/URLObject/URLObject-2.4.3.ebuild
@@ -19,7 +19,8 @@ KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="test"
-RDEPEND=""
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
@@ -28,6 +29,13 @@ DEPEND="
S=${WORKDIR}/${GITHUB_P}
+python_prepare_all() {
+ rm "${S}/urlobject/six.py" || die
+ find "${S}/urlobject" -type f -name \*.py \
+ -exec sed -e 's/from \.six import/from six import/g' -i "{}" \; || die
+ distutils-r1_python_prepare_all
+}
+
python_test() {
nosetests -v || die "Tests fail with ${EPYTHON}"
}
next reply other threads:[~2019-08-16 5:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-16 5:21 Slawek Lis [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-08-16 5:21 [gentoo-commits] repo/gentoo:master commit in: dev-python/URLObject/ Slawek Lis
2017-04-20 9:18 Michał Górny
2017-04-20 9:18 Michał Górny
2017-04-20 9:18 Michał Górny
2016-11-29 12:05 Slawek Lis
2016-06-20 13:05 Slawek Lis
2016-06-20 13:05 Slawek Lis
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=1565932898.dfbdeb188385a2e8aeb5d9b1526ed6c63ea637ad.slis@gentoo \
--to=slis@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