diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-02 23:18:01 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-10-02 23:18:01 +0000 |
commit | ba02208e498fb8050d8e3cafdb2d5ad4618381d5 (patch) | |
tree | fee382597ef8d1496cff64c078d24212ac153418 /dev-python/apipkg | |
parent | Version bump. Catches more package inconsistencies, handles 'cave' package ma... (diff) | |
download | historical-ba02208e498fb8050d8e3cafdb2d5ad4618381d5.tar.gz historical-ba02208e498fb8050d8e3cafdb2d5ad4618381d5.tar.bz2 historical-ba02208e498fb8050d8e3cafdb2d5ad4618381d5.zip |
Initial addition. Ebuild written by me.
Package-Manager: portage-2.2_rc88_p72/cvs/Linux x86_64
Diffstat (limited to 'dev-python/apipkg')
-rw-r--r-- | dev-python/apipkg/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/apipkg/Manifest | 4 | ||||
-rw-r--r-- | dev-python/apipkg/apipkg-1.0_beta6.ebuild | 41 | ||||
-rw-r--r-- | dev-python/apipkg/metadata.xml | 5 |
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/apipkg/ChangeLog b/dev-python/apipkg/ChangeLog new file mode 100644 index 000000000000..8059432e864d --- /dev/null +++ b/dev-python/apipkg/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/apipkg +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apipkg/ChangeLog,v 1.1 2010/10/02 23:18:01 arfrever Exp $ + +*apipkg-1.0_beta6 (02 Oct 2010) + + 02 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +apipkg-1.0_beta6.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/dev-python/apipkg/Manifest b/dev-python/apipkg/Manifest new file mode 100644 index 000000000000..0a0e2bb36e11 --- /dev/null +++ b/dev-python/apipkg/Manifest @@ -0,0 +1,4 @@ +DIST apipkg-1.0b6.tar.gz 6442 RMD160 d8ae07c8f1f80aee3abdf63ee5de9fe46f0286af SHA1 fee6d0616ee5790ee84b7033c5bde4ba4b7c6a5f SHA256 994284feb95b250570b1e8d051e8d904e5d8d80bed2ef0849a1c66ddcbcfc196 +EBUILD apipkg-1.0_beta6.ebuild 1022 RMD160 f619458365bdba2f5d50db331bd0c3402f4b6da2 SHA1 f9fda6ce63cd0743eb1506b061be82a32c10218b SHA256 5b15c0f885c9b894d7ddc2739634b06df53fe41d6b90c72798d7b7db8161b3d0 +MISC ChangeLog 401 RMD160 6c4f04604d0c09f363bea0a59a33cc84a832d1c4 SHA1 ec966304edd78c5553711f2ffeb482a91c5d5f06 SHA256 b3527f8e81a014c975f4b57ec792d97cbbd48e4c400e0a1b5fb6c93b5c826696 +MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/apipkg/apipkg-1.0_beta6.ebuild b/dev-python/apipkg/apipkg-1.0_beta6.ebuild new file mode 100644 index 000000000000..b448fa039fa2 --- /dev/null +++ b/dev-python/apipkg/apipkg-1.0_beta6.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/apipkg/apipkg-1.0_beta6.ebuild,v 1.1 2010/10/02 23:18:01 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="py.test" + +inherit distutils + +MY_P="${PN}-${PV/_beta/b}" + +DESCRIPTION="apipkg: namespace control and lazy-import mechanism" +HOMEPAGE="http://pypi.python.org/pypi/apipkg" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +DOCS="CHANGELOG README.txt" +PYTHON_MODNAME="apipkg.py" + +src_prepare() { + distutils_src_prepare + + # Fix tests with Python 3. + sed \ + -e "s/print (realtest.x.module.__map__)/print((realtest.x.module.__map__))/" \ + -e "s/print mod.__dict__.keys()/print(list(mod.__dict__.keys()))/" \ + -i test_apipkg.py + + # Disable failing test. + sed -e "s/test_onfirstaccess_setsnewattr/_&/" -i test_apipkg.py +} diff --git a/dev-python/apipkg/metadata.xml b/dev-python/apipkg/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/apipkg/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> |