public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/bsddb3: ChangeLog bsddb3-5.3.0-r1.ebuild bsddb3-5.3.0.ebuild
@ 2013-05-28 19:00 Ian Delaney (idella4)
  0 siblings, 0 replies; only message in thread
From: Ian Delaney (idella4) @ 2013-05-28 19:00 UTC (permalink / raw
  To: gentoo-commits

idella4     13/05/28 19:00:19

  Modified:             ChangeLog bsddb3-5.3.0.ebuild
  Added:                bsddb3-5.3.0-r1.ebuild
  Log:
  revbump, migrate -> distutils-r1, tes fail cited wrt Bug #470976
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.87                 dev-python/bsddb3/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/ChangeLog?rev=1.87&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/ChangeLog?rev=1.87&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/ChangeLog?r1=1.86&r2=1.87

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- ChangeLog	2 Feb 2013 22:28:13 -0000	1.86
+++ ChangeLog	28 May 2013 19:00:19 -0000	1.87
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/bsddb3
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.86 2013/02/02 22:28:13 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.87 2013/05/28 19:00:19 idella4 Exp $
+
+*bsddb3-5.3.0-r1 (28 May 2013)
+
+  28 May 2013; Ian Delaney <idella4@gentoo.org> +bsddb3-5.3.0-r1.ebuild,
+  bsddb3-5.3.0.ebuild:
+  revbump, migrate -> distutils-r1, tes fail cited wrt Bug #470976
 
   02 Feb 2013; Agostino Sarubbo <ago@gentoo.org> bsddb3-5.3.0.ebuild:
   Add ~arm, wrt bug #449220



1.12                 dev-python/bsddb3/bsddb3-5.3.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0.ebuild?rev=1.12&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0.ebuild?rev=1.12&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0.ebuild?r1=1.11&r2=1.12

Index: bsddb3-5.3.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0.ebuild,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- bsddb3-5.3.0.ebuild	2 Feb 2013 22:28:13 -0000	1.11
+++ bsddb3-5.3.0.ebuild	28 May 2013 19:00:19 -0000	1.12
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0.ebuild,v 1.11 2013/02/02 22:28:13 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0.ebuild,v 1.12 2013/05/28 19:00:19 idella4 Exp $
 
 EAPI="3"
 PYTHON_DEPEND="2 3:3.1"
@@ -38,8 +38,8 @@
 	sed -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" -i setup2.py setup3.py || die "sed failed"
 }
 
-src_compile() {
-	distutils_src_compile \
+python_compile() {
+	distutils-r1_python_compile \
 		--berkeley-db="${EPREFIX}/usr" \
 		--berkeley-db-incdir="${EPREFIX}$(db_includedir ${DB_VER})" \
 		--berkeley-db-libdir="${EPREFIX}/usr/$(get_libdir)"



1.1                  dev-python/bsddb3/bsddb3-5.3.0-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: bsddb3-5.3.0-r1.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-5.3.0-r1.ebuild,v 1.1 2013/05/28 19:00:19 idella4 Exp $

EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} )

inherit db-use distutils-r1 multilib

DESCRIPTION="Python bindings for Berkeley DB"
HOMEPAGE="http://www.jcea.es/programacion/pybsddb.htm http://pypi.python.org/pypi/bsddb3"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="doc"

RDEPEND=">=sys-libs/db-4.8.30"
DEPEND="${RDEPEND}
	dev-python/setuptools[${PYTHON_USEDEP}]"

PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")

DOCS=( ChangeLog TODO.txt )
DISTUTILS_IN_SOURCE_BUILD=1

src_configure() {
	local DB_VER
	if has_version sys-libs/db:5.1; then
		DB_VER="5.1"
	elif has_version sys-libs/db:5.0; then
		DB_VER="5.0"
	else
		DB_VER="4.8"
	fi
	sed -e "s/dblib = 'db'/dblib = '$(db_libname ${DB_VER})'/" -i setup2.py setup3.py || die "sed failed"
}

src_compile() {
	distutils-r1_src_compile \
		--berkeley-db="${EPREFIX}/usr" \
		--berkeley-db-incdir="${EPREFIX}$(db_includedir ${DB_VER})" \
		--berkeley-db-libdir="${EPREFIX}/usr/$(get_libdir)"
}

python_test() {
	# https://sourceforge.net/p/pybsddb/bugs/72/
	pushd "${BUILD_DIR}"/../ > /dev/null
	if [[ "${EPYTHON}" == python2* ]]; then
		"${PYTHON}" build/lib/bsddb3/tests/test_all.py
	elif [[ "${EPYTHON}" == python3* ]]; then
		"${PYTHON}" setup.py build
		einfo "all 500 tests are run silently and may take a number of minutes to complete"
		"${PYTHON}" ./test3.py
	fi
}

python_install() {
	rm -fr "${ED}$(python_get_sitedir)/bsddb3/tests"

	if use doc; then
		dohtml -r docs/html/* || die "dohtml failed"
	fi
	distutils-r1_python_install
}

python_install_all() {
	local HTML_DOCS=( docs/html/. )
	distutils-r1_python_install_all
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-28 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28 19:00 [gentoo-commits] gentoo-x86 commit in dev-python/bsddb3: ChangeLog bsddb3-5.3.0-r1.ebuild bsddb3-5.3.0.ebuild Ian Delaney (idella4)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox