summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-06-30 16:33:13 +0000
committerJustin Lecher <jlec@gentoo.org>2013-06-30 16:33:13 +0000
commit09ab30188c76fd2a2cdac46156dd28e57310541a (patch)
tree1eb084a0b2b164b1bfaf2e0110d099d8487c9d1e
parentApply team policy. (diff)
downloadgentoo-2-09ab30188c76fd2a2cdac46156dd28e57310541a.tar.gz
gentoo-2-09ab30188c76fd2a2cdac46156dd28e57310541a.tar.bz2
gentoo-2-09ab30188c76fd2a2cdac46156dd28e57310541a.zip
sys-libs/tdb: Bump to new python eclasses
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
-rw-r--r--sys-libs/tdb/ChangeLog8
-rw-r--r--sys-libs/tdb/metadata.xml18
-rw-r--r--sys-libs/tdb/tdb-1.2.12-r1.ebuild40
3 files changed, 56 insertions, 10 deletions
diff --git a/sys-libs/tdb/ChangeLog b/sys-libs/tdb/ChangeLog
index 4f379da0c1ca..dc43b2e529bc 100644
--- a/sys-libs/tdb/ChangeLog
+++ b/sys-libs/tdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-libs/tdb
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.54 2013/06/13 03:07:04 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/ChangeLog,v 1.55 2013/06/30 16:33:13 jlec Exp $
+
+*tdb-1.2.12-r1 (30 Jun 2013)
+
+ 30 Jun 2013; Justin Lecher <jlec@gentoo.org> +tdb-1.2.12-r1.ebuild,
+ metadata.xml:
+ Bump to new python eclasses
*tdb-1.2.12 (13 Jun 2013)
diff --git a/sys-libs/tdb/metadata.xml b/sys-libs/tdb/metadata.xml
index ae64805c5668..742098c960a9 100644
--- a/sys-libs/tdb/metadata.xml
+++ b/sys-libs/tdb/metadata.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>samba</herd>
- <maintainer>
- <email>patrick@gentoo.org</email>
- <name>Patrick Lauer</name>
- </maintainer>
-<use>
- <flag name="tools">Install extra tools</flag>
- <flag name="tdbtest">Install tdbtest app</flag>
-</use>
+ <herd>samba</herd>
+ <maintainer>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+ <use>
+ <flag name="tools">Install extra tools</flag>
+ <flag name="tdbtest">Install tdbtest app</flag>
+ </use>
</pkgmetadata>
diff --git a/sys-libs/tdb/tdb-1.2.12-r1.ebuild b/sys-libs/tdb/tdb-1.2.12-r1.ebuild
new file mode 100644
index 000000000000..b678d525b4f7
--- /dev/null
+++ b/sys-libs/tdb/tdb-1.2.12-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.12-r1.ebuild,v 1.1 2013/06/30 16:33:13 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit waf-utils python-single-r1
+
+DESCRIPTION="A simple database API"
+HOMEPAGE="http://tdb.samba.org/"
+SRC_URI="http://samba.org/ftp/tdb/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="python"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="
+ ${RDEPEND}
+ app-text/docbook-xml-dtd:4.2"
+
+WAF_BINARY="${S}/buildtools/bin/waf"
+
+src_configure() {
+ local extra_opts=""
+ use python || extra_opts+=" --disable-python"
+ waf-utils_src_configure \
+ ${extra_opts}
+}
+
+src_test() {
+ # the default src_test runs 'make test' and 'make check', letting
+ # the tests fail occasionally (reason: unknown)
+ emake check
+}