diff options
-rw-r--r-- | dev-python/lmdb/Manifest | 1 | ||||
-rw-r--r-- | dev-python/lmdb/lmdb-0.92.ebuild | 25 | ||||
-rw-r--r-- | dev-python/lmdb/metadata.xml | 12 |
3 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/lmdb/Manifest b/dev-python/lmdb/Manifest new file mode 100644 index 000000000000..5908b9d254ad --- /dev/null +++ b/dev-python/lmdb/Manifest @@ -0,0 +1 @@ +DIST lmdb-0.92.tar.gz 155720 SHA256 3d73238ab0e1f9d8b8ea4916b66f9e91574ec64f844f91b6e9374e894036dc06 SHA512 5177abe0c441fb9067ad84de0cafda960113042404507eaf36194efe614fbc9fda37668b9d8a07d4a7f674b0c1a267194ddfb241834a3b1db0d8026f53841cf2 WHIRLPOOL eeddff397808f18e76dd68a45f68b946d11233ccfbf0318587e5c5b9f109f96d3821b584f55715fc9be380cfc33288088f65453fbdab17cc20852a81ebfbe576 diff --git a/dev-python/lmdb/lmdb-0.92.ebuild b/dev-python/lmdb/lmdb-0.92.ebuild new file mode 100644 index 000000000000..5cfda1ddd8b7 --- /dev/null +++ b/dev-python/lmdb/lmdb-0.92.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the Lightning Database" +HOMEPAGE="http://github.com/dw/py-lmdb/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-db/lmdb:=" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_compile() { + LMDB_FORCE_SYSTEM=1 distutils-r1_python_compile +} diff --git a/dev-python/lmdb/metadata.xml b/dev-python/lmdb/metadata.xml new file mode 100644 index 000000000000..06b93698919c --- /dev/null +++ b/dev-python/lmdb/metadata.xml @@ -0,0 +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> + <upstream> + <remote-id type="pypi">lmdb</remote-id> + <remote-id type="github">dw/py-lmdb</remote-id> + </upstream> +</pkgmetadata> |