diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-11-24 14:20:46 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-11-24 14:20:46 +0000 |
commit | 1bbadf20d3324f91dc35f8fa7f7ec203b66ef243 (patch) | |
tree | 3d6a288e112b7ef4cbb04bffb61961d36d8a3b07 /dev-python/snappy | |
parent | dev-python/wsaccel: Add support for python-3.4 (diff) | |
download | gentoo-2-1bbadf20d3324f91dc35f8fa7f7ec203b66ef243.tar.gz gentoo-2-1bbadf20d3324f91dc35f8fa7f7ec203b66ef243.tar.bz2 gentoo-2-1bbadf20d3324f91dc35f8fa7f7ec203b66ef243.zip |
dev-python/snappy: Add support for python-3.4
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python/snappy')
-rw-r--r-- | dev-python/snappy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/snappy/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/snappy/snappy-0.5-r2.ebuild | 29 |
3 files changed, 44 insertions, 9 deletions
diff --git a/dev-python/snappy/ChangeLog b/dev-python/snappy/ChangeLog index 6ec18c82deac..49ba1ec19f97 100644 --- a/dev-python/snappy/ChangeLog +++ b/dev-python/snappy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/snappy # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/snappy/ChangeLog,v 1.8 2014/03/12 00:16:04 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/snappy/ChangeLog,v 1.9 2014/11/24 14:20:46 jlec Exp $ + +*snappy-0.5-r2 (24 Nov 2014) + + 24 Nov 2014; Justin Lecher <jlec@gentoo.org> +snappy-0.5-r2.ebuild, + metadata.xml: + Add support for python-3.4 12 Mar 2014; Tim Harder <radhermit@gentoo.org> snappy-0.5-r1.ebuild: Run tests verbosely. diff --git a/dev-python/snappy/metadata.xml b/dev-python/snappy/metadata.xml index 9d9b2c7e9cb9..f1ec53a28472 100644 --- a/dev-python/snappy/metadata.xml +++ b/dev-python/snappy/metadata.xml @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>python</herd> - <maintainer> - <email>radhermit@gentoo.org</email> - <name>Tim Harder</name> - </maintainer> - <upstream> - <remote-id type="pypi">python-snappy</remote-id> - </upstream> + <herd>python</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> + <upstream> + <remote-id type="pypi">python-snappy</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/snappy/snappy-0.5-r2.ebuild b/dev-python/snappy/snappy-0.5-r2.ebuild new file mode 100644 index 000000000000..1c38b93c7d96 --- /dev/null +++ b/dev-python/snappy/snappy-0.5-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/snappy/snappy-0.5-r2.ebuild,v 1.1 2014/11/24 14:20:46 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit distutils-r1 + +MY_PN=python-${PN} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python library for the snappy compression library from Google" +HOMEPAGE="http://pypi.python.org/pypi/python-snappy" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +DEPEND=">=app-arch/snappy-1.0.2" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +python_test() { + "${PYTHON}" test_snappy.py -v || die "Tests fail with ${EPYTHON}" +} |