diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-12-28 03:26:16 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-12-28 03:26:16 +0000 |
commit | 2e8401d33ede741541ea25138eaa5d5cb6e562a6 (patch) | |
tree | baa3ef6bb8471e3fa448ae10f1f478b2f27c9f44 /dev-python/msgpack | |
parent | [media-sound/amarok] Drop the player use flag until upstream allows to (diff) | |
download | gentoo-2-2e8401d33ede741541ea25138eaa5d5cb6e562a6.tar.gz gentoo-2-2e8401d33ede741541ea25138eaa5d5cb6e562a6.tar.bz2 gentoo-2-2e8401d33ede741541ea25138eaa5d5cb6e562a6.zip |
Initial import for #370267, ebuild by Johan Bergström
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/msgpack')
-rw-r--r-- | dev-python/msgpack/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/msgpack/Manifest | 3 | ||||
-rw-r--r-- | dev-python/msgpack/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/msgpack/msgpack-0.1.12.ebuild | 47 |
4 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/msgpack/ChangeLog b/dev-python/msgpack/ChangeLog new file mode 100644 index 000000000000..c31d718be9bf --- /dev/null +++ b/dev-python/msgpack/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/msgpack +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/ChangeLog,v 1.1 2011/12/28 03:26:16 patrick Exp $ + +*msgpack-0.1.12 (28 Dec 2011) + + 28 Dec 2011; Patrick Lauer <patrick@gentoo.org> +metadata.xml, + +msgpack-0.1.12.ebuild: + Initial import for #370267, ebuild by Johan Bergstr�m + diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest new file mode 100644 index 000000000000..c349a63f49bb --- /dev/null +++ b/dev-python/msgpack/Manifest @@ -0,0 +1,3 @@ +DIST msgpack-python-0.1.12.tar.gz 49674 RMD160 ededbaf655314cc2df0b2c86640dd894af62a27d SHA1 2cff528c1466b903b8b13b23f96f8486d3438576 SHA256 5aa1d925a536c399a07a1f1d8f394d991ff735724e304a8cdab768f216f93ee6 +EBUILD msgpack-0.1.12.ebuild 916 RMD160 ed733ad964c653ec832fff69fdf3e49853e5baac SHA1 0648fa3f031a78661856f38e57328bb0b5f69471 SHA256 809e538c9c357b4a397e395d068ad5e092e748b71560d5b4b380dacab5ffc205 +MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/msgpack/metadata.xml b/dev-python/msgpack/metadata.xml new file mode 100644 index 000000000000..301d2207cc29 --- /dev/null +++ b/dev-python/msgpack/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/msgpack/msgpack-0.1.12.ebuild b/dev-python/msgpack/msgpack-0.1.12.ebuild new file mode 100644 index 000000000000..65c0926eaf7d --- /dev/null +++ b/dev-python/msgpack/msgpack-0.1.12.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/msgpack-0.1.12.ebuild,v 1.1 2011/12/28 03:26:16 patrick Exp $ + +EAPI="3" +PYTHON_DEPEND="2:2.5 3" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4" +DISTUTILS_SRC_TEST="nosetests" +DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" + +inherit distutils + +MY_PN="${PN}-python" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="MessagePack (de)serializer for Python" +HOMEPAGE="http://msgpack.org http://pypi.python.org/pypi/msgpack-python/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + distutils_src_prepare + + preparation() { + if [[ "${PYTHON_ABI}" == 3.* ]]; then + rm -rf test || die + mv test3 test || die + else + rm -rf test3 || die + fi + } + python_execute_function -s preparation +} + +src_test() { + distutils_src_test -P -w test; +}
\ No newline at end of file |