summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-31 22:55:12 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-31 22:55:12 +0000
commit6705d33d46265924a0bb7a33ee023c2a9adfb714 (patch)
tree6a0793b4ba5b06adc2d927ed2f57facb0ad2c4a9 /dev-python/xsv
parentFix broken icon cache update, and drop useless quoting too. (diff)
downloadhistorical-6705d33d46265924a0bb7a33ee023c2a9adfb714.tar.gz
historical-6705d33d46265924a0bb7a33ee023c2a9adfb714.tar.bz2
historical-6705d33d46265924a0bb7a33ee023c2a9adfb714.zip
Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'dev-python/xsv')
-rw-r--r--dev-python/xsv/ChangeLog6
-rw-r--r--dev-python/xsv/Manifest4
-rw-r--r--dev-python/xsv/xsv-2.7.ebuild39
3 files changed, 34 insertions, 15 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/Manifest b/dev-python/xsv/Manifest
index a89a0656f53d..eaa8aa7c0acf 100644
--- a/dev-python/xsv/Manifest
+++ b/dev-python/xsv/Manifest
@@ -1,4 +1,4 @@
DIST XSV-2.7.tar.gz 140390 RMD160 94f218b99abf036846bf5bafd738a8508a6cf569 SHA1 8a91711e846b945c84b1ae4c47743d455dfe0b63 SHA256 bde597f4c46e85fc7fbec974a9e82787ec8c58ce5a5038dd73890b8a9e860c91
-EBUILD xsv-2.7.ebuild 759 RMD160 f01555747c5b24912ae01fce0b87f7e8fb215d5b SHA1 784a70c74f479e8cb04196ec69bd1b9c60da86f9 SHA256 c4afd3f94cfef710d5b7dbcba8bada33932b0e945f4579e4d8eadd046bf5a942
-MISC ChangeLog 1361 RMD160 92908c9e0b00081ee984ed0775c9d7c89df9e106 SHA1 b136e5b4f1b318b62c919668a95234555acdc098 SHA256 da89ddcd2f7ffd5cc4808414d83aaea73b2e43da8736b79db365371f0c589581
+EBUILD xsv-2.7.ebuild 1054 RMD160 d3e8392b5942815dbc3b467a253371d22ee1fa9c SHA1 5b689f4d361da915ca8014e1dc19b6f321e3c3e9 SHA256 6654e19cdcc1130c497185b507442b45b8477b7ecdec257e446ef5e315d9d4fb
+MISC ChangeLog 1511 RMD160 a89730f7b7a7fbbe6047e05a066302f3f882d3ff SHA1 7166d5ed46c5f1772a064781b6fd3bbe2d444e3f SHA256 019e9a2d8d7d943dee785c832b8f5b9b041e64249e8c34b91f121f6c170d348c
MISC metadata.xml 621 RMD160 fd40851cc1d236b643589de23ffaad787f2d4abe SHA1 f2109f811aa781756ccee011544417d8564ff761 SHA256 35193063fb4fa8975ee020eb7dbe7266f88e5b846ad2a3c2d3d5c0e1a72ba1d6
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
}