From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/plyvel/
Date: Mon, 18 Jun 2018 22:27:03 +0000 (UTC) [thread overview]
Message-ID: <1529359853.5ace34150b61d55161796d966d41925b678a8720.sbraz@gentoo> (raw)
commit: 5ace34150b61d55161796d966d41925b678a8720
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 18 22:10:17 2018 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Mon Jun 18 22:10:53 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ace3415
dev-python/plyvel: bump to 1.0.4, add PyPy 3 support
Package-Manager: Portage-2.3.40, Repoman-2.3.9
dev-python/plyvel/Manifest | 1 +
dev-python/plyvel/plyvel-1.0.4.ebuild | 49 +++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest
index 7271bed75b3..65d9d5a9229 100644
--- a/dev-python/plyvel/Manifest
+++ b/dev-python/plyvel/Manifest
@@ -1 +1,2 @@
DIST plyvel-0.9.tar.gz 121513 BLAKE2B 78aa0dc3565a9e2298978ea4f2014670cbaa376e35f21be6b3c26a39db2c560d08667c385894bc3df6ae33da266eabf9cf72b81156759a28d75856760ca7cf73 SHA512 21a3bf0bff075e429fef63418c2a2578b22a4904cc2f4f66fc5fbccec22c762d918bea0622a22dcbeee2e60f8d35210ae8f1e63b6d37405f0fdf29ca2fe80586
+DIST plyvel-1.0.4.tar.gz 338470 BLAKE2B dbc33ac9962ed3b74d83158e973ac956bd9fa81c7e1980c1d79187f6e629d0605d821debe4bfd4532120f343b87ee3acd825514884d78b471d3717364837ce42 SHA512 ee397d4f7e2dac4e7b382841559895184dc0356b84da4ff4ccdad43c32aebcb1dcc5020230a5564c875ed5d4401cc8b009438ca3b2e0b50e6467e384f0366171
diff --git a/dev-python/plyvel/plyvel-1.0.4.ebuild b/dev-python/plyvel/plyvel-1.0.4.ebuild
new file mode 100644
index 00000000000..8cac70ffdf3
--- /dev/null
+++ b/dev-python/plyvel/plyvel-1.0.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# Tests fail with PyPy: https://github.com/wbolster/plyvel/issues/38
+PYTHON_COMPAT=( pypy3 python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface to LevelDB"
+HOMEPAGE="https://github.com/wbolster/plyvel"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-libs/leveldb-1.20:="
+DEPEND="
+ ${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+"
+
+python_compile() {
+ # https://wiki.gentoo.org/wiki/Project:Python/Strict_aliasing
+ python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+ distutils-r1_python_compile
+}
+
+python_compile_all() {
+ if use doc; then
+ sphinx-build doc doc/_build/html || die
+ HTML_DOCS=( doc/_build/html/. )
+ fi
+}
+
+python_test() {
+ # We need to copy the extension to the package folder
+ local ext="$(ls "${BUILD_DIR}/lib/${PN}/"*.so | head -n1 || die)"
+ ln -s "${ext}" "${PN}" || die
+ py.test || die "tests failed with ${EPYTHON}"
+ rm "${PN}/$(basename "${ext}")" || die
+}
next reply other threads:[~2018-06-18 22:27 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-18 22:27 Louis Sautier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-20 18:40 [gentoo-commits] repo/gentoo:master commit in: dev-python/plyvel/ Michał Górny
2024-01-16 7:02 Michał Górny
2023-11-01 17:09 Michał Górny
2023-06-01 13:40 Michał Górny
2023-05-04 16:22 Michał Górny
2022-11-14 4:44 Michał Górny
2022-11-14 4:44 Michał Górny
2022-10-27 4:49 Michał Górny
2022-05-16 13:24 Michał Górny
2022-01-08 2:31 Louis Sautier
2021-08-05 19:13 Louis Sautier
2020-10-10 19:06 Louis Sautier
2020-09-04 22:14 Louis Sautier
2020-03-28 11:59 Michał Górny
2020-01-22 22:35 Louis Sautier
2020-01-22 22:35 Louis Sautier
2019-05-02 22:31 Louis Sautier
2019-05-02 22:31 Louis Sautier
2018-07-19 9:59 Louis Sautier
2018-07-19 9:59 Louis Sautier
2018-06-18 20:41 Louis Sautier
2018-06-18 10:34 Louis Sautier
2018-06-17 20:34 David Seifert
2017-12-26 8:17 Zac Medico
2016-02-14 17:02 Patrick Lauer
2016-01-13 10:31 Ian Delaney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1529359853.5ace34150b61d55161796d966d41925b678a8720.sbraz@gentoo \
--to=sbraz@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox