summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-23 21:23:45 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-12-23 21:23:45 +0000
commite7fab06c0a0d677f6a528d10e4eaa95a8d3d4c2c (patch)
tree0aebe002be7dfda03dc00ce5c45add14dfd80f4b /dev-python/psycopg
parentStable for HPPA (bug #297672). (diff)
downloadhistorical-e7fab06c0a0d677f6a528d10e4eaa95a8d3d4c2c.tar.gz
historical-e7fab06c0a0d677f6a528d10e4eaa95a8d3d4c2c.tar.bz2
historical-e7fab06c0a0d677f6a528d10e4eaa95a8d3d4c2c.zip
Fix building (bug #284029).
Package-Manager: portage-15134-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/psycopg')
-rw-r--r--dev-python/psycopg/ChangeLog6
-rw-r--r--dev-python/psycopg/Manifest4
-rw-r--r--dev-python/psycopg/psycopg-1.1.21.ebuild28
3 files changed, 19 insertions, 19 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog
index fd310758efed..0b1326e25776 100644
--- a/dev-python/psycopg/ChangeLog
+++ b/dev-python/psycopg/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/psycopg
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.90 2009/12/22 18:42:41 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.91 2009/12/23 21:23:45 arfrever Exp $
+
+ 23 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ psycopg-1.1.21.ebuild:
+ Fix building (bug #284029).
22 Dec 2009; Brent Baude <ranger@gentoo.org> psycopg-2.0.13.ebuild:
Marking psycopg-2.0.13 ppc64 for bug 296676
diff --git a/dev-python/psycopg/Manifest b/dev-python/psycopg/Manifest
index 1399af3c6ce9..70ee9bc927c8 100644
--- a/dev-python/psycopg/Manifest
+++ b/dev-python/psycopg/Manifest
@@ -3,8 +3,8 @@ AUX psycopg-2.0.9-round-solaris.patch 449 RMD160 1915c539e6ed5341d4b198e404a97a2
DIST psycopg-1.1.21.tar.gz 213753 RMD160 de74a70b16353f69de7e898059a7a1d8418ad2ee SHA1 02d8a8b5dd682306117896c7c63a9a1b518997b6 SHA256 f487d02e8e8837ec7e62e4e0f50bcb974e73b7765333b032ac50c07bf12ce240
DIST psycopg2-2.0.12.tar.gz 256169 RMD160 eff28c1ab131ee55b42e0c129df88cebd79f38fd SHA1 a5649fced3ffc9968b21421023239f95a3a21ad3 SHA256 542c187531e756867fb60034c393b6f2beca34eeeb3ce2e0089a2b6fb8be1292
DIST psycopg2-2.0.13.tar.gz 258399 RMD160 6099f593ea1f05b78b6f2c3c4106b86cbcab7386 SHA1 859725d0c830dc3590cb5666c8465bd29ab167cc SHA256 a15e622e101b16aa8ad44813d8fb1eced91379396c054aacbfa3ad658352332b
-EBUILD psycopg-1.1.21.ebuild 1311 RMD160 ed7872e133ab7a3ab0acd29c25306b75051608f6 SHA1 29945934854d3cc3c8643a73025ec688e82a22c7 SHA256 81bbdd4f1ee242c87981e9da252f7c6bacc4967450be5868e11caf6cf8f52a81
+EBUILD psycopg-1.1.21.ebuild 1251 RMD160 a5715f9218eba503b67f511221232cccf885f347 SHA1 1d1849dd954f683ae75906e2dccb5510007c4fb5 SHA256 c64b332dfcb57a132877c2f0f2d89399f5caa5210ff83d7985c93d8760c86372
EBUILD psycopg-2.0.12.ebuild 1369 RMD160 edddc080346fb8acdd81138fa9dfb97036bb8ff2 SHA1 396eb912f011806188fd932243cd305400c84787 SHA256 8e812b08bd63568facd69c18c9354ecd147514595642810470e0ee7a1702705d
EBUILD psycopg-2.0.13.ebuild 1362 RMD160 1392dde046ccef28a1b6dcb63f2e652636d2e0b1 SHA1 801d8f53e6d784ef31883b242effc1c595eb93d4 SHA256 a651f4c817ad09d40356708ab25f871acf0867bee9825c786c3056b425f00c7a
-MISC ChangeLog 12050 RMD160 ea3b613bf5e1ecad0da6449e4dfc342e49ec13a4 SHA1 678187ac3635d51fb93cda306c38cfeca187eaab SHA256 65370bbf47cd9828c5c0cf6db5c4ce5bd4e38295be531a8c56106a1f4e7b1900
+MISC ChangeLog 12181 RMD160 a781b5f442ff62547fc832617b9281061d8e1b3c SHA1 a2bb6d9458a480863933dc6625e130cc979e64a3 SHA256 eafda0e290a065db2ff365d9f002ab4a82a1daa6a30618d6ec3187e7e73ce35d
MISC metadata.xml 291 RMD160 317ee3d63279acd6a3cbf6ef622d4b77a2044036 SHA1 0c71c2432c961aa486238f5de43d08d0696d8341 SHA256 9a4e3c2e6caca640df7a6d7b8accbdde21f715f0c98dc6bb09735b5463da7ad9
diff --git a/dev-python/psycopg/psycopg-1.1.21.ebuild b/dev-python/psycopg/psycopg-1.1.21.ebuild
index 271d50ed2e25..932a92275481 100644
--- a/dev-python/psycopg/psycopg-1.1.21.ebuild
+++ b/dev-python/psycopg/psycopg-1.1.21.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-1.1.21.ebuild,v 1.14 2008/08/06 05:21:53 neurogeek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-1.1.21.ebuild,v 1.15 2009/12/23 21:23:45 arfrever Exp $
+
+EAPI="2"
inherit python
@@ -8,37 +10,31 @@ DESCRIPTION="PostgreSQL database adapter for Python" # best one
SRC_URI="http://initd.org/pub/software/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.initd.org/software/psycopg"
-DEPEND="virtual/python
- >=dev-python/egenix-mx-base-2.0.3
- >=virtual/postgresql-base-7.1.3"
-
SLOT="0"
KEYWORDS="alpha ~amd64 ia64 ppc ppc64 sparc x86"
LICENSE="GPL-2"
IUSE=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+DEPEND=">=dev-python/egenix-mx-base-2.0.3
+ >=virtual/postgresql-base-7.1.3"
+RDEPEND="${DEPEND}"
+src_prepare() {
# fix for bug #134873
sed -e '1245s/static //' -i cursor.c
}
-src_compile() {
- python_version
+src_configure() {
econf \
- --with-mxdatetime-includes=$(python_get_sitedir)/mx/DateTime/mxDateTime \
- --with-postgres-includes=/usr/include/postgresql/server \
- || die "./configure failed"
- emake || die
+ --with-mxdatetime-includes="$(python_get_includedir)/mx" \
+ --with-postgres-includes="/usr/include/postgresql/server"
}
src_install () {
sed -e 's:\(echo " install -m 555 $$mod \)\($(PY_MOD_DIR)\)\("; \\\):\1${D}\2/$$mod\3:' \
-e 's:\($(INSTALL) -m 555 $$mod \)\($(PY_MOD_DIR)\)\(; \\\):\1${D}\2/$$mod\3:' \
-i Makefile
- make install || die
+ emake install || die "emake install failed"
dodoc AUTHORS ChangeLog CREDITS README NEWS RELEASE-1.0 SUCCESS TODO
docinto doc