From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/plyvel/Manifest | 4 +++ dev-python/plyvel/metadata.xml | 18 +++++++++++++ dev-python/plyvel/plyvel-0.9.ebuild | 52 +++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 dev-python/plyvel/Manifest create mode 100644 dev-python/plyvel/metadata.xml create mode 100644 dev-python/plyvel/plyvel-0.9.ebuild (limited to 'dev-python/plyvel') diff --git a/dev-python/plyvel/Manifest b/dev-python/plyvel/Manifest new file mode 100644 index 000000000000..25b5c5dec891 --- /dev/null +++ b/dev-python/plyvel/Manifest @@ -0,0 +1,4 @@ +DIST plyvel-0.9.tar.gz 121513 SHA256 587d93681ae44936ae086b4b45486eb302e3853ba5af149aac3be9e9713998e9 SHA512 21a3bf0bff075e429fef63418c2a2578b22a4904cc2f4f66fc5fbccec22c762d918bea0622a22dcbeee2e60f8d35210ae8f1e63b6d37405f0fdf29ca2fe80586 WHIRLPOOL baf98bb318bb402ba26d98b1a4657a72b7b1b93dda7e0f0b667b66af798cd6e7723a1ae740265a88266ab608023de8b3d350873560117bf9557f2e8abf792453 +EBUILD plyvel-0.9.ebuild 1155 SHA256 7afeb19a678c7e9f259aae3ba6fdc23d0e59aeeaca42fe9b0568461086e55060 SHA512 e55a74c3bfa5d5e17e5c199ca14dc9589b335214d12669fc25ce9fb40e307e52baa764ff6d812428cf3ef15273e5293b191ed521f3961d1e812ff40ebed16735 WHIRLPOOL e1b0d9a2f2967270a9811ad8418740f2a3b7b228fca29857f273411f0ef1f81f89d1e869fc456189444e3ffb4bd44fd7f3fc4edb97021417c47a397b95fb5fe2 +MISC ChangeLog 823 SHA256 af076c831bb993eec92b329f190d9aafc515b08f4c419eb736d3a0350974318c SHA512 94a07c2b24fd3ad7a83f7a49e2c7e787229d43616bfe22620b222c825a08dda1081a368cfe6ac0ebda43ca0cbe284fa765c46d284fde419988ee44ef598a86b2 WHIRLPOOL 769dca5336fc781fb15535969fc1ae9ac9e64c1348e2e9f5dfd830bf916e57225eaa62e2e014e1fa503bec82bbc69f3e811b1beb836b24a3b6a78fce16d7cbfc +MISC metadata.xml 628 SHA256 cfe0baade567d24282c9aa5e6dd6a3135b0f02dd6e995ae087ecf7ed205e3022 SHA512 b802a4e7746b14d914cf78631a6a62c791b542c7924e0f6f651bf2be018267889d6528abe40ee82dddd9482bea083056796c84b879b65225daa83e6d7ab496cb WHIRLPOOL ba1e7bd2c44bbfa235f0198c5926151442eb617c1f8c98dfc1039864611cc8fdac59e4b3232ee30a2400957877442fe3195162484f62a37f1a325ca387b228af diff --git a/dev-python/plyvel/metadata.xml b/dev-python/plyvel/metadata.xml new file mode 100644 index 000000000000..fe5a06876297 --- /dev/null +++ b/dev-python/plyvel/metadata.xml @@ -0,0 +1,18 @@ + + + + + sautier.louis@gmail.com + Louis Sautier + Proxied maintainer; set to assignee in all bugs + + + proxy-maint@gentoo.org + Proxy Maintainers + + + plyvel + wbolster/plyvel + wbolster/plyvel + + diff --git a/dev-python/plyvel/plyvel-0.9.ebuild b/dev-python/plyvel/plyvel-0.9.ebuild new file mode 100644 index 000000000000..ce2e392a5bb7 --- /dev/null +++ b/dev-python/plyvel/plyvel-0.9.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Python interface to LevelDB" +HOMEPAGE="https://github.com/wbolster/plyvel" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-libs/leveldb" +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_compile() { + python_is_python3 || local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake doc +} + +python_test() { + local lib="$(ls "${BUILD_DIR}/lib/${PN}/"*.so | head -n1)" + ln -s "${lib}" "${PN}" || die + py.test || die "tests failed with ${EPYTHON}" + rm "${PN}/$(basename "${lib}")" || die +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build//html/. ) + distutils-r1_python_install_all +} -- cgit v1.2.3