From 0a93a5fe19ee97c5d5487abb753c4ff5295a6515 Mon Sep 17 00:00:00 2001 From: Rob Cakebread Date: Sat, 21 Apr 2007 20:12:02 +0000 Subject: [PATCH] Fixed docs add doc USE. bug #175475 Package-Manager: portage-2.1.2.4 --- dev-python/python-xlib/ChangeLog | 6 ++++- dev-python/python-xlib/Manifest | 22 ++++++++--------- .../python-xlib/python-xlib-0.13.ebuild | 24 +++++++++++++++++-- 3 files changed, 38 insertions(+), 14 deletions(-) diff --git a/dev-python/python-xlib/ChangeLog b/dev-python/python-xlib/ChangeLog index ff25949976e8..8e3c308c0a6b 100644 --- a/dev-python/python-xlib/ChangeLog +++ b/dev-python/python-xlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/python-xlib # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.16 2007/04/21 17:32:13 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.17 2007/04/21 20:12:02 pythonhead Exp $ + + 21 Apr 2007; Rob Cakebread + python-xlib-0.13.ebuild: + Fixed docs add doc USE. bug #175475 21 Apr 2007; Rob Cakebread python-xlib-0.12-r3.ebuild: diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest index 8dbf4ec020d0..c53cd5159734 100644 --- a/dev-python/python-xlib/Manifest +++ b/dev-python/python-xlib/Manifest @@ -31,14 +31,14 @@ EBUILD python-xlib-0.12.ebuild 639 RMD160 4c45bd332e2e5918690e58ffac0a562b8d3f55 MD5 eb05ef08acfb13dbc26100f9f022ea0a python-xlib-0.12.ebuild 639 RMD160 4c45bd332e2e5918690e58ffac0a562b8d3f55ba python-xlib-0.12.ebuild 639 SHA256 46baa37fabbabacb88e4cd4ee4c8c9c6e1adcf5c04cca7994989742ad55aef5f python-xlib-0.12.ebuild 639 -EBUILD python-xlib-0.13.ebuild 628 RMD160 ffdc7aecae2525e7688cfb9466e55f2f7c9bcdf1 SHA1 65308ba4fee9a4aa9d7d7459c5865205dc24fb1d SHA256 deca26bbd777e95ad244c1ec04b560cf1d0fe81f16917376d3766266d6d494b1 -MD5 1902cca210dddb42446ab795f1ce813e python-xlib-0.13.ebuild 628 -RMD160 ffdc7aecae2525e7688cfb9466e55f2f7c9bcdf1 python-xlib-0.13.ebuild 628 -SHA256 deca26bbd777e95ad244c1ec04b560cf1d0fe81f16917376d3766266d6d494b1 python-xlib-0.13.ebuild 628 -MISC ChangeLog 2073 RMD160 92d355fe9af9cfefe10569cb75ee0d54579ac855 SHA1 d4d6d12962cc3d57b61b2fa52e7ced2f3f476f1a SHA256 bb881a68a58e2383b2796d4385e6d6d8df7af1635bfd6715000d4c1da5608627 -MD5 a820f556fa11e1d23dc7e502917c3cd3 ChangeLog 2073 -RMD160 92d355fe9af9cfefe10569cb75ee0d54579ac855 ChangeLog 2073 -SHA256 bb881a68a58e2383b2796d4385e6d6d8df7af1635bfd6715000d4c1da5608627 ChangeLog 2073 +EBUILD python-xlib-0.13.ebuild 943 RMD160 c263b653cee8a1e8d826c27d6d302519e8a16493 SHA1 d5f6296b579d0b7c9cbdd15579427cc2712909d3 SHA256 be1f850ec46c56eca3db73382309c479e9b0015301e87f90e6710f7e81d3e97c +MD5 c051e1e0e12cd635abf4a44c0fe336f7 python-xlib-0.13.ebuild 943 +RMD160 c263b653cee8a1e8d826c27d6d302519e8a16493 python-xlib-0.13.ebuild 943 +SHA256 be1f850ec46c56eca3db73382309c479e9b0015301e87f90e6710f7e81d3e97c python-xlib-0.13.ebuild 943 +MISC ChangeLog 2192 RMD160 6d2ef46c06cd5972c05c44718372e8f0c5ac64ca SHA1 b6f097cff1f9295b9d58c5df2354cbbe77d1202f SHA256 275c7ee178b1390ce4d9346422c5378a12e131aa54c6b008b23e42160bf82056 +MD5 1f8263f190e9348bb162ed6f479f96ce ChangeLog 2192 +RMD160 6d2ef46c06cd5972c05c44718372e8f0c5ac64ca ChangeLog 2192 +SHA256 275c7ee178b1390ce4d9346422c5378a12e131aa54c6b008b23e42160bf82056 ChangeLog 2192 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 @@ -61,7 +61,7 @@ SHA256 47281eedea6b218c57380961c376550b145b6c991063d9f8de5b2dc2171a03fc files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFGKkqp96cFzIajWwkRAnT/AKCJTuuJLYNoGguJMbDry01KT4+bfQCZAYQj -CPOWcfOSeWFvQKWXufAWUzc= -=vwQY +iD8DBQFGKnAf96cFzIajWwkRAnftAKDqRqX7BI/rjB+EUMy4UK9+TIdRcACg4Ui9 +P9BrklSoZF8Vm0x7QdoOcR4= +=5lmW -----END PGP SIGNATURE----- diff --git a/dev-python/python-xlib/python-xlib-0.13.ebuild b/dev-python/python-xlib/python-xlib-0.13.ebuild index 6a2489569a2e..7da765de1636 100644 --- a/dev-python/python-xlib/python-xlib-0.13.ebuild +++ b/dev-python/python-xlib/python-xlib-0.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.13.ebuild,v 1.1 2007/04/21 17:09:37 pythonhead Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.13.ebuild,v 1.2 2007/04/21 20:12:02 pythonhead Exp $ inherit distutils @@ -11,10 +11,30 @@ SRC_URI="mirror://sourceforge/python-xlib/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 ~amd64" -IUSE="" +IUSE="doc" +DEPEND="${RDEPEND} + doc? ( >=app-text/tetex-2.0.2-r9 + >=sys-apps/texinfo-4.8-r2 )" + +src_compile() { + distutils_src_compile + if use doc; then + cd doc + emake || die "make docs failed" + fi +} + +src_install () { + distutils_src_install + if use doc; then + dohtml -r doc/html/ + dodoc doc/ps/python-xlib.ps + fi +} src_test() { for pytest in $(ls test/*py); do PYTHONPATH=. ${python} ${pytest} || die "test failed" done } + -- 2.26.2