summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-09-10 14:06:18 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-09-10 14:06:18 +0000
commit1f1ff837f503f2df8c8fe94c14892e1c7e82d912 (patch)
tree4237074dc133f08b2ff5201395b6d8777df2a828 /dev-python/dbutils
parentVersion bump coverage to 3.5. (diff)
downloadhistorical-1f1ff837f503f2df8c8fe94c14892e1c7e82d912.tar.gz
historical-1f1ff837f503f2df8c8fe94c14892e1c7e82d912.tar.bz2
historical-1f1ff837f503f2df8c8fe94c14892e1c7e82d912.zip
Version bump dbutils to 1.1.
Package-Manager: portage-2.1.10.15/cvs/Linux x86_64
Diffstat (limited to 'dev-python/dbutils')
-rw-r--r--dev-python/dbutils/ChangeLog9
-rw-r--r--dev-python/dbutils/Manifest14
-rw-r--r--dev-python/dbutils/dbutils-1.1.ebuild54
3 files changed, 74 insertions, 3 deletions
diff --git a/dev-python/dbutils/ChangeLog b/dev-python/dbutils/ChangeLog
index 46840468598c..0c3738bb087e 100644
--- a/dev-python/dbutils/ChangeLog
+++ b/dev-python/dbutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/dbutils
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/dbutils/ChangeLog,v 1.4 2010/06/30 00:00:41 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dbutils/ChangeLog,v 1.5 2011/09/10 14:06:18 djc Exp $
+
+*dbutils-1.1 (10 Sep 2011)
+
+ 10 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +dbutils-1.1.ebuild:
+ Version bump to 1.1 (bug 381987; thanks to jbergstroem for testing).
30 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
dbutils-1.0.ebuild:
diff --git a/dev-python/dbutils/Manifest b/dev-python/dbutils/Manifest
index ed46e347149b..8511aec3d67d 100644
--- a/dev-python/dbutils/Manifest
+++ b/dev-python/dbutils/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
DIST DBUtils-1.0.tar.gz 94409 RMD160 4b2ded3950e2ce457af27d3bb10aa63b581e8f45 SHA1 640fc47bfd45e952440343db1cbfbf2938111882 SHA256 42f8440d6dc70668d6fac65cd25b635de12e1761b6429cc313593c84b12f5c01
+DIST DBUtils-1.1.tar.gz 109943 RMD160 aed8c071b21fbb138b2cc04556c539bfe06df098 SHA1 cb45c9972713767e1ced1ab40da98e58358b470a SHA256 d62d1abaafdbd9245a53e9c901f4162125d0258ef8a489233dba4689cea0bff7
EBUILD dbutils-1.0.ebuild 726 RMD160 6e7aae6f38b88e17bb6cc294b85050fd4061cc17 SHA1 d0382f044c01be24f5dd9cdf064821527baf79c9 SHA256 844fdf023e63df8e2ff649d0d7f58149b868bdbc48da7a34e27b34e916323e23
-MISC ChangeLog 772 RMD160 2dd4767221893a7e0137af5e8dbdea74879ec564 SHA1 4d622a4cae99887a6199860b9f06be857f7bac5a SHA256 f4f4c22e4333ef9abe107ab30380715d157f059f4c0c2c5423b56828101c8c4b
+EBUILD dbutils-1.1.ebuild 1250 RMD160 e51f7bf6a9d2ae936b5db009f1c5faaa797210a4 SHA1 d6aca10b8ad2231465b985b4069d52ef7bc76ca4 SHA256 522b49ef739100fb8f332f064303a4cdb1b38bb96749298e43424a185fac02d3
+MISC ChangeLog 936 RMD160 7e4a5dce6aa7e95fb6065a60d702f87f74dca6b5 SHA1 1c73cef223c94183004aae13e106c466455cc451 SHA256 c4ee5fdf38d932f0514662913cb6819c5c58483cb62615cdf82fce6e3e68b889
MISC metadata.xml 604 RMD160 2982dcc0da1e493453a1e5fcaaada282e6a15af1 SHA1 0b383b7205ec591f40256a1fd60ecc786cdbff9f SHA256 77e56c86a3319d9935b2edefa03e7b4f775549a504a877a02e1201f00f217179
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEAREKAAYFAk5rbuMACgkQxeMuLWsGW/v9cQCdEIfsXUy24gtcIPhbMXejfLL0
+I8oAoJkBHaoNV6VE8nkplik92xY5z4fM
+=d6TC
+-----END PGP SIGNATURE-----
diff --git a/dev-python/dbutils/dbutils-1.1.ebuild b/dev-python/dbutils/dbutils-1.1.ebuild
new file mode 100644
index 000000000000..46598443d691
--- /dev/null
+++ b/dev-python/dbutils/dbutils-1.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/dbutils/dbutils-1.1.ebuild,v 1.1 2011/09/10 14:06:17 djc Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+MY_PN="DBUtils"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Database connections for multi-threaded environments."
+HOMEPAGE="http://www.webwareforpython.org/DBUtils http://pypi.python.org/pypi/DBUtils"
+SRC_URI="http://www.webwareforpython.org/downloads/DBUtils/${MY_P}.tar.gz"
+
+LICENSE="OSL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~ppc"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_MODNAME="${MY_PN}"
+
+src_prepare() {
+ sed -i \
+ -e "s/, 'DBUtils.Tests'//" \
+ -e "s/, 'DBUtils.Examples'//" \
+ -e "/package_data=/d" \
+ setup.py || die "sed failed"
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests -P -s "${S}/${MY_PN}"/Tests
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ if use doc; then
+ dohtml -r "${S}/${MY_PN}"/Docs/* || die "dohtml failed"
+ insinto "/usr/share/doc/${PF}/examples"
+ doins "${S}/${MY_PN}"/Examples/*.py
+ fi
+}