Commit graph

51 commits

Author SHA1 Message Date
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
darcy
0eb7fef55a Update package to 3.6.2.
The only change is to fix the handling of primary keys when using namespaces.
2005-02-23 12:13:35 +00:00
darcy
ae79647fa1 Wrong checksum. Updated file. No PKGREVISION bump since the update was
so recent.
2004-12-17 21:38:20 +00:00
darcy
8f9ed832d0 Remove unneccessary line 2004-12-17 21:36:01 +00:00
darcy
a2639ca0a7 Upgrade to version 3.6.
Most important change was serious bug in 3.5 that did not allow DB-API 2.0
version to work without a manual change.

Other changes:

  - Better DB-API 2.0 compliance
  - Exception hierarchy moved into C module and made available to both APIs
  - Fix error in update method that caused false exceptions
  - Moved to standard exception hierarchy in classic API
  - Added new method to get transaction state
  - Use proper Python constants where appropriate
  - Use Python versions of strtol, etc.  Allows WIN32 build
  - Bug fixes and cleanups
2004-12-16 20:37:46 +00:00
darcy
3986e98799 Recreate files for py-postgresql. PyGreSQL has been moved back out of the
PostgreSQL tree and I have released this version that is no longer tied
to a specific version of PostgreSQL.
2004-08-30 08:33:34 +00:00
recht
e181ac3e68 Delete old postgresql packages now that we have the postgresql73 ones. 2004-07-24 22:48:13 +00:00
recht
8dc45652d4 Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
2004-07-24 22:45:14 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
recht
7d9f749533 bl3ify 2004-04-25 13:54:07 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
jlam
05458d686b Remove USE_BUILDLINK2 from Makefile.common and distribute the setting to
all of the package Makefiles that include Makefile.common.
2004-01-20 14:11:49 +00:00
drochner
3f3f5d5c6d cosmetics: use ${PYSITELIB} 2003-08-18 10:09:50 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
toshii
fe36e8843c Build py-postgresql from the postgresql 7.3.2 tarball. PKGREVISION++
Remove files and patches in the py-postgresql directory and add necessary
ones in the postgresql directory.
2003-04-03 18:06:12 +00:00
jlam
475cbe5281 Bump PKGREVISION due to increase in the major number of libpq.so between
version 7.2.3 and 7.3.1 of databases/postgresql-lib.
2003-01-05 20:14:20 +00:00
jlam
00db3248fd Decouple py-postgresql from the postgresql build infrastructure and make
this package build standalone.  py-postgresql uses it's own version
numbering and really doesn't have much to do with the rest of the
postgresql packages.
2003-01-05 19:26:16 +00:00
drochner
d0530fe5f1 postgresql-7.2.3 contains PyGreSQL-3.3, so reflect this in the name 2002-10-25 11:17:24 +00:00
jlam
685fd8b148 Update py-postgresql to build using the postgresql-7.2.3 sources. 2002-10-19 03:04:37 +00:00
wiz
d071c6a3e4 buildlink1 -> buildlink2. 2002-10-09 18:24:50 +00:00
jlam
e44bf515dc Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks.  Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
2002-09-21 23:46:45 +00:00
jlam
cd7f187968 Update postgresql and related packages to 7.2. Thanks to Michael Graff
<explorer@flame.org> for most of the work on this update.

Pkgsrc changes from the previous version include removing Makefile.ssl and
some patches that have been integrated into this release of PostgreSQL.  We
leave open the question of when to byte-compile the Python modules for the
PyGreSQL interface and just do it as before, although we should consider
doing the compilation as a post-install step to ensure that the timestamps
are correct.  We also reorder some lines in the Makefile to include
Makefile.common below certain definitions (GNU_CONFIGURE, USE_BUILDLINK_ONLY)
as they may possibly trigger different portions of Makefile.common.

*** Please note that a dump/restore is required to migrate an existing ***
*** PostgreSQL installation to 7.2.                                    ***

Major changes from version 7.1.3 are geared toward improving use in
high-volume applications and include:

   VACUUM
	   Vacuuming no longer locks tables, thus allowing normal user access
           during the vacuum. A new "VACUUM FULL" command does old-style
           vacuum by locking the table and shrinking the on-disk copy of the
           table.

   Transactions
           There is no longer a problem with installations that exceed four
           billion transactions.

   OID's
           OID's are now optional. Users can now create tables without OID's
           for cases where OID usage is excessive.

   Optimizer
           The system now computes histogram column statistics during
           "ANALYZE", allowing much better optimizer choices.

   Security
           A new MD5 encryption option allows more secure storage and
           transfer of passwords. A new Unix-domain socket authentication
           option is available on Linux and BSD systems. PAM authentication
           is also available.

   Statistics
           Administrators can use the new table access statistics module to
           get fine-grained information about table and index usage.
2002-04-04 14:36:42 +00:00
drochner
7833915345 use buildlink files for Python and mxDareTime,
install docs into version dependant subdir to avoid conflicts
2002-01-19 16:13:00 +00:00
drochner
bf65e6614f change pkg name of required pkg py-mxDateTime to py20-mxDateTime to get
the right version
2002-01-15 18:33:26 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
jlam
34d11d8a0f Generalize how the dependency pattern may be specified. Instead of just
FOO_REQD=1.0 being converted to foo>=1.0, one can now directly specify
the dependency pattern as FOO_DEPENDS=foo>=1.0.  This allows things like
JPEG_DEPENDS=jpeg-6b, or fancier expressions like for postgresql-lib.
Change existing FOO_REQD definitions in Makefiles to FOO_DEPENDS.
2001-06-23 19:26:48 +00:00
jlam
a85615f592 Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-06-21 21:40:07 +00:00
jlam
9bbb6e80fd Update py-postgresql to 3.2. Changes from version 3.1 include few bugfixes,
adds a few minor features and makes a few speedups in the code, plus:

  - Fix some DB-API quoting problems (niall.smart@ebeon.com)
  - Moved development into PostgreSQL development tree.
2001-05-14 14:53:28 +00:00
agc
6ef28d06c5 Move to sha1 digests, and add distfile sizes. 2001-04-18 16:10:56 +00:00
agc
5092342d3d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ include distfile filesizes in distinfo
2001-04-17 09:56:50 +00:00
wiz
417e8bbabf Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:17:22 +00:00
jlam
b8a94ea5e7 Only install the postgresql modules, and not the setup module. 2000-12-22 18:42:54 +00:00
jlam
a3d0b717e2 Remove pgtools.py as it's not present. 2000-12-22 18:41:49 +00:00
wiz
572e80cd21 Move lots of packages to new time category; fix links; add time subcategory
to main Makefile.
2000-12-17 23:40:53 +00:00
darcy
30126c12b3 Seems that Python was upgraded to 2.0 so I guess this needs to be modified.
I changed the dependencies and directories accordingly.
2000-11-16 05:25:51 +00:00
darcy
c639312307 Upgrade to version 3.1.
This release fixes a few bugs, adds a few minor features and makes a
few speedups in the code.

Important changes from PyGreSQL 3.0 to PyGreSQL 3.1
  - Fix some quoting functions.  In particular handle NULLs better.
  - Use a method to add primary key information rather than direct
    manipulation of the class structures.
  - Break decimal out in _quote (in pg.py) and treat it as float.
  - Treat timestamp like date for quoting purposes.
  - Remove a redundant SELECT from the get method speeding it, and insert
    since it calls get, up a little.
  - Add test for BOOL type in typecast method to pgdbTypeCache class.
    (tv@beamnet.de)
  - Fix pgdb.py to send port as integer to lower level function
    (dildog@l0pht.com)
  - Change pg.py to speed up some operations
  - Allow updates on tables with no primary keys.
2000-11-16 04:37:54 +00:00
wiz
33d5efdb69 remove unnecessary whitespace 2000-09-03 09:51:48 +00:00
hubertf
cea7708b61 This whole package doesn't have a file 'pgtools.py', remove it from
te PLIST.
2000-08-19 21:05:01 +00:00
hubertf
dc3a453a53 ../../misc/py-mxDateTime installs a package, called "py-mxDateTime", not
"mxDateTime" (add leading 'py-')
2000-08-19 20:59:58 +00:00
wiz
0d0309ed93 remove HTML code 2000-08-10 22:41:14 +00:00
darcy
196cdadea6 Upgrade to verson 3.0. The most important change here is addition of
the Python DB-API module.  Also, note backwards compatibility issue.

Important changes for 3.0

  Remove strlen() call from pglarge_write() and get size from object.
      (Richard@Bouska.cz)
  Add a little more error checking to the quote function in the wrapper
  Add extra checking in _quote function
  Wrap query in pg.py for debugging
  Add DB-API 2.0 support to pgmodule.c (andre@via.ecp.fr)
  Add DB-API 2.0 wrapper pgdb.py (andre@via.ecp.fr)
  Correct keyword clash (temp) in tutorial
  Clean up layout of tutorial
  Return NULL values as None (rlawrence@lastfoot.com) (WARNING: This will
      cause backwards compatibility issues.)
  Change None to NULL in insert and update
  Change hash-bang lines to use /usr/bin/env
  Clearing date should be blank (NULL) not TODAY
  Quote backslashes in strings in _quote (brian@CSUA.Berkeley.EDU)
  Expanded and clarified build instructions (tbryan@starship.python.net)
  Make code thread safe (Jerome.Alet@unice.fr)
  Add README.distutils (mwa@gate.net & jeremy@cnri.reston.va.us)
  Many fixes by chifungfan@yahoo.com, tony@printra.net, jeremy@alum.mit.edu
      and others to get the final version ready to release.
2000-07-03 14:10:33 +00:00
jlam
b57cbb4650 Update dependency on postgresql to >=6.5.3. 2000-05-20 19:52:49 +00:00
jlam
e2104b8abb Adapt to new postgresql include/library locations. 2000-04-09 03:53:50 +00:00
darcy
0eb27cdf5c Seem that I was a bit hasty with the previous change. This backs out
that change and makes the correct one which is to simply remove the
-Wl flag as cc can handle -R by itself.
2000-02-25 22:32:33 +00:00
darcy
d27ae9fd62 Python builds it's public Makefile so that the module gets linked
with ld on a.out systems and cc on ELF systems so we need to check
and only add the -Wl flag if on a.out systems.
2000-02-24 22:41:01 +00:00
darcy
63c5870611 Add argument so that the shared library is found under ELF systems 2000-01-06 03:18:47 +00:00
darcy
dfeeb73218 upgraded PostgreSQL to 6.5.3 and updated the dependent Makefiles 1999-12-02 01:47:04 +00:00