diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-25 14:10:19 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2008-06-25 14:10:19 +0000 |
commit | 6782c4af21294123b2f9a22c38774f7e494b2f88 (patch) | |
tree | 3d1ad5de300bc49c0d371bfdab4832b813c029bb /dev-python/bsddb3 | |
parent | Add ~ppc keyword (diff) | |
download | historical-6782c4af21294123b2f9a22c38774f7e494b2f88.tar.gz historical-6782c4af21294123b2f9a22c38774f7e494b2f88.tar.bz2 historical-6782c4af21294123b2f9a22c38774f7e494b2f88.zip |
Version bump (fixes bug #227699, introduces new dependency)
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64
Diffstat (limited to 'dev-python/bsddb3')
-rw-r--r-- | dev-python/bsddb3/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/bsddb3/bsddb3-4.7.0.ebuild | 55 |
2 files changed, 62 insertions, 2 deletions
diff --git a/dev-python/bsddb3/ChangeLog b/dev-python/bsddb3/ChangeLog index 3c9a226b114e..215005d79b99 100644 --- a/dev-python/bsddb3/ChangeLog +++ b/dev-python/bsddb3/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/bsddb3 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.22 2007/03/06 10:49:17 blubb Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.23 2008/06/25 14:10:19 dev-zero Exp $ + +*bsddb3-4.7.0 (25 Jun 2008) + + 25 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> +bsddb3-4.7.0.ebuild: + Version bump (fixes bug #227699, introduces new dependency) 06 Mar 2007; Simon Stelling <blubb@gentoo.org> bsddb3-4.5.0.ebuild: stable on amd64; bug 169212 diff --git a/dev-python/bsddb3/bsddb3-4.7.0.ebuild b/dev-python/bsddb3/bsddb3-4.7.0.ebuild new file mode 100644 index 000000000000..5cf2b3dc53b3 --- /dev/null +++ b/dev-python/bsddb3/bsddb3-4.7.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-4.7.0.ebuild,v 1.1 2008/06/25 14:10:19 dev-zero Exp $ + +EAPI="1" + +NEED_PYTHON=2.5 + +inherit distutils db-use 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 ~ppc ~x86" +IUSE="doc" + +RDEPEND="sys-libs/db:4.3" +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +src_compile() { + DB_VER="4.6" + + sed -i \ + -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" \ + setup.py + + 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" +} |