public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ian Delaney (idella4)" <idella4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/twill: twill-0.9-r1.ebuild ChangeLog
Date: Sat, 14 Jun 2014 13:51:51 +0000 (UTC)	[thread overview]
Message-ID: <20140614135151.B4AC62004E@flycatcher.gentoo.org> (raw)

idella4     14/06/14 13:51:51

  Modified:             twill-0.9-r1.ebuild ChangeLog
  Log:
  clean old python impls, drop unused IUSE add doc examples, doc build
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.4                  dev-python/twill/twill-0.9-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild?r1=1.3&r2=1.4

Index: twill-0.9-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- twill-0.9-r1.ebuild	31 Mar 2014 21:18:11 -0000	1.3
+++ twill-0.9-r1.ebuild	14 Jun 2014 13:51:51 -0000	1.4
@@ -1,9 +1,9 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild,v 1.3 2014/03/31 21:18:11 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twill/twill-0.9-r1.ebuild,v 1.4 2014/06/14 13:51:51 idella4 Exp $
 
 EAPI="5"
-PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 )
+PYTHON_COMPAT=( python2_7 pypy )
 
 inherit distutils-r1
 
@@ -17,15 +17,25 @@
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~x86"
-IUSE="test"
+IUSE="doc examples"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+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) )"
 
 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
+	fi
+}
+
 python_install_all() {
-	dodoc -r doc/.
-	insinto /usr/share/doc/${PF}/examples
-	doins -r examples/*
-	docompress -x /usr/share/doc/${PF}/examples
+	use doc && HTML_DOCS=( doc/epydoc-html/. )
+	use examples && local EXAMPLES=( examples/. )
+	distutils-r1_python_install_all
 }



1.14                 dev-python/twill/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/twill/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/twill/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	31 Mar 2014 21:18:11 -0000	1.13
+++ ChangeLog	14 Jun 2014 13:51:51 -0000	1.14
@@ -1,6 +1,9 @@
 # ChangeLog for dev-python/twill
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twill/ChangeLog,v 1.13 2014/03/31 21:18:11 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twill/ChangeLog,v 1.14 2014/06/14 13:51:51 idella4 Exp $
+
+  14 Jun 2014; Ian Delaney <idella4@gentoo.org> twill-0.9-r1.ebuild:
+  clean old python impls, drop unused IUSE add doc examples, doc build
 
   31 Mar 2014; Michał Górny <mgorny@gentoo.org> twill-0.9-r1.ebuild:
   Add support for the new PyPy slotting.





             reply	other threads:[~2014-06-14 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-14 13:51 Ian Delaney (idella4) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-03-07  8:24 [gentoo-commits] gentoo-x86 commit in dev-python/twill: twill-0.9-r1.ebuild ChangeLog Pacho Ramos (pacho)
2015-01-16  3:37 Patrick Lauer (patrick)
2014-03-31 21:18 Michal Gorny (mgorny)
2013-09-05 18:47 Michal Gorny (mgorny)
2013-03-28  4:12 Mike Gilbert (floppym)

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=20140614135151.B4AC62004E@flycatcher.gentoo.org \
    --to=idella4@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