summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 19:04:28 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-08 19:04:28 +0000
commit5766c7218bac5cc7eb34da3d004bfa8035b45b63 (patch)
tree6fb22958d69073bba96831d8ba6cd9b0c01b40fb /dev-python/pyconstruct
parentOracle exchanged the tarballs on their download server without ver-/revbump. (diff)
downloadhistorical-5766c7218bac5cc7eb34da3d004bfa8035b45b63.tar.gz
historical-5766c7218bac5cc7eb34da3d004bfa8035b45b63.tar.bz2
historical-5766c7218bac5cc7eb34da3d004bfa8035b45b63.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyconstruct')
-rw-r--r--dev-python/pyconstruct/ChangeLog8
-rw-r--r--dev-python/pyconstruct/Manifest4
-rw-r--r--dev-python/pyconstruct/pyconstruct-2.0.0.ebuild49
3 files changed, 26 insertions, 35 deletions
diff --git a/dev-python/pyconstruct/ChangeLog b/dev-python/pyconstruct/ChangeLog
index cbaae3c58e39..945a6f35c8d4 100644
--- a/dev-python/pyconstruct/ChangeLog
+++ b/dev-python/pyconstruct/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pyconstruct
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyconstruct/ChangeLog,v 1.1 2009/02/03 21:05:58 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyconstruct/ChangeLog,v 1.2 2010/06/08 19:04:28 arfrever Exp $
+
+ 08 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pyconstruct-2.0.0.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*pyconstruct-2.0.0 (03 Feb 2009)
diff --git a/dev-python/pyconstruct/Manifest b/dev-python/pyconstruct/Manifest
index 93adadb0c2b9..4b0f715eab93 100644
--- a/dev-python/pyconstruct/Manifest
+++ b/dev-python/pyconstruct/Manifest
@@ -1,4 +1,4 @@
DIST construct-2.00-distro.zip 71559 RMD160 084b0c14260d3b9eb93c9034c4b336c0fa30df1e SHA1 ff1e2f7b90f994f037ac22e490a881bc96e47d30 SHA256 d8d8e25c51a293da82ee7dbe1b38cc0b81d7602fc695001e5c31006dd7eb41a1
-EBUILD pyconstruct-2.0.0.ebuild 1262 RMD160 2c18953c3b0693e23a656cf42fd0690085cc17f1 SHA1 63e25a342d81252491f9c0f081a087e26f6fecbd SHA256 d6127abb959b6c7003850791a307d1da438b13f61471658b5784b5bf5d1da901
-MISC ChangeLog 411 RMD160 4346d0b97453129f4b1a0b756e4a7d3a02fd19dd SHA1 bd5b60c4849bf0e156e3d859efca92c52ddc1249 SHA256 c8e8da223737ab3847006da03ee4ddc45c4c503470e5a9fd4a53cadc4aa76e4e
+EBUILD pyconstruct-2.0.0.ebuild 940 RMD160 5dde387ced0989d0ba61042c42e4aae62c363816 SHA1 24d4ea9a7b2af6b0fca758701845ab99f90ff0ef SHA256 96cf5655c79a0883a7aa3933cd799a03f0b81a5c31ebbe5ca3031127a7b1adee
+MISC ChangeLog 541 RMD160 df97dd83b8db631491e467cb67355713cfba3dde SHA1 fb228be0d1fb7e9dd220c0cf02fbacfa3f89958f SHA256 3c10e0bcbf47c01d0bb01e6e7218c700b71d4dbeb75452d94eb6b02434806997
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild b/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild
index d5ac20a7be44..ced4cf34ea74 100644
--- a/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild
+++ b/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild
@@ -1,53 +1,40 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild,v 1.1 2009/02/03 21:05:58 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild,v 1.2 2010/06/08 19:04:28 arfrever Exp $
-inherit python
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
-DESCRIPTION="Simple parsing of binary (and textual) data with Python"
-HOMEPAGE="http://construct.wikispaces.com/"
+inherit python
-# TODO
-# tests are quite large, upstream provides extra dist with them
-#SRC_URI="
-# !test? ( mirror://sourceforge/pyconstruct/construct-${PV}-distro.zip )
-# test? ( mirror://sourceforge/pyconstruct/construct-${PV}-full.zip )
-#"
-# Upstream labels it as 2.00
+DESCRIPTION="Library for constructing (parsing and building) of binary and textual data structures"
+HOMEPAGE="http://construct.wikispaces.com/ http://pypi.python.org/pypi/construct"
SRC_URI="mirror://sourceforge/pyconstruct/construct-2.00-distro.zip"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64"
-#IUSE="test"
IUSE=""
-DEPEND=""
-RDEPEND=">=dev-lang/python-2.5"
+DEPEND="app-arch/unzip"
+RDEPEND=""
S="${WORKDIR}/construct"
-src_compile() {
- # Hello World! :-)
- einfo Nothing to compile
-}
-
src_install() {
- # upstream "doesn't believe in setups"
- python_version
- dodir /usr/lib/python${PYVER}/site-packages
- cp -ra "${S}" "${D}"/usr/lib/python${PYVER}/site-packages || die
+ installation() {
+ insinto $(python_get_sitedir)/construct
+ doins -r *
+ }
+ python_execute_function installation
}
-#src_test() {
-# echo TODO :-/
-#}
-
pkg_postinst() {
- python_version
- python_mod_optimize "${ROOT}"usr/lib/python${PYVER}/site-packages/${PN}
+ python_mod_optimize construct
}
pkg_postrm() {
- python_mod_cleanup
+ python_mod_cleanup construct
}