Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/plyvel/
Date: Thu, 02 May 2019 22:31:29
Message-Id: 1556836258.887d8b4a1f7c752cc86adb9c73483fbf0f9c0bba.sbraz@gentoo
1 commit: 887d8b4a1f7c752cc86adb9c73483fbf0f9c0bba
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 2 22:30:11 2019 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Thu May 2 22:30:58 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=887d8b4a
7
8 dev-python/plyvel: remove old
9
10 Package-Manager: Portage-2.3.64, Repoman-2.3.12
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 dev-python/plyvel/Manifest | 1 -
14 dev-python/plyvel/plyvel-1.0.4.ebuild | 49 -----------------------------------
15 2 files changed, 50 deletions(-)
16
17 diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest
18 index 6c7646582d5..f4e8b4ed2b5 100644
19 --- a/dev-python/plyvel/Manifest
20 +++ b/dev-python/plyvel/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST plyvel-1.0.4.tar.gz 338470 BLAKE2B dbc33ac9962ed3b74d83158e973ac956bd9fa81c7e1980c1d79187f6e629d0605d821debe4bfd4532120f343b87ee3acd825514884d78b471d3717364837ce42 SHA512 ee397d4f7e2dac4e7b382841559895184dc0356b84da4ff4ccdad43c32aebcb1dcc5020230a5564c875ed5d4401cc8b009438ca3b2e0b50e6467e384f0366171
23 DIST plyvel-1.0.5.tar.gz 143728 BLAKE2B 2eac687e6901381b62df5278abe00684c8e5a9ac162596a1a1a0e620536155b5e5c0ba0ab9bb32c1d3a6467d997cfdf530e9275024f8caba3323728f3f3aba67 SHA512 d2a7fe9d49b377135ece03292f366423e9550d3440689a99246d8c5ddc38e474c2b05c709655c6bf74a1d04f742a23dfb8841b51698c2adb062418577b28c4b4
24 DIST plyvel-1.1.0.tar.gz 143970 BLAKE2B 980c8117f39c704abaf1733bfabb6816aa84e5e449ed37368038a7d6cd4cbbbf832319bf149ec6ae7cca5074984427df08afc50e033451d3d97ddafd210d91e0 SHA512 4d9b20f7e047d75af14d530519b4360194a18aa423a57ac4596441e47528bbc9f8e3ff763dd91da4c115cb1e4a6f34f01bbd47f4be49be110b2f6e3c7b8bdb3a
25
26 diff --git a/dev-python/plyvel/plyvel-1.0.4.ebuild b/dev-python/plyvel/plyvel-1.0.4.ebuild
27 deleted file mode 100644
28 index c30bc2228a8..00000000000
29 --- a/dev-python/plyvel/plyvel-1.0.4.ebuild
30 +++ /dev/null
31 @@ -1,49 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -# Tests fail with PyPy: https://github.com/wbolster/plyvel/issues/38
38 -PYTHON_COMPAT=( pypy3 python{2_7,3_{5,6}} )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="Python interface to LevelDB"
43 -HOMEPAGE="https://github.com/wbolster/plyvel"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="MIT"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~x86"
49 -IUSE="doc test"
50 -
51 -RDEPEND=">=dev-libs/leveldb-1.20:="
52 -DEPEND="
53 - ${RDEPEND}
54 - dev-python/setuptools[${PYTHON_USEDEP}]
55 - test? (
56 - dev-python/pytest[${PYTHON_USEDEP}]
57 - )
58 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
59 -"
60 -
61 -python_compile() {
62 - # https://wiki.gentoo.org/wiki/Project:Python/Strict_aliasing
63 - python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
64 - distutils-r1_python_compile
65 -}
66 -
67 -python_compile_all() {
68 - if use doc; then
69 - sphinx-build doc doc/_build/html || die
70 - HTML_DOCS=( doc/_build/html/. )
71 - fi
72 -}
73 -
74 -python_test() {
75 - # We need to copy the extension to the package folder
76 - local ext="$(ls "${BUILD_DIR}/lib/${PN}/"*.so | head -n1 || die)"
77 - ln -s "${ext}" "${PN}" || die
78 - py.test || die "tests failed with ${EPYTHON}"
79 - rm "${PN}/$(basename "${ext}")" || die
80 -}