diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-05-16 17:47:17 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-05-16 17:47:17 +0000 |
commit | 0edeb1141c9a3b644fefc88e070508b75e6abb42 (patch) | |
tree | 066518bf9d9a6c7bb5232d0264c75c0b5382c4a5 /dev-python/bsddb3 | |
parent | Use --pidfile with ssd, as well as a better --retry value #269697 by Jerome V... (diff) | |
download | gentoo-2-0edeb1141c9a3b644fefc88e070508b75e6abb42.tar.gz gentoo-2-0edeb1141c9a3b644fefc88e070508b75e6abb42.tar.bz2 gentoo-2-0edeb1141c9a3b644fefc88e070508b75e6abb42.zip |
Version bump.
(Portage version: 13622-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/bsddb3')
-rw-r--r-- | dev-python/bsddb3/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/bsddb3/bsddb3-4.7.6.ebuild | 60 |
2 files changed, 68 insertions, 2 deletions
diff --git a/dev-python/bsddb3/ChangeLog b/dev-python/bsddb3/ChangeLog index 62b36bbb9bba..9afaadd1214d 100644 --- a/dev-python/bsddb3/ChangeLog +++ b/dev-python/bsddb3/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/bsddb3 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.30 2009/04/24 14:58:43 patrick Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.31 2009/05/16 17:47:17 arfrever Exp $ + +*bsddb3-4.7.6 (16 May 2009) + + 16 May 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +bsddb3-4.7.6.ebuild: + Version bump. 24 Apr 2009; Patrick Lauer <patrick@gentoo.org> -bsddb3-4.7.0.ebuild, -bsddb3-4.7.3.ebuild, -bsddb3-4.7.4.ebuild: diff --git a/dev-python/bsddb3/bsddb3-4.7.6.ebuild b/dev-python/bsddb3/bsddb3-4.7.6.ebuild new file mode 100644 index 000000000000..de56e92a8ae8 --- /dev/null +++ b/dev-python/bsddb3/bsddb3-4.7.6.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.7.6.ebuild,v 1.1 2009/05/16 17:47:17 arfrever Exp $ + +EAPI="1" + +NEED_PYTHON=2.5 + +inherit db-use distutils multilib + +DESCRIPTION="Python bindings for BerkeleyDB" +HOMEPAGE="http://www.jcea.es/programacion/pybsddb.htm" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=sys-libs/db-4.6" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +src_compile() { + local DB_VER + if has_version sys-libs/db:4.7; then + DB_VER="4.7" + else + DB_VER="4.6" + fi + + sed -i \ + -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \ + setup2.py setup3.py || die "sed failed" + + distutils_src_compile \ + "--berkeley-db=/usr" \ + "--berkeley-db-incdir=$(db_includedir ${DB_VER})" \ + "--berkeley-db-libdir=/usr/$(get_libdir)" + + if use doc; then + mkdir html + sphinx-build docs html || die "building docs failed" + fi +} + +src_install() { + DOCS="TODO.txt" + distutils_src_install + + distutils_python_version + rm -rf "${D}/usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/tests" + + use doc && dohtml -r html/* +} + +src_test() { + distutils_python_version + "${python}" test.py || die "tests failed" +} |