public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer (patrick)" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/bsddb3: bsddb3-6.0.1.ebuild ChangeLog
Date: Wed,  8 Jan 2014 05:47:34 +0000 (UTC)	[thread overview]
Message-ID: <20140108054734.ABE652004C@flycatcher.gentoo.org> (raw)

patrick     14/01/08 05:47:34

  Modified:             ChangeLog
  Added:                bsddb3-6.0.1.ebuild
  Log:
  Bump
  
  (Portage version: 2.2.8/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.95                 dev-python/bsddb3/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- ChangeLog	7 Dec 2013 13:48:50 -0000	1.94
+++ ChangeLog	8 Jan 2014 05:47:34 -0000	1.95
@@ -1,6 +1,11 @@
 # 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.94 2013/12/07 13:48:50 hattya Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/ChangeLog,v 1.95 2014/01/08 05:47:34 patrick Exp $
+
+*bsddb3-6.0.1 (08 Jan 2014)
+
+  08 Jan 2014; Patrick Lauer <patrick@gentoo.org> +bsddb3-6.0.1.ebuild:
+  Bump
 
   07 Dec 2013; Akinori Hattori <hattya@gentoo.org> bsddb3-6.0.0.ebuild:
   ia64 stable wrt bug #482056



1.1                  dev-python/bsddb3/bsddb3-6.0.1.ebuild

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

Index: bsddb3-6.0.1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/bsddb3/bsddb3-6.0.1.ebuild,v 1.1 2014/01/08 05:47:34 patrick Exp $

EAPI=5
PYTHON_COMPAT=( python{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 ~amd64-linux ~x86-linux"
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
		if [[ "${EPYTHON}" == 'python3.3' ]]; then
			einfo "py3.3 has an internal problem within this ebuild but is known to pass tests"
		else
			"${PYTHON}" setup.py build
			einfo "all 500 tests are run silently and may take a number of minutes to complete"
			"${PYTHON}" -v test3.py || die
		fi
	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
}





             reply	other threads:[~2014-01-08  5:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  5:47 Patrick Lauer (patrick) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-01 11:17 [gentoo-commits] gentoo-x86 commit in dev-python/bsddb3: bsddb3-6.0.1.ebuild ChangeLog Ian Delaney (idella4)
2014-05-19  0:43 Mike Gilbert (floppym)
2014-05-19  4:38 Mike Gilbert (floppym)
2014-05-20  7:21 Ian Delaney (idella4)
2014-07-16 10:08 Pacho Ramos (pacho)
2014-07-28 13:43 Agostino Sarubbo (ago)
2014-08-21 10:39 Agostino Sarubbo (ago)
2014-08-23 15:28 Agostino Sarubbo (ago)
2014-08-25 10:57 Agostino Sarubbo (ago)
2014-09-15  8:18 Agostino Sarubbo (ago)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140108054734.ABE652004C@flycatcher.gentoo.org \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox