diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2013-07-01 09:40:08 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2013-07-01 09:40:08 +0000 |
commit | 92954840b890632489ed98c17fbb7c12a354cbe0 (patch) | |
tree | 88859c0af03bc8f2ab25b2d18dadb71245adab76 /dev-python/sqlite3dbm | |
parent | Migrate to distutils-r1 (diff) | |
download | gentoo-2-92954840b890632489ed98c17fbb7c12a354cbe0.tar.gz gentoo-2-92954840b890632489ed98c17fbb7c12a354cbe0.tar.bz2 gentoo-2-92954840b890632489ed98c17fbb7c12a354cbe0.zip |
Migrate to distutils-r1
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0x1E0CA85F!)
Diffstat (limited to 'dev-python/sqlite3dbm')
-rw-r--r-- | dev-python/sqlite3dbm/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild | 41 |
2 files changed, 48 insertions, 2 deletions
diff --git a/dev-python/sqlite3dbm/ChangeLog b/dev-python/sqlite3dbm/ChangeLog index d1e9476f4cf0..b3b546d24741 100644 --- a/dev-python/sqlite3dbm/ChangeLog +++ b/dev-python/sqlite3dbm/ChangeLog @@ -1,6 +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.6 2012/11/13 10:48:02 idella4 Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/sqlite3dbm/ChangeLog,v 1.7 2013/07/01 09:40:08 dev-zero Exp $ + +*sqlite3dbm-0.1.4-r1 (01 Jul 2013) + + 01 Jul 2013; Tiziano Müller <dev-zero@gentoo.org> +sqlite3dbm-0.1.4-r1.ebuild: + Migrate to distutils-r1 14 Nov 2012; Ian Delaney <idella4@gentoo.org> metadata.xml: Updating maintainer, metadata.xml diff --git a/dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild b/dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild new file mode 100644 index 000000000000..9519590a415f --- /dev/null +++ b/dev-python/sqlite3dbm/sqlite3dbm-0.1.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/07/01 09:40:08 dev-zero Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +# TODO: strip the -git at some version bump, introduced to avoid clash with +# earlier tarball +DESCRIPTION="An sqlite-backed dictionary" +HOMEPAGE="https://github.com/Yelp/sqlite3dbm http://pypi.python.org/pypi/sqlite3dbm/" +SRC_URI="https://github.com/Yelp/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc test" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx ) + test? ( dev-python/testify[${PYTHON_USEDEP}] )" + +DOCS=(AUTHORS.txt CHANGES.txt README.md) + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} + +src_test() { + testify tests || die +} |