diff options
author | linimon <linimon@FreeBSD.org> | 2004-01-30 04:28:20 +0000 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2004-01-30 04:28:20 +0000 |
commit | c1ac17b97c97d4bab6c62085c110a109a2733b9b (patch) | |
tree | d7083dd0777d92912cac1864197ee2ffae3a6b07 /databases/py-PyGreSQL/files | |
parent | 5fbe2e7783fdd814476b0eae549a02955bcfa672 (diff) | |
download | FreeBSD-ports-c1ac17b97c97d4bab6c62085c110a109a2733b9b.zip FreeBSD-ports-c1ac17b97c97d4bab6c62085c110a109a2733b9b.tar.gz |
Update PyGreSQL to 3.4. Previous version was packed with the
postgresql dist, and while postgresql was version 7.3.5, PyGreSQL's
own version just bumped from 3.3 to 3.4. Hence portepoch.
PR: ports/61597
Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer)
Diffstat (limited to 'databases/py-PyGreSQL/files')
-rw-r--r-- | databases/py-PyGreSQL/files/patch-configure | 11 | ||||
-rw-r--r-- | databases/py-PyGreSQL/files/patch-setup.py | 13 | ||||
-rw-r--r-- | databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile | 28 |
3 files changed, 13 insertions, 39 deletions
diff --git a/databases/py-PyGreSQL/files/patch-configure b/databases/py-PyGreSQL/files/patch-configure deleted file mode 100644 index d52de30..0000000 --- a/databases/py-PyGreSQL/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Tue Oct 1 05:34:27 2002 -+++ configure Wed Oct 23 15:50:31 2002 -@@ -3239,7 +3239,7 @@ - echo $ac_n "checking Python installation directories""... $ac_c" 1>&6 - echo "configure:3241: checking Python installation directories" >&5 - python_version=`${PYTHON} -c "import sys; print sys.version[:3]"` --python_prefix=`${PYTHON} -c "import sys; print sys.prefix"` -+python_prefix="${prefix}" - python_execprefix=`${PYTHON} -c "import sys; print sys.exec_prefix"` - python_configdir="${python_execprefix}/lib/python${python_version}/config" - python_moduledir="${python_prefix}/lib/python${python_version}/site-packages" diff --git a/databases/py-PyGreSQL/files/patch-setup.py b/databases/py-PyGreSQL/files/patch-setup.py new file mode 100644 index 0000000..62344b3 --- /dev/null +++ b/databases/py-PyGreSQL/files/patch-setup.py @@ -0,0 +1,13 @@ +--- setup.py~ Tue Jan 13 13:29:57 2004 ++++ setup.py Tue Jan 13 16:14:50 2004 +@@ -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=['%%LOCALBASE%%/include', '%%LOCALBASE%%/include/postgresql', '%%LOCALBASE%%/include/postgresql/server'] ++ library_dirs=['%%LOCALBASE%%/lib'] + optional_libs=['pq'] + data_files = [] + diff --git a/databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile b/databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile deleted file mode 100644 index 6b74261..0000000 --- a/databases/py-PyGreSQL/files/patch-src::interfaces::python::GNUmakefile +++ /dev/null @@ -1,28 +0,0 @@ ---- src/interfaces/python/GNUmakefile.orig Thu Dec 13 20:39:04 2001 -+++ src/interfaces/python/GNUmakefile Wed Oct 23 15:52:18 2002 -@@ -34,9 +34,9 @@ - echo "*** become the appropriate user, and do '$(MAKE) install'."; } - - install: all installdirs -- @if test -w $(DESTDIR)$(python_moduleexecdir) && test -w $(DESTDIR)$(python_moduledir); then \ -- echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX)"; \ -- $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX); \ -+ @if test -w $(DESTDIR)$(python_moduledir); then \ -+ echo "$(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX)"; \ -+ $(INSTALL_SHLIB) $(shlib) $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX); \ - \ - echo "$(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py"; \ - $(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py; \ -@@ -48,10 +48,10 @@ - fi - - installdirs: -- $(mkinstalldirs) $(DESTDIR)$(python_moduleexecdir) $(DESTDIR)$(python_moduledir) -+ $(mkinstalldirs) $(DESTDIR)$(python_moduledir) - - uninstall: -- rm -f $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX) \ -+ rm -f $(DESTDIR)$(python_moduledir)/_pgmodule$(DLSUFFIX) \ - $(DESTDIR)$(python_moduledir)/pg.py \ - $(DESTDIR)$(python_moduledir)/pgdb.py - |