Author: cito
Date: Thu Jan 14 11:01:34 2016
New Revision: 742
Log:
Remove antiquated make and spec files
Use python setup.py build or the instructions in install.txt to build.
Linux distributions like openSUSE use their own spec files anyway.
These stalled and unmaintained files only create confusion.
Deleted:
branches/4.x/GNUmakefile
branches/4.x/PyGreSQL.spec
trunk/GNUmakefile
trunk/PyGreSQL.spec
Deleted: branches/4.x/GNUmakefile
==============================================================================
--- branches/4.x/GNUmakefile Thu Jan 14 11:01:34 2016 (r741)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,58 +0,0 @@
-# $Header: /usr/cvs/Public/pygresql/module/GNUmakefile,v 1.19 2005-01-11
12:13:38 darcy Exp $
-# $Id$
-
-subdir = src/interfaces/python
-top_builddir = ../../..
-include $(top_builddir)/src/Makefile.global
-
-NAME = _pgmodule
-OBJS = pgmodule.o
-SHLIB_LINK = $(libpq)
-ifeq ($(PORTNAME), cygwin)
-override CPPFLAGS += -DUSE_DL_IMPORT
-SHLIB_LINK += $(python_libspec)
-endif
-
-
-include $(top_srcdir)/src/Makefile.shlib
-
-override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) $(python_includespec)
-
-all: all-lib
-
-all-lib: libpq-all
-
-.PHONY: libpq-all
-libpq-all:
- $(MAKE) -C $(libpq_builddir) all
-
-install-warning-msg := { \
-echo "*** Skipping the installation of the Python interface module for lack"; \
-echo "*** of permissions. To install it, change to the directory"; \
-echo "*** `pwd`,"; \
-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); \
- \
- echo "$(INSTALL_DATA) $(srcdir)/pg.py
$(DESTDIR)$(python_moduledir)/pg.py"; \
- $(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py; \
- \
- echo "$(INSTALL_DATA) $(srcdir)/pgdb.py
$(DESTDIR)$(python_moduledir)/pgdb.py"; \
- $(INSTALL_DATA) $(srcdir)/pgdb.py
$(DESTDIR)$(python_moduledir)/pgdb.py; \
- else \
- $(install-warning-msg); \
- fi
-
-installdirs:
- $(mkinstalldirs) $(DESTDIR)$(python_moduleexecdir)
$(DESTDIR)$(python_moduledir)
-
-uninstall:
- rm -f $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX) \
- $(DESTDIR)$(python_moduledir)/pg.py \
- $(DESTDIR)$(python_moduledir)/pgdb.py
-
-clean distclean maintainer-clean: clean-lib
- rm -f $(OBJS)
Deleted: branches/4.x/PyGreSQL.spec
==============================================================================
--- branches/4.x/PyGreSQL.spec Thu Jan 14 11:01:34 2016 (r741)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,58 +0,0 @@
-# $Id$
-%define version 3.0
-%define release pre20000310
-%define name PyGreSQL
-%define pythonversion 1.5
-Source: %{name}-%{version}-%{release}.tgz
-Summary: A Python interface for PostgreSQL database.
-Name: %{name}
-Version: %{version}
-Release: %{release}
-#Patch:
-Group: Applications/Databases
-BuildRoot: /tmp/rpmbuild_%{name}
-Copyright: GPL-like
-Requires: python >= %{pythonversion}, postgresql
-Packager: Hartmut Goebel <[email protected]>
-Vendor: D'Arcy J.M. Cain <[email protected]>
-URL: http://www.druid.net/pygresql/
-
-%changelog
-#* Tue Oct 06 1998 Fabio Coatti <[email protected]>
-#- fixed installation directory files list
-
-%description
-PyGreSQL is a python module that interfaces to a PostgreSQL database. It
-embeds the PostgreSQL query library to allow easy use of the powerful
-PostgreSQL features from a Python script.
-
-Version 3.0 includes DB-API 2.0 support.
-
-%prep
-rm -rf $RPM_BUILD_ROOT
-
-%setup -n %{name}-%{version}-%{release}
-#%patch
-
-%build
-mkdir -p $RPM_BUILD_ROOT/usr/lib/python%{pythonversion}/lib-dynload
-cc -fpic -shared -o
$RPM_BUILD_ROOT/usr/lib/python%{pythonversion}/lib-dynload/_pg.so
-I/usr/include/pgsql/ -I/usr/include/python1.5 pgmodule.c -lpq
-## import fails, since _pg is not yet installed
-python -c 'import pg' || true
-python -c 'import pgdb' || true
-
-%install
-cp *.py *.pyc $RPM_BUILD_ROOT/usr/lib/python%{pythonversion}/
-
-cd $RPM_BUILD_ROOT
-find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >
$RPM_BUILD_DIR/file.list.%{name}
-find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >>
$RPM_BUILD_DIR/file.list.%{name}
-
-%files -f ../file.list.%{name}
-%doc %attr(-,root,root) Announce ChangeLog README tutorial
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-cd $RPM_BUILD_DIR
-rm -rf %{name}-%{version}-%{release} file.list.%{name}
Deleted: trunk/GNUmakefile
==============================================================================
--- trunk/GNUmakefile Thu Jan 14 11:01:34 2016 (r741)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,58 +0,0 @@
-# $Header: /usr/cvs/Public/pygresql/module/GNUmakefile,v 1.19 2005-01-11
12:13:38 darcy Exp $
-# $Id$
-
-subdir = src/interfaces/python
-top_builddir = ../../..
-include $(top_builddir)/src/Makefile.global
-
-NAME = _pgmodule
-OBJS = pgmodule.o
-SHLIB_LINK = $(libpq)
-ifeq ($(PORTNAME), cygwin)
-override CPPFLAGS += -DUSE_DL_IMPORT
-SHLIB_LINK += $(python_libspec)
-endif
-
-
-include $(top_srcdir)/src/Makefile.shlib
-
-override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS) $(python_includespec)
-
-all: all-lib
-
-all-lib: libpq-all
-
-.PHONY: libpq-all
-libpq-all:
- $(MAKE) -C $(libpq_builddir) all
-
-install-warning-msg := { \
-echo "*** Skipping the installation of the Python interface module for lack"; \
-echo "*** of permissions. To install it, change to the directory"; \
-echo "*** `pwd`,"; \
-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); \
- \
- echo "$(INSTALL_DATA) $(srcdir)/pg.py
$(DESTDIR)$(python_moduledir)/pg.py"; \
- $(INSTALL_DATA) $(srcdir)/pg.py $(DESTDIR)$(python_moduledir)/pg.py; \
- \
- echo "$(INSTALL_DATA) $(srcdir)/pgdb.py
$(DESTDIR)$(python_moduledir)/pgdb.py"; \
- $(INSTALL_DATA) $(srcdir)/pgdb.py
$(DESTDIR)$(python_moduledir)/pgdb.py; \
- else \
- $(install-warning-msg); \
- fi
-
-installdirs:
- $(mkinstalldirs) $(DESTDIR)$(python_moduleexecdir)
$(DESTDIR)$(python_moduledir)
-
-uninstall:
- rm -f $(DESTDIR)$(python_moduleexecdir)/_pgmodule$(DLSUFFIX) \
- $(DESTDIR)$(python_moduledir)/pg.py \
- $(DESTDIR)$(python_moduledir)/pgdb.py
-
-clean distclean maintainer-clean: clean-lib
- rm -f $(OBJS)
Deleted: trunk/PyGreSQL.spec
==============================================================================
--- trunk/PyGreSQL.spec Thu Jan 14 11:01:34 2016 (r741)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,58 +0,0 @@
-# $Id$
-%define version 3.0
-%define release pre20000310
-%define name PyGreSQL
-%define pythonversion 1.5
-Source: %{name}-%{version}-%{release}.tgz
-Summary: A Python interface for PostgreSQL database.
-Name: %{name}
-Version: %{version}
-Release: %{release}
-#Patch:
-Group: Applications/Databases
-BuildRoot: /tmp/rpmbuild_%{name}
-Copyright: GPL-like
-Requires: python >= %{pythonversion}, postgresql
-Packager: Hartmut Goebel <[email protected]>
-Vendor: D'Arcy J.M. Cain <[email protected]>
-URL: http://www.druid.net/pygresql/
-
-%changelog
-#* Tue Oct 06 1998 Fabio Coatti <[email protected]>
-#- fixed installation directory files list
-
-%description
-PyGreSQL is a python module that interfaces to a PostgreSQL database. It
-embeds the PostgreSQL query library to allow easy use of the powerful
-PostgreSQL features from a Python script.
-
-Version 3.0 includes DB-API 2.0 support.
-
-%prep
-rm -rf $RPM_BUILD_ROOT
-
-%setup -n %{name}-%{version}-%{release}
-#%patch
-
-%build
-mkdir -p $RPM_BUILD_ROOT/usr/lib/python%{pythonversion}/lib-dynload
-cc -fpic -shared -o
$RPM_BUILD_ROOT/usr/lib/python%{pythonversion}/lib-dynload/_pg.so
-I/usr/include/pgsql/ -I/usr/include/python1.5 pgmodule.c -lpq
-## import fails, since _pg is not yet installed
-python -c 'import pg' || true
-python -c 'import pgdb' || true
-
-%install
-cp *.py *.pyc $RPM_BUILD_ROOT/usr/lib/python%{pythonversion}/
-
-cd $RPM_BUILD_ROOT
-find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >
$RPM_BUILD_DIR/file.list.%{name}
-find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >>
$RPM_BUILD_DIR/file.list.%{name}
-
-%files -f ../file.list.%{name}
-%doc %attr(-,root,root) Announce ChangeLog README tutorial
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-cd $RPM_BUILD_DIR
-rm -rf %{name}-%{version}-%{release} file.list.%{name}
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql