From 48bf895c26c5bfb37885e3a8de7ef928cce8cadf Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Fri, 18 May 2012 13:46:11 +0000 Subject: Initial import, fixes #415537. Ebuild written by Ian Delaney (Portage version: 2.2.0_alpha105/cvs/Linux x86_64) --- dev-python/sqlite3dbm/ChangeLog | 11 ++++++ dev-python/sqlite3dbm/metadata.xml | 15 +++++++++ dev-python/sqlite3dbm/sqlite3dbm-0.1.4.ebuild | 48 +++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 dev-python/sqlite3dbm/ChangeLog create mode 100644 dev-python/sqlite3dbm/metadata.xml create mode 100644 dev-python/sqlite3dbm/sqlite3dbm-0.1.4.ebuild diff --git a/dev-python/sqlite3dbm/ChangeLog b/dev-python/sqlite3dbm/ChangeLog new file mode 100644 index 000000000000..81f411c73779 --- /dev/null +++ b/dev-python/sqlite3dbm/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/sqlite3dbm +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlite3dbm/ChangeLog,v 1.1 2012/05/18 13:46:11 xarthisius Exp $ + +*sqlite3dbm-0.1.4 (18 May 2012) + + 18 May 2012; Kacper Kowalik +metadata.xml, + +sqlite3dbm-0.1.4.ebuild: + Initial import, fixes #415537. Ebuild written by Ian Delaney + + diff --git a/dev-python/sqlite3dbm/metadata.xml b/dev-python/sqlite3dbm/metadata.xml new file mode 100644 index 000000000000..4da32c02e8f0 --- /dev/null +++ b/dev-python/sqlite3dbm/metadata.xml @@ -0,0 +1,15 @@ + + + + python + + tampakrap@gentoo.org + Theo Chatzimichos + Proxy maintainer. CC him on bugs + + + johneed@hotmail.com + Ian Delaney + Maintainer. Assign bugs to him + + diff --git a/dev-python/sqlite3dbm/sqlite3dbm-0.1.4.ebuild b/dev-python/sqlite3dbm/sqlite3dbm-0.1.4.ebuild new file mode 100644 index 000000000000..be8ce2cd302d --- /dev/null +++ b/dev-python/sqlite3dbm/sqlite3dbm-0.1.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlite3dbm/sqlite3dbm-0.1.4.ebuild,v 1.1 2012/05/18 13:46:11 xarthisius Exp $ + +EAPI=4 + +SUPPORT_PYTHON_ABIS=1 +RESTRICT_PYTHON_ABIS="3.*" +PYTHON_USE_WITH="sqlite" + +inherit distutils vcs-snapshot + +DESCRIPTION="An sqlite-backed dictionary" +HOMEPAGE="https://github.com/Yelp/sqlite3dbm http://pypi.python.org/pypi/sqlite3dbm/" +SRC_URI="https://github.com/Yelp/${PN}/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +RDEPEND="" +DEPEND="dev-python/setuptools + doc? ( dev-python/sphinx ) + test? ( dev-python/testify )" + +DOCS="AUTHORS.txt CHANGES.txt README.md" + +src_compile() { + distutils_src_compile + if use doc ; then + emake -C docs html + fi +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib/" testify tests + } + python_execute_function testing +} + +src_install() { + distutils_src_install + if use doc; then + dohtml -r docs/_build/html/ + fi +} -- cgit v1.2.3-65-gdbad