diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-02-03 21:05:58 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-02-03 21:05:58 +0000 |
commit | a1707dbcba2e94ad457e203c48c5d4c380e199fc (patch) | |
tree | 5c9d208e4a84a7c7a800d46378b5dfd6a7617486 /dev-python/pyconstruct | |
parent | net-p2p/pandodl masked for removal in 30 days (diff) | |
download | gentoo-2-a1707dbcba2e94ad457e203c48c5d4c380e199fc.tar.gz gentoo-2-a1707dbcba2e94ad457e203c48c5d4c380e199fc.tar.bz2 gentoo-2-a1707dbcba2e94ad457e203c48c5d4c380e199fc.zip |
Initial import. Ebuild by Thomas R. (TRauMa). Closes #161853.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyconstruct')
-rw-r--r-- | dev-python/pyconstruct/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pyconstruct/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/pyconstruct/pyconstruct-2.0.0.ebuild | 53 |
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/pyconstruct/ChangeLog b/dev-python/pyconstruct/ChangeLog new file mode 100644 index 000000000000..cbaae3c58e39 --- /dev/null +++ b/dev-python/pyconstruct/ChangeLog @@ -0,0 +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 $ + +*pyconstruct-2.0.0 (03 Feb 2009) + + 03 Feb 2009; Patrick Lauer <patrick@gentoo.org> +metadata.xml, + +pyconstruct-2.0.0.ebuild: + Initial import. Ebuild by Thomas R. (TRauMa). Closes #161853. + diff --git a/dev-python/pyconstruct/metadata.xml b/dev-python/pyconstruct/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/pyconstruct/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> +</pkgmetadata> diff --git a/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild b/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild new file mode 100644 index 000000000000..d5ac20a7be44 --- /dev/null +++ b/dev-python/pyconstruct/pyconstruct-2.0.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 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 $ + +inherit python + +DESCRIPTION="Simple parsing of binary (and textual) data with Python" +HOMEPAGE="http://construct.wikispaces.com/" + +# 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 +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" + +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 +} + +#src_test() { +# echo TODO :-/ +#} + +pkg_postinst() { + python_version + python_mod_optimize "${ROOT}"usr/lib/python${PYVER}/site-packages/${PN} +} + +pkg_postrm() { + python_mod_cleanup +} |