* [gentoo-commits] repo/gentoo:master commit in: dev-python/twill/
@ 2015-10-30 12:04 Justin Lecher
0 siblings, 0 replies; 3+ messages in thread
From: Justin Lecher @ 2015-10-30 12:04 UTC (permalink / raw
To: gentoo-commits
commit: e6a8aab73873581dc56d61c5c3fe07d460c2da4c
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 30 11:59:28 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Oct 30 12:03:49 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6a8aab7
dev-python/twill: Move to virtual/dnspython
QA:
add missing die
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/twill/metadata.xml | 1 -
dev-python/twill/twill-0.9-r1.ebuild | 21 ++++++++++++++-------
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/dev-python/twill/metadata.xml b/dev-python/twill/metadata.xml
index 9d2a928..a67d041 100644
--- a/dev-python/twill/metadata.xml
+++ b/dev-python/twill/metadata.xml
@@ -6,4 +6,3 @@
twill is a simple language that allows users to browse the Web from a command-line interface. With twill, you can navigate through Web sites that use forms, cookies, and most standard Web features. twill supports automated Web testing and has a simple Python interface. Check out the examples! twill is open source and written in Python.
</longdescription>
</pkgmetadata>
-
diff --git a/dev-python/twill/twill-0.9-r1.ebuild b/dev-python/twill/twill-0.9-r1.ebuild
index 1d397df..d69c8f7 100644
--- a/dev-python/twill/twill-0.9-r1.ebuild
+++ b/dev-python/twill/twill-0.9-r1.ebuild
@@ -3,6 +3,7 @@
# $Id$
EAPI="5"
+
PYTHON_COMPAT=( python2_7 pypy )
inherit distutils-r1
@@ -19,18 +20,24 @@ SLOT="0"
KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
IUSE="doc examples"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' python2_7)
- $(python_gen_cond_dep 'dev-python/dnspython[${PYTHON_USEDEP}]' python2_7) )"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? (
+ $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' python2_7)
+ || (
+ dev-python/dnspython:0[${PYTHON_USEDEP}]
+ virtual/dnspython:0[${PYTHON_USEDEP}]
+ )
+ )"
S="${WORKDIR}/${MY_P}"
python_compile_all() {
if use doc; then
- pushd doc > /dev/null
- chmod +x make-epydoc.sh
- ./make-epydoc.sh
- popd> /dev/null
+ pushd doc > /dev/null || die
+ chmod +x make-epydoc.sh || die
+ ./make-epydoc.sh || die
+ popd> /dev/null || die
fi
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/twill/
@ 2016-01-11 11:32 Justin Lecher
0 siblings, 0 replies; 3+ messages in thread
From: Justin Lecher @ 2016-01-11 11:32 UTC (permalink / raw
To: gentoo-commits
commit: 6d0c00f1fb7b928b16c17ffc426264591fadec47
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 11:19:14 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 11 11:32:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0c00f1
dev-python/twill: Use python2 for doc building
Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/twill/twill-0.9-r1.ebuild | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/dev-python/twill/twill-0.9-r1.ebuild b/dev-python/twill/twill-0.9-r1.ebuild
index 3c54b5d..8133d6c 100644
--- a/dev-python/twill/twill-0.9-r1.ebuild
+++ b/dev-python/twill/twill-0.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -20,20 +20,24 @@ SLOT="0"
KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
IUSE="doc examples"
+REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
+
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
- $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' python2_7)
- || (
- dev-python/dnspython:0[${PYTHON_USEDEP}]
- virtual/python-dnspython:0[${PYTHON_USEDEP}]
- )
+ $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' 'python2*')
+ $(python_gen_cond_dep 'virtual/python-dnspython[${PYTHON_USEDEP}]' 'python2*')
)"
S="${WORKDIR}/${MY_P}"
+pkg_setup() {
+ use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' )
+}
+
python_compile_all() {
if use doc; then
+ python_setup 'python2*'
pushd doc > /dev/null || die
chmod +x make-epydoc.sh || die
./make-epydoc.sh || die
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/twill/
@ 2017-06-27 14:21 Alexis Ballier
0 siblings, 0 replies; 3+ messages in thread
From: Alexis Ballier @ 2017-06-27 14:21 UTC (permalink / raw
To: gentoo-commits
commit: e7e9d6399b931c538b5b5c60b1a5ce604a7d80fe
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 27 13:12:39 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 14:20:55 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e9d639
dev-python/twill: keyword ~arm64
Package-Manager: Portage-2.3.6, Repoman-2.3.2
dev-python/twill/twill-0.9-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-python/twill/twill-0.9-r1.ebuild b/dev-python/twill/twill-0.9-r1.ebuild
index 5b9444ee154..127b1b3cfb7 100644
--- a/dev-python/twill/twill-0.9-r1.ebuild
+++ b/dev-python/twill/twill-0.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -16,7 +16,7 @@ SRC_URI="http://darcs.idyll.org/~t/projects/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
IUSE="doc examples"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )"
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-27 14:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30 12:04 [gentoo-commits] repo/gentoo:master commit in: dev-python/twill/ Justin Lecher
-- strict thread matches above, loose matches on Subject: below --
2016-01-11 11:32 Justin Lecher
2017-06-27 14:21 Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox