diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2012-04-03 19:22:57 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2012-04-03 19:22:57 +0000 |
commit | fee7c029f626f5e0f50c9658aa6a9d9074f2970d (patch) | |
tree | ce9f645dcfda531e6e4ec4e5827e1e62759eb7a5 /dev-python/xhtml2pdf | |
parent | Add function that makes it easier to properly install Python scripts that get... (diff) | |
download | gentoo-2-fee7c029f626f5e0f50c9658aa6a9d9074f2970d.tar.gz gentoo-2-fee7c029f626f5e0f50c9658aa6a9d9074f2970d.tar.bz2 gentoo-2-fee7c029f626f5e0f50c9658aa6a9d9074f2970d.zip |
Migrate to python-distutils-ng.eclass.
(Portage version: 2.1.10.52/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/xhtml2pdf')
-rw-r--r-- | dev-python/xhtml2pdf/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/xhtml2pdf/xhtml2pdf-0.0.3.ebuild | 19 |
2 files changed, 14 insertions, 10 deletions
diff --git a/dev-python/xhtml2pdf/ChangeLog b/dev-python/xhtml2pdf/ChangeLog index 33754af713c0..633f32e8ae11 100644 --- a/dev-python/xhtml2pdf/ChangeLog +++ b/dev-python/xhtml2pdf/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/xhtml2pdf # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xhtml2pdf/ChangeLog,v 1.3 2012/01/30 20:11:57 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/xhtml2pdf/ChangeLog,v 1.4 2012/04/03 19:22:57 nelchael Exp $ + + 03 Apr 2012; Krzysztof Pawlik <nelchael@gentoo.org> xhtml2pdf-0.0.3.ebuild: + Migrate to python-distutils-ng.eclass. 30 Jan 2012; Krzysztof Pawlik <nelchael@gentoo.org> xhtml2pdf-0.0.3.ebuild: Fix SRC_URI, add blocker for dev-python/pisa. diff --git a/dev-python/xhtml2pdf/xhtml2pdf-0.0.3.ebuild b/dev-python/xhtml2pdf/xhtml2pdf-0.0.3.ebuild index 43280d56a9c6..e8959162ca9f 100644 --- a/dev-python/xhtml2pdf/xhtml2pdf-0.0.3.ebuild +++ b/dev-python/xhtml2pdf/xhtml2pdf-0.0.3.ebuild @@ -1,13 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xhtml2pdf/xhtml2pdf-0.0.3.ebuild,v 1.3 2012/01/30 20:11:57 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/xhtml2pdf/xhtml2pdf-0.0.3.ebuild,v 1.4 2012/04/03 19:22:57 nelchael Exp $ -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" +EAPI="4" -inherit distutils +PYTHON_COMPAT="python2_5 python2_6 python2_7" + +inherit python-distutils-ng DESCRIPTION="PDF generator using HTML and CSS" HOMEPAGE="http://www.xhtml2pdf.com/ http://pypi.python.org/pypi/xhtml2pdf" @@ -21,8 +20,10 @@ IUSE="" DEPEND="dev-python/html5lib dev-python/imaging dev-python/pyPdf - dev-python/reportlab - !dev-python/pisa" + dev-python/reportlab" RDEPEND="${DEPEND}" -PYTHON_MODNAME="xhtml2pdf" +python_install_all() { + python-distutils-ng_redoscript "/usr/bin/pisa" + python-distutils-ng_redoscript "/usr/bin/xhtml2pdf" +} |