summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2004-05-04 07:25:37 +0000
committerMasatomo Nakano <nakano@gentoo.org>2004-05-04 07:25:37 +0000
commitefedfc3b41ecfa358744cac74105d9583e39581a (patch)
treeb0a5ce7c243548944769229ef94963164b8b4b01 /dev-db
parentcleanup and stable bump (Manifest recommit) (diff)
downloadgentoo-2-efedfc3b41ecfa358744cac74105d9583e39581a.tar.gz
gentoo-2-efedfc3b41ecfa358744cac74105d9583e39581a.tar.bz2
gentoo-2-efedfc3b41ecfa358744cac74105d9583e39581a.zip
Initial import.
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/pygresql/ChangeLog7
-rw-r--r--dev-db/pygresql/Manifest2
-rw-r--r--dev-db/pygresql/files/digest-pygresql-3.41
-rw-r--r--dev-db/pygresql/files/pygresql-3.4-gentoo.patch14
-rw-r--r--dev-db/pygresql/metadata.xml5
-rw-r--r--dev-db/pygresql/pygresql-3.4.ebuild24
6 files changed, 53 insertions, 0 deletions
diff --git a/dev-db/pygresql/ChangeLog b/dev-db/pygresql/ChangeLog
new file mode 100644
index 000000000000..da5b9f0a3c43
--- /dev/null
+++ b/dev-db/pygresql/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-db/pygresql
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pygresql/ChangeLog,v 1.1 2004/05/04 07:25:37 nakano Exp $
+
+ 04 May 2004; Masatomo Nakano <nakano@gentoo.org> :
+ Initial import. This modules was separated from PostgereSQL package.
+
diff --git a/dev-db/pygresql/Manifest b/dev-db/pygresql/Manifest
new file mode 100644
index 000000000000..6524d4ca6cc8
--- /dev/null
+++ b/dev-db/pygresql/Manifest
@@ -0,0 +1,2 @@
+MD5 fb35633e47ce28c8e059c574fa7c3cc0 pygresql-3.4.ebuild 755
+MD5 e5e27a1cc9a1a83127c4e13e05caa5c1 files/digest-pygresql-3.4 60
diff --git a/dev-db/pygresql/files/digest-pygresql-3.4 b/dev-db/pygresql/files/digest-pygresql-3.4
new file mode 100644
index 000000000000..9ce444f00515
--- /dev/null
+++ b/dev-db/pygresql/files/digest-pygresql-3.4
@@ -0,0 +1 @@
+MD5 235d31d1c4d1323c743d1cdff0866551 PyGreSQL-3.4.tgz 34952
diff --git a/dev-db/pygresql/files/pygresql-3.4-gentoo.patch b/dev-db/pygresql/files/pygresql-3.4-gentoo.patch
new file mode 100644
index 000000000000..97817f017e63
--- /dev/null
+++ b/dev-db/pygresql/files/pygresql-3.4-gentoo.patch
@@ -0,0 +1,14 @@
+diff -Naru PyGreSQL-3.4.old/setup.py PyGreSQL-3.4/setup.py
+--- PyGreSQL-3.4.old/setup.py 2004-01-13 12:29:57.000000000 +0000
++++ PyGreSQL-3.4/setup.py 2004-05-04 08:00:07.555266031 +0100
+@@ -30,8 +30,8 @@
+ optional_libs=[ 'libpqdll', 'wsock32', 'advapi32' ]
+ data_files = [ 'libpq.dll' ]
+ else:
+- include_dirs=['/usr/include/pgsql']
+- library_dirs=['/usr/lib/pgsql']
++ include_dirs=['/usr/include/postgresql/server']
++ library_dirs=['/usr/lib/postgresql']
+ optional_libs=['pq']
+ data_files = []
+
diff --git a/dev-db/pygresql/metadata.xml b/dev-db/pygresql/metadata.xml
new file mode 100644
index 000000000000..309b51e9a965
--- /dev/null
+++ b/dev-db/pygresql/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>postgresql</herd>
+</pkgmetadata>
diff --git a/dev-db/pygresql/pygresql-3.4.ebuild b/dev-db/pygresql/pygresql-3.4.ebuild
new file mode 100644
index 000000000000..ad0c2039143c
--- /dev/null
+++ b/dev-db/pygresql/pygresql-3.4.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pygresql/pygresql-3.4.ebuild,v 1.1 2004/05/04 07:25:37 nakano Exp $
+
+inherit eutils distutils
+
+MY_P="PyGreSQL-${PV}"
+DESCRIPTION="a Python interface for PostgreSQL database."
+SRC_URI="ftp://ftp.druid.net/pub/distrib/${MY_P}.tgz"
+HOMEPAGE="http://www.druid.net/pygresql/"
+LICENSE="as-is"
+DEPEND=">=dev-db/postgresql-7.3*
+ dev-lang/python"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64 ~hppa ~ia64 ~mips"
+IUSE=""
+SLOT="0"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+