dev-python/python-lzo: version bump
authorSébastien Fabbro <bicatali@gentoo.org>
Sat, 29 Jul 2017 17:52:26 +0000 (17:52 +0000)
committerSébastien Fabbro <bicatali@gentoo.org>
Mon, 31 Jul 2017 18:11:44 +0000 (18:11 +0000)
Package-Manager: Portage-2.3.6, Repoman-2.3.3

dev-python/python-lzo/Manifest
dev-python/python-lzo/metadata.xml
dev-python/python-lzo/python-lzo-1.11.ebuild [new file with mode: 0644]

index 374b3613155fbf2ed0efe8cf512203b855b97c75..09ee8d14aebb2aed625a57cacb507ad57c2f5995 100644 (file)
@@ -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
index 7f4f33c6dbc9200d864420ebb60bc013c81df84d..7a73a15e9a734610a0a7653827768d602e3555b5 100644 (file)
@@ -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 (file)
index 0000000..34f5c61
--- /dev/null
@@ -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"
+}