diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2012-05-18 13:46:11 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2012-05-18 13:46:11 +0000 |
commit | 48bf895c26c5bfb37885e3a8de7ef928cce8cadf (patch) | |
tree | d40818243b71779bcf618bcff5ae2af4d9586cd1 /dev-python/sqlite3dbm | |
parent | Initial import, ebuild written by me (diff) | |
download | gentoo-2-48bf895c26c5bfb37885e3a8de7ef928cce8cadf.tar.gz gentoo-2-48bf895c26c5bfb37885e3a8de7ef928cce8cadf.tar.bz2 gentoo-2-48bf895c26c5bfb37885e3a8de7ef928cce8cadf.zip |
Initial import, fixes #415537. Ebuild written by Ian Delaney <johneed@hotmail.com>
(Portage version: 2.2.0_alpha105/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/sqlite3dbm')
-rw-r--r-- | dev-python/sqlite3dbm/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/sqlite3dbm/metadata.xml | 15 | ||||
-rw-r--r-- | dev-python/sqlite3dbm/sqlite3dbm-0.1.4.ebuild | 48 |
3 files changed, 74 insertions, 0 deletions
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 <xarthisius@gentoo.org> +metadata.xml, + +sqlite3dbm-0.1.4.ebuild: + Initial import, fixes #415537. Ebuild written by Ian Delaney + <johneed@hotmail.com> + 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <maintainer> + <email>tampakrap@gentoo.org</email> + <name>Theo Chatzimichos</name> + <description>Proxy maintainer. CC him on bugs</description> + </maintainer> + <maintainer> + <email>johneed@hotmail.com</email> + <name>Ian Delaney</name> + <description>Maintainer. Assign bugs to him</description> + </maintainer> +</pkgmetadata> 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 +} |