Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-lzo/
Date: Tue, 31 Jul 2018 08:01:00
Message-Id: 1533024038.456f47ad807b2e38b401e321775b3c46547b438c.monsieurp@gentoo
1 commit: 456f47ad807b2e38b401e321775b3c46547b438c
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 30 21:02:11 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 31 08:00:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456f47ad
7
8 dev-python/python-lzo: version bump.
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 dev-python/python-lzo/Manifest | 1 +
13 dev-python/python-lzo/python-lzo-1.12.ebuild | 35 ++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/python-lzo/Manifest b/dev-python/python-lzo/Manifest
17 index 7963f22b70f..221e08149a2 100644
18 --- a/dev-python/python-lzo/Manifest
19 +++ b/dev-python/python-lzo/Manifest
20 @@ -1,2 +1,3 @@
21 DIST python-lzo-1.08.tar.gz 13046 BLAKE2B ce4e2d2b1497ed93cdc15d157228bd7b3b6395b19808ac9c91ebfc3da6506a0af4d4e770f6e13a23e6ffd6f38cb2fd6e91f949d44680a6ea236e4c3704fb43aa SHA512 94b33e3b0e62b9c8a97147507f4516706d25d62c63ea938f0748e520a3e27760f0e3be142cb3e68aea132ae06759c91b3a4dac8e5010cdfab633e6c8d5904d8c
22 DIST python-lzo-1.11.tar.gz 13823 BLAKE2B 4be60c85aae64e8837f7f8ec332c16f8c86d2e8b2e965e783cb9b0c6c942aa13750dc194679b71a6a0d733bee66313b8ca376853cee7063a46567222f80daa7e SHA512 580c68d2a5fdc43f6cb904507795c25b686c42074f217d067f51b336afa75d3eea10fcb7925c84aea352ce4383c591ff70583bef6c2fbc74116487ae87e1f87f
23 +DIST python-lzo-1.12.tar.gz 14042 BLAKE2B 7375e9b200a17cc1ad2c4dfdbe6491082af8d120b2b659b1e9bbff00eaae568e04dc12e5c13de3a028267a1e8e02bd1522a9335db73fa6a5a4ebc7ca4b341fff SHA512 811bdb282cfaf33427ad641d0342900c5af1f17b7033d76593288c3846b0feefe6ef93253152add97b2d6420f937de2745c8e7508dadf33e72b11545cac3be4d
24
25 diff --git a/dev-python/python-lzo/python-lzo-1.12.ebuild b/dev-python/python-lzo/python-lzo-1.12.ebuild
26 new file mode 100644
27 index 00000000000..c580f4bcf7b
28 --- /dev/null
29 +++ b/dev-python/python-lzo/python-lzo-1.12.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
37 +
38 +inherit distutils-r1 prefix
39 +
40 +DESCRIPTION="Python interface to lzo"
41 +HOMEPAGE="https://github.com/jd-boyd/python-lzo"
42 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
47 +IUSE="test"
48 +
49 +RDEPEND="
50 + dev-libs/lzo:2"
51 +
52 +DEPEND="
53 + ${RDEPEND}
54 + dev-python/setuptools[${PYTHON_USEDEP}]
55 + test? ( dev-python/nose[${PYTHON_USEDEP}] )"
56 +
57 +src_prepare() {
58 + distutils-r1_src_prepare
59 + hprefixify setup.py
60 +}
61 +
62 +python_test() {
63 + distutils_install_for_testing
64 + PYTHONPATH="${TEST_DIR}"/lib nosetests -v || die "tests failed"
65 +}