diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2017-07-29 17:52:26 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2017-07-31 18:11:44 +0000 |
commit | b4f06c664774031d9eb2c1df0aea39bbd4dadd12 (patch) | |
tree | 363276485d71928a68fff9905504c28980fd4c1c /dev-python/python-lzo | |
parent | dev-python/distributed: version bump (diff) | |
download | gentoo-b4f06c664774031d9eb2c1df0aea39bbd4dadd12.tar.gz gentoo-b4f06c664774031d9eb2c1df0aea39bbd4dadd12.tar.bz2 gentoo-b4f06c664774031d9eb2c1df0aea39bbd4dadd12.zip |
dev-python/python-lzo: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python/python-lzo')
-rw-r--r-- | dev-python/python-lzo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-lzo/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/python-lzo/python-lzo-1.11.ebuild | 33 |
3 files changed, 42 insertions, 4 deletions
diff --git a/dev-python/python-lzo/Manifest b/dev-python/python-lzo/Manifest index 374b3613155f..09ee8d14aebb 100644 --- a/dev-python/python-lzo/Manifest +++ b/dev-python/python-lzo/Manifest @@ -1 +1,2 @@ DIST python-lzo-1.08.tar.gz 13046 SHA256 2865afe7b995844bf80af94441d1ccf908b0e3aba3eacf5ba602f23e748476c4 SHA512 94b33e3b0e62b9c8a97147507f4516706d25d62c63ea938f0748e520a3e27760f0e3be142cb3e68aea132ae06759c91b3a4dac8e5010cdfab633e6c8d5904d8c WHIRLPOOL 84bcf130df8341ff145d895bc814b58ec2183c15ffedbc345aa6eb89931f22a9c78899c50b7a054beef9d7ca0b0c4be4e5e407a0ee794ee1830e2c6c9e796a31 +DIST python-lzo-1.11.tar.gz 13823 SHA256 38a0ea4ceb27cdd8e3526509fe1b7a936e5dfa57c64608fd32085c129e8be386 SHA512 580c68d2a5fdc43f6cb904507795c25b686c42074f217d067f51b336afa75d3eea10fcb7925c84aea352ce4383c591ff70583bef6c2fbc74116487ae87e1f87f WHIRLPOOL 1773200bbe7dbfe87e121aac733595d713eda4a4139241b11078dca617722a01c4fd5aa041d15be161de6b82dd4982f077c18a7f4edcc9fd18a1d3519eb8c992 diff --git a/dev-python/python-lzo/metadata.xml b/dev-python/python-lzo/metadata.xml index 7f4f33c6dbc9..7a73a15e9a73 100644 --- a/dev-python/python-lzo/metadata.xml +++ b/dev-python/python-lzo/metadata.xml @@ -1,8 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">python-lzo</remote-id> + <remote-id type="github">jd-boyd/python-lzo</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-python/python-lzo/python-lzo-1.11.ebuild b/dev-python/python-lzo/python-lzo-1.11.ebuild new file mode 100644 index 000000000000..34f5c61abb3f --- /dev/null +++ b/dev-python/python-lzo/python-lzo-1.11.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Python interface to lzo" +HOMEPAGE="https://github.com/jd-boyd/python-lzo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND="dev-libs/lzo:2" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +src_prepare() { + distutils-r1_src_prepare + PREFIX="${EPREFIX}" +} + +python_test() { + distutils_install_for_testing + PYTHONPATH="${TEST_DIR}"/lib nosetests -v || die "tests failed" +} |