diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-31 22:55:12 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-31 22:55:12 +0000 |
commit | aaae48c53fa734244ab60cd3cc46669a14e1e43e (patch) | |
tree | 12006cf79d35f7d6a571b45638aa102ac0549b13 /dev-python/xsv | |
parent | Fix broken icon cache update, and drop useless quoting too. (diff) | |
download | gentoo-2-aaae48c53fa734244ab60cd3cc46669a14e1e43e.tar.gz gentoo-2-aaae48c53fa734244ab60cd3cc46669a14e1e43e.tar.bz2 gentoo-2-aaae48c53fa734244ab60cd3cc46669a14e1e43e.zip |
Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/xsv')
-rw-r--r-- | dev-python/xsv/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/xsv/xsv-2.7.ebuild | 39 |
2 files changed, 32 insertions, 13 deletions
diff --git a/dev-python/xsv/ChangeLog b/dev-python/xsv/ChangeLog index 8bf2181264b5..bf3376c5471c 100644 --- a/dev-python/xsv/ChangeLog +++ b/dev-python/xsv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/xsv # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/ChangeLog,v 1.10 2010/06/15 19:38:07 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/ChangeLog,v 1.11 2010/10/31 22:55:12 arfrever Exp $ + + 31 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + xsv-2.7.ebuild: + Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS. 15 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> xsv-2.7.ebuild: diff --git a/dev-python/xsv/xsv-2.7.ebuild b/dev-python/xsv/xsv-2.7.ebuild index 351b9535894b..d671e10e58fd 100644 --- a/dev-python/xsv/xsv-2.7.ebuild +++ b/dev-python/xsv/xsv-2.7.ebuild @@ -1,28 +1,43 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild,v 1.7 2010/06/15 19:38:07 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild,v 1.8 2010/10/31 22:55:12 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" inherit distutils -MY_P=${P/xsv/XSV} -S=${WORKDIR}/${MY_P} +MY_PN="XSV" +MY_P="${MY_PN}-${PV}" DESCRIPTION="Python XML Schema Validator" -SRC_URI="ftp://ftp.cogsci.ed.ac.uk/pub/XSV/${MY_P}.tar.gz" HOMEPAGE="http://www.ltg.ed.ac.uk/~ht/xsv-status.html" +SRC_URI="ftp://ftp.cogsci.ed.ac.uk/pub/XSV/${MY_P}.tar.gz" -KEYWORDS="~ppc x86" -SLOT="0" LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc x86" IUSE="" -DEPEND=">=dev-lang/python-2.2.2 - >=dev-python/pyltxml-1.3" +DEPEND=">=dev-python/pyltxml-1.3" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="XSV" src_install() { distutils_src_install - dodoc xsv-status.xml pc-shrinkwrap - dohtml xsv-status.html - rm -rf "${D}$(python_get_sitedir)/XSV/doc" - mv "${D}$(python_get_sitedir)/XSV/example" "${D}usr/share/doc/${PF}" + + dodoc xsv-status.xml pc-shrinkwrap || die "dodoc failed" + dohtml xsv-status.html || die "dohtml failed" + insinto /usr/share/doc/${PF}/examples + doins triv.xml triv.xsd tiny.xml tiny.xsd || die "doins failed" + + delete_docs_and_examples() { + rm -fr "${ED}$(python_get_sitedir)/XSV/"{doc,example} + } + python_execute_function -q delete_docs_and_examples } |