head	1.89;
access;
symbols
	pkgsrc-2026Q1:1.89.0.18
	pkgsrc-2026Q1-base:1.89
	pkgsrc-2025Q4:1.89.0.16
	pkgsrc-2025Q4-base:1.89
	pkgsrc-2025Q3:1.89.0.14
	pkgsrc-2025Q3-base:1.89
	pkgsrc-2025Q2:1.89.0.12
	pkgsrc-2025Q2-base:1.89
	pkgsrc-2025Q1:1.89.0.10
	pkgsrc-2025Q1-base:1.89
	pkgsrc-2024Q4:1.89.0.8
	pkgsrc-2024Q4-base:1.89
	pkgsrc-2024Q3:1.89.0.6
	pkgsrc-2024Q3-base:1.89
	pkgsrc-2024Q2:1.89.0.4
	pkgsrc-2024Q2-base:1.89
	pkgsrc-2024Q1:1.89.0.2
	pkgsrc-2024Q1-base:1.89
	pkgsrc-2023Q4:1.88.0.2
	pkgsrc-2023Q4-base:1.88
	pkgsrc-2023Q3:1.87.0.14
	pkgsrc-2023Q3-base:1.87
	pkgsrc-2023Q2:1.87.0.12
	pkgsrc-2023Q2-base:1.87
	pkgsrc-2023Q1:1.87.0.10
	pkgsrc-2023Q1-base:1.87
	pkgsrc-2022Q4:1.87.0.8
	pkgsrc-2022Q4-base:1.87
	pkgsrc-2022Q3:1.87.0.6
	pkgsrc-2022Q3-base:1.87
	pkgsrc-2022Q2:1.87.0.4
	pkgsrc-2022Q2-base:1.87
	pkgsrc-2022Q1:1.87.0.2
	pkgsrc-2022Q1-base:1.87
	pkgsrc-2021Q4:1.86.0.22
	pkgsrc-2021Q4-base:1.86
	pkgsrc-2021Q3:1.86.0.20
	pkgsrc-2021Q3-base:1.86
	pkgsrc-2021Q2:1.86.0.18
	pkgsrc-2021Q2-base:1.86
	pkgsrc-2021Q1:1.86.0.16
	pkgsrc-2021Q1-base:1.86
	pkgsrc-2020Q4:1.86.0.14
	pkgsrc-2020Q4-base:1.86
	pkgsrc-2020Q3:1.86.0.12
	pkgsrc-2020Q3-base:1.86
	pkgsrc-2020Q2:1.86.0.10
	pkgsrc-2020Q2-base:1.86
	pkgsrc-2020Q1:1.86.0.6
	pkgsrc-2020Q1-base:1.86
	pkgsrc-2019Q4:1.86.0.8
	pkgsrc-2019Q4-base:1.86
	pkgsrc-2019Q3:1.86.0.4
	pkgsrc-2019Q3-base:1.86
	pkgsrc-2019Q2:1.86.0.2
	pkgsrc-2019Q2-base:1.86
	pkgsrc-2019Q1:1.85.0.4
	pkgsrc-2019Q1-base:1.85
	pkgsrc-2018Q4:1.85.0.2
	pkgsrc-2018Q4-base:1.85
	pkgsrc-2018Q3:1.84.0.4
	pkgsrc-2018Q3-base:1.84
	pkgsrc-2018Q2:1.84.0.2
	pkgsrc-2018Q2-base:1.84
	pkgsrc-2018Q1:1.83.0.8
	pkgsrc-2018Q1-base:1.83
	pkgsrc-2017Q4:1.83.0.6
	pkgsrc-2017Q4-base:1.83
	pkgsrc-2017Q3:1.83.0.4
	pkgsrc-2017Q3-base:1.83
	pkgsrc-2017Q2:1.82.0.6
	pkgsrc-2017Q2-base:1.82
	pkgsrc-2017Q1:1.82.0.4
	pkgsrc-2017Q1-base:1.82
	pkgsrc-2016Q4:1.82.0.2
	pkgsrc-2016Q4-base:1.82
	pkgsrc-2016Q3:1.80.0.2
	pkgsrc-2016Q3-base:1.80
	pkgsrc-2016Q2:1.79.0.4
	pkgsrc-2016Q2-base:1.79
	pkgsrc-2016Q1:1.79.0.2
	pkgsrc-2016Q1-base:1.79
	pkgsrc-2015Q4:1.72.0.2
	pkgsrc-2015Q4-base:1.72
	pkgsrc-2015Q3:1.71.0.12
	pkgsrc-2015Q3-base:1.71
	pkgsrc-2015Q2:1.71.0.10
	pkgsrc-2015Q2-base:1.71
	pkgsrc-2015Q1:1.71.0.8
	pkgsrc-2015Q1-base:1.71
	pkgsrc-2014Q4:1.71.0.6
	pkgsrc-2014Q4-base:1.71
	pkgsrc-2014Q3:1.71.0.4
	pkgsrc-2014Q3-base:1.71
	pkgsrc-2014Q2:1.71.0.2
	pkgsrc-2014Q2-base:1.71
	pkgsrc-2014Q1:1.70.0.2
	pkgsrc-2014Q1-base:1.70
	pkgsrc-2013Q4:1.68.0.8
	pkgsrc-2013Q4-base:1.68
	pkgsrc-2013Q3:1.68.0.6
	pkgsrc-2013Q3-base:1.68
	pkgsrc-2013Q2:1.68.0.4
	pkgsrc-2013Q2-base:1.68
	pkgsrc-2013Q1:1.68.0.2
	pkgsrc-2013Q1-base:1.68
	pkgsrc-2012Q4:1.65.0.2
	pkgsrc-2012Q4-base:1.65
	pkgsrc-2012Q3:1.64.0.2
	pkgsrc-2012Q3-base:1.64
	pkgsrc-2012Q2:1.63.0.2
	pkgsrc-2012Q2-base:1.63
	pkgsrc-2012Q1:1.61.0.2
	pkgsrc-2012Q1-base:1.61
	pkgsrc-2011Q4:1.60.0.4
	pkgsrc-2011Q4-base:1.60
	pkgsrc-2011Q3:1.60.0.2
	pkgsrc-2011Q3-base:1.60
	pkgsrc-2011Q2:1.58.0.12
	pkgsrc-2011Q2-base:1.58
	pkgsrc-2011Q1:1.58.0.10
	pkgsrc-2011Q1-base:1.58
	pkgsrc-2010Q4:1.58.0.8
	pkgsrc-2010Q4-base:1.58
	pkgsrc-2010Q3:1.58.0.6
	pkgsrc-2010Q3-base:1.58
	pkgsrc-2010Q2:1.58.0.4
	pkgsrc-2010Q2-base:1.58
	pkgsrc-2010Q1:1.58.0.2
	pkgsrc-2010Q1-base:1.58
	pkgsrc-2009Q4:1.57.0.4
	pkgsrc-2009Q4-base:1.57
	pkgsrc-2009Q3:1.57.0.2
	pkgsrc-2009Q3-base:1.57
	pkgsrc-2009Q2:1.56.0.4
	pkgsrc-2009Q2-base:1.56
	pkgsrc-2009Q1:1.56.0.2
	pkgsrc-2009Q1-base:1.56
	pkgsrc-2008Q4:1.54.0.2
	pkgsrc-2008Q4-base:1.54
	pkgsrc-2008Q3:1.53.0.8
	pkgsrc-2008Q3-base:1.53
	cube-native-xorg:1.53.0.6
	cube-native-xorg-base:1.53
	pkgsrc-2008Q2:1.53.0.4
	pkgsrc-2008Q2-base:1.53
	cwrapper:1.53.0.2
	pkgsrc-2008Q1:1.51.0.2
	pkgsrc-2008Q1-base:1.51
	pkgsrc-2007Q4:1.50.0.10
	pkgsrc-2007Q4-base:1.50
	pkgsrc-2007Q3:1.50.0.8
	pkgsrc-2007Q3-base:1.50
	pkgsrc-2007Q2:1.50.0.6
	pkgsrc-2007Q2-base:1.50
	pkgsrc-2007Q1:1.50.0.4
	pkgsrc-2007Q1-base:1.50
	pkgsrc-2006Q4:1.50.0.2
	pkgsrc-2006Q4-base:1.50
	pkgsrc-2006Q3:1.49.0.2
	pkgsrc-2006Q3-base:1.49
	pkgsrc-2006Q2:1.48.0.2
	pkgsrc-2006Q2-base:1.48
	pkgsrc-2006Q1:1.45.0.2
	pkgsrc-2006Q1-base:1.45
	pkgsrc-2005Q4:1.43.0.2
	pkgsrc-2005Q4-base:1.43
	pkgsrc-2005Q3:1.42.0.2
	pkgsrc-2005Q3-base:1.42
	pkgsrc-2005Q2:1.41.0.2
	pkgsrc-2005Q2-base:1.41
	pkgsrc-2005Q1:1.39.0.2
	pkgsrc-2005Q1-base:1.39
	pkgsrc-2004Q4:1.38.0.2
	pkgsrc-2004Q4-base:1.38
	pkgsrc-2004Q3:1.36.0.2
	pkgsrc-2004Q3-base:1.36
	pkgsrc-2004Q2:1.32.0.2
	pkgsrc-2004Q2-base:1.32
	pkgsrc-2004Q1:1.31.0.2
	pkgsrc-2004Q1-base:1.31
	pkgsrc-2003Q4:1.28.0.2
	pkgsrc-2003Q4-base:1.28
	netbsd-1-6-1:1.25.0.2
	netbsd-1-6-1-base:1.25
	netbsd-1-6:1.19.0.8
	netbsd-1-6-RELEASE-base:1.19
	pkgviews:1.19.0.4
	pkgviews-base:1.19
	buildlink2:1.19.0.2
	buildlink2-base:1.19
	netbsd-1-5-PATCH003:1.19
	netbsd-1-5-PATCH001:1.13
	netbsd-1-5-RELEASE:1.8
	netbsd-1-4-PATCH003:1.8
	netbsd-1-4-PATCH002:1.4
	comdex-fall-1999:1.1.1.1
	pkgsrc-base:1.1.1.2
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.89
date	2023.12.30.21.08.53;	author zafer;	state Exp;
branches;
next	1.88;
commitid	hZhriqW1Lmji7xSE;

1.88
date	2023.12.15.13.48.12;	author wiz;	state Exp;
branches;
next	1.87;
commitid	UkXZj7xnb6k0azQE;

1.87
date	2022.01.04.20.52.43;	author wiz;	state Exp;
branches;
next	1.86;
commitid	CYyhdK9qtoffkmnD;

1.86
date	2019.05.21.19.46.39;	author david;	state Exp;
branches;
next	1.85;
commitid	bOH4wwkpamsMM6oB;

1.85
date	2018.12.10.15.11.14;	author adam;	state Exp;
branches;
next	1.84;
commitid	ocAjtVf4Mdyqtg3B;

1.84
date	2018.04.29.13.50.52;	author wiz;	state Exp;
branches;
next	1.83;
commitid	ox5ayBoC2HkjglAA;

1.83
date	2017.08.15.12.22.06;	author darcy;	state Exp;
branches;
next	1.82;
commitid	IVIT3NRADMHY1j3A;

1.82
date	2016.12.11.11.25.52;	author darcy;	state Exp;
branches;
next	1.81;
commitid	uoIOw3MdOMAVDyxz;

1.81
date	2016.10.09.21.41.57;	author wiz;	state Exp;
branches;
next	1.80;
commitid	i0AJjxRbfKiS5wpz;

1.80
date	2016.09.13.23.59.37;	author wiz;	state Exp;
branches;
next	1.79;
commitid	zNyJ2bt3AxKTGbmz;

1.79
date	2016.03.23.21.51.25;	author wiz;	state Exp;
branches;
next	1.78;
commitid	QQL0LMvyfSuBzOZy;

1.78
date	2016.03.23.16.30.12;	author darcy;	state Exp;
branches;
next	1.77;
commitid	j92LJfzgyoP4NMZy;

1.77
date	2016.03.20.22.01.22;	author darcy;	state Exp;
branches;
next	1.76;
commitid	ex8I0RS4KiwdIqZy;

1.76
date	2016.02.18.18.38.38;	author darcy;	state Exp;
branches;
next	1.75;
commitid	swPo4N598YP7BqVy;

1.75
date	2016.01.22.19.57.05;	author darcy;	state Exp;
branches;
next	1.74;
commitid	5hbddzq4DOt1UXRy;

1.74
date	2016.01.22.19.53.59;	author darcy;	state Exp;
branches;
next	1.73;
commitid	oaEOI8DI0N7zSXRy;

1.73
date	2016.01.21.22.17.55;	author darcy;	state Exp;
branches;
next	1.72;
commitid	k3wB7WXLF4AlHQRy;

1.72
date	2015.12.05.21.25.32;	author adam;	state Exp;
branches;
next	1.71;
commitid	bgA0CynThkP3WNLy;

1.71
date	2014.05.09.07.36.57;	author wiz;	state Exp;
branches;
next	1.70;
commitid	wfzXpL2biguCPPzx;

1.70
date	2014.03.05.11.14.00;	author darcy;	state Exp;
branches;
next	1.69;
commitid	xzFgZytBnz3e7vrx;

1.69
date	2014.01.25.10.29.59;	author wiz;	state Exp;
branches;
next	1.68;
commitid	VOWgk3vYhVXj8umx;

1.68
date	2013.01.08.15.09.59;	author darcy;	state Exp;
branches;
next	1.67;

1.67
date	2013.01.03.16.56.22;	author darcy;	state Exp;
branches;
next	1.66;

1.66
date	2013.01.03.13.58.35;	author darcy;	state Exp;
branches;
next	1.65;

1.65
date	2012.10.02.21.25.49;	author asau;	state Exp;
branches;
next	1.64;

1.64
date	2012.08.05.10.02.11;	author obache;	state Exp;
branches;
next	1.63;

1.63
date	2012.06.09.09.41.05;	author wiz;	state Exp;
branches;
next	1.62;

1.62
date	2012.04.08.19.08.48;	author wiz;	state Exp;
branches;
next	1.61;

1.61
date	2012.02.24.02.19.05;	author darcy;	state Exp;
branches;
next	1.60;

1.60
date	2011.09.29.12.53.58;	author joerg;	state Exp;
branches;
next	1.59;

1.59
date	2011.08.27.22.06.31;	author darcy;	state Exp;
branches;
next	1.58;

1.58
date	2010.02.10.19.34.06;	author joerg;	state Exp;
branches;
next	1.57;

1.57
date	2009.09.07.19.02.13;	author joerg;	state Exp;
branches;
next	1.56;

1.56
date	2009.03.18.18.37.59;	author darcy;	state Exp;
branches;
next	1.55;

1.55
date	2009.03.05.18.51.28;	author joerg;	state Exp;
branches;
next	1.54;

1.54
date	2009.01.01.13.21.44;	author darcy;	state Exp;
branches;
next	1.53;

1.53
date	2008.06.12.02.14.20;	author joerg;	state Exp;
branches;
next	1.52;

1.52
date	2008.04.25.20.39.07;	author joerg;	state Exp;
branches;
next	1.51;

1.51
date	2008.03.13.17.38.48;	author joerg;	state Exp;
branches;
next	1.50;

1.50
date	2006.12.28.12.12.58;	author joerg;	state Exp;
branches;
next	1.49;

1.49
date	2006.09.09.02.41.56;	author obache;	state Exp;
branches;
next	1.48;

1.48
date	2006.06.16.10.58.23;	author rillig;	state Exp;
branches;
next	1.47;

1.47
date	2006.06.11.00.58.39;	author darcy;	state Exp;
branches;
next	1.46;

1.46
date	2006.06.07.12.54.55;	author joerg;	state Exp;
branches;
next	1.45;

1.45
date	2006.02.17.17.58.02;	author darcy;	state Exp;
branches;
next	1.44;

1.44
date	2006.02.05.23.08.36;	author joerg;	state Exp;
branches;
next	1.43;

1.43
date	2005.12.05.20.50.00;	author rillig;	state Exp;
branches;
next	1.42;

1.42
date	2005.09.07.11.42.27;	author darcy;	state Exp;
branches;
next	1.41;

1.41
date	2005.05.22.20.07.46;	author jlam;	state Exp;
branches;
next	1.40;

1.40
date	2005.04.11.21.45.15;	author tv;	state Exp;
branches;
next	1.39;

1.39
date	2005.02.23.12.13.35;	author darcy;	state Exp;
branches;
next	1.38;

1.38
date	2004.12.17.21.36.01;	author darcy;	state Exp;
branches;
next	1.37;

1.37
date	2004.12.16.20.37.46;	author darcy;	state Exp;
branches;
next	1.36;

1.36
date	2004.08.30.08.33.34;	author darcy;	state Exp;
branches;
next	1.35;

1.35
date	2004.07.24.22.48.14;	author recht;	state dead;
branches;
next	1.34;

1.34
date	2004.07.24.22.45.15;	author recht;	state Exp;
branches;
next	1.33;

1.33
date	2004.07.22.09.16.01;	author recht;	state Exp;
branches;
next	1.32;

1.32
date	2004.04.25.13.54.07;	author recht;	state Exp;
branches;
next	1.31;

1.31
date	2004.03.26.02.27.37;	author wiz;	state Exp;
branches;
next	1.30;

1.30
date	2004.02.06.19.04.24;	author jlam;	state Exp;
branches;
next	1.29;

1.29
date	2004.01.20.14.11.50;	author jlam;	state Exp;
branches;
next	1.28;

1.28
date	2003.08.18.10.09.50;	author drochner;	state Exp;
branches;
next	1.27;

1.27
date	2003.07.17.21.28.55;	author grant;	state Exp;
branches;
next	1.26;

1.26
date	2003.04.03.18.06.14;	author toshii;	state Exp;
branches;
next	1.25;

1.25
date	2003.01.05.20.14.26;	author jlam;	state Exp;
branches;
next	1.24;

1.24
date	2003.01.05.19.26.16;	author jlam;	state Exp;
branches;
next	1.23;

1.23
date	2002.10.25.11.17.24;	author drochner;	state Exp;
branches;
next	1.22;

1.22
date	2002.10.19.03.04.37;	author jlam;	state Exp;
branches;
next	1.21;

1.21
date	2002.10.09.18.24.50;	author wiz;	state Exp;
branches;
next	1.20;

1.20
date	2002.09.21.23.46.47;	author jlam;	state Exp;
branches;
next	1.19;

1.19
date	2002.04.04.14.36.42;	author jlam;	state Exp;
branches;
next	1.18;

1.18
date	2002.01.19.16.13.00;	author drochner;	state Exp;
branches;
next	1.17;

1.17
date	2002.01.15.18.33.26;	author drochner;	state Exp;
branches;
next	1.16;

1.16
date	2001.06.23.19.26.52;	author jlam;	state Exp;
branches;
next	1.15;

1.15
date	2001.06.21.21.40.09;	author jlam;	state Exp;
branches;
next	1.14;

1.14
date	2001.05.14.14.53.28;	author jlam;	state Exp;
branches;
next	1.13;

1.13
date	2001.02.16.14.17.39;	author wiz;	state Exp;
branches;
next	1.12;

1.12
date	2000.12.22.18.42.54;	author jlam;	state Exp;
branches;
next	1.11;

1.11
date	2000.12.17.23.40.54;	author wiz;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.16.05.25.51;	author darcy;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.16.04.37.54;	author darcy;	state Exp;
branches;
next	1.8;

1.8
date	2000.08.19.20.59.58;	author hubertf;	state Exp;
branches;
next	1.7;

1.7
date	2000.07.03.14.10.33;	author darcy;	state Exp;
branches;
next	1.6;

1.6
date	2000.05.20.19.52.51;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.09.03.55.35;	author jlam;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.25.22.32.33;	author darcy;	state Exp;
branches;
next	1.3;

1.3
date	2000.02.24.22.41.01;	author darcy;	state Exp;
branches;
next	1.2;

1.2
date	99.12.02.01.47.06;	author darcy;	state Exp;
branches;
next	1.1;

1.1
date	99.10.04.17.36.48;	author jlam;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.10.04.17.36.48;	author jlam;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2004.08.30.00.35.11;	author darcy;	state Exp;
branches;
next	;


desc
@@


1.89
log
@https
@
text
@# $NetBSD: Makefile,v 1.88 2023/12/15 13:48:12 wiz Exp $

DISTNAME=	PyGreSQL-5.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/PyGreSQL/postgresql/}
PKGREVISION=	1
CATEGORIES=	databases python
MASTER_SITES=	https://pygresql.org/files/

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://www.PyGreSQL.org/
COMMENT=	Python interface to PostgreSQL
LICENSE=	postgresql-license

REPLACE_PYTHON+=	pg.py
REPLACE_PYTHON+=	pgdb.py

.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.88
log
@*: reset MAINTAINER/OWNER for inactive developer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.87 2022/01/04 20:52:43 wiz Exp $
d7 1
a7 1
MASTER_SITES=	http://pygresql.org/files/
@


1.87
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.86 2019/05/21 19:46:39 david Exp $
d9 1
a9 1
OWNER=		darcy@@NetBSD.org
@


1.86
log
@Update to PyGreSQL version 5.1  (commit on behalf of darcy@@)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.85 2018/12/10 15:11:14 adam Exp $
d5 1
@


1.85
log
@py-postgresql: updated to 5.0.6

Vesion 5.0.6:
This version officially supports the new Python 3.7.
Correct trove classifier for the PostgreSQL License.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.84 2018/04/29 13:50:52 wiz Exp $
d3 1
a3 1
DISTNAME=	PyGreSQL-5.0.6
@


1.84
log
@py-postgresql: update to 5.0.5.

Version 5.0.5 (2018-04-25)
------------------------------
- This version officially supports the new PostgreSQL 10.
- The memory for the string with the number of rows affected by a classic pg
  module query() was already freed (bug report and fix by Peifeng Qiu).

Ok OWNER.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.83 2017/08/15 12:22:06 darcy Exp $
d3 9
a11 4
DISTNAME=		PyGreSQL-5.0.5
PKGNAME=		${PYPKGPREFIX}-${DISTNAME:S/PyGreSQL/postgresql/}
CATEGORIES=		databases python
MASTER_SITES=		http://pygresql.org/files/
d13 2
a14 13
OWNER=			darcy@@NetBSD.org
HOMEPAGE=		http://www.PyGreSQL.org/
COMMENT=		Python interface to PostgreSQL
LICENSE=        	postgresql-license

MAKE_ENV+=		MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_ENV+=		BINDIR=${PREFIX}/bin
USE_TOOLS+=		gmake

MAKE_FILE=		GNUmakefile
MAKE_ENV+=		INSTALLED_LIBPQ=1

REPLACE_PYTHON=		pg.py pgdb.py
@


1.83
log
@Version 5.0.4 (2017-07-23)
--------------------------
- This version officially supports the new Python 3.6 and PostgreSQL 9.6.
- query_formatted() can now be used without parameters.
- The automatic renaming of columns that are invalid as field names of
  named tuples now works more accurately in Python 2.6 and 3.0.
- Fixed error checks for unlink() and export() methods of large objects
  (bug report by Justin Pryzby).
- Fixed a compilation issue under OS X (bug report by Josh Johnston).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.82 2016/12/11 11:25:52 darcy Exp $
d3 1
a3 1
DISTNAME=		PyGreSQL-5.0.4
@


1.82
log
@Upgrade to 5.0.3.
- It is now possible to use a custom array cast function by changing
  the type caster for the 'anyarray' type.  For instance, by calling
  set_typecast('anyarray', lambda v, c: v) you can have arrays returned
  as strings instead of lists.  Note that in the pg module, you can also
  call set_array(False) in order to return arrays as strings.
- The namedtuple classes used for the rows of query results are now cached
  and reused internally, since creating namedtuples classes in Python is a
  somewhat expensive operation.  By default the cache has a size of 1024
  entries, but this can be changed with the set_row_factory_size() function.
  In certain cases this change can notably improve the performance.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.81 2016/10/09 21:41:57 wiz Exp $
d3 1
a3 1
DISTNAME=		PyGreSQL-5.0.3
@


1.81
log
@Recursive bump for all users of pgsql now that the default is 95.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.80 2016/09/13 23:59:37 wiz Exp $
d3 1
a3 1
DISTNAME=		PyGreSQL-5.0.2
a4 1
PKGREVISION=		1
@


1.80
log
@Updated py-postgresql to 5.0.2.

Ok from OWNER, darcy.

Version 5.0.2 (2016-09-08)
--------------------------
- Fixed an infinite recursion problem in the DB wrapper class of the classic
  module that could occur when the underlying connection could not be properly
  opened (bug report by Justin Pryzby).

Version 5.0.1 (2016-08-18)
--------------------------
- The update() and delete() methods of the DB wrapper now use the OID instead
  of the primary key if both are provided. This restores backward compatibility
  with PyGreSQL 4.x and allows updating the primary key itself if an OID exists.
- The connect() function of the DB API 2.0 module now accepts additional keyword
  parameters such as "application_name" which will be passed on to PostgreSQL.
- PyGreSQL now adapts some queries to be able to access older PostgreSQL 8.x
  databases (as suggested on the mailing list by Andres Mejia). However, these
  old versions of PostgreSQL are not officially supported and tested any more.
- Fixed an issue with Postgres types that have an OID >= 0x80000000 (reported
  on the mailing list by Justin Pryzby).
- Allow extra values that are not used in the command in the parameter dict
  passed to the query_formatted() method (as suggested by Justin Pryzby).
- Improved handling of empty arrays in the classic module.
- Unused classic connections were not properly garbage collected which could
  cause memory leaks (reported by Justin Pryzby).
- Made C extension compatible with MSVC 9 again (this was needed to compile for
  Python 2 on Windows).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.79 2016/03/23 21:51:25 wiz Exp $
d5 1
@


1.79
log
@Set DIST_SUBDIR.

The previous commit replaced the distfile with a new one with the same
name. In pkgsrc, we have rules for that; apply them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.78 2016/03/23 16:30:12 darcy Exp $
d3 2
a4 3
DISTNAME=		PyGreSQL-5.0
PKGNAME=		${PYPKGPREFIX}-postgresql-5.0
PKGREVISION=    	1
a6 1
DIST_SUBDIR=		py-postgresql-5.0-20160323
a19 2
PY_PATCHPLIST=		yes
PLIST_SUBST+=		PYPKGPREFIX=${PYPKGPREFIX:Q}
@


1.78
log
@The distribution had the wrong tar file.  Fixed checksums for correct one.
Bumped PKGREVISION in case anyone already built the wrong one.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.77 2016/03/20 22:01:22 darcy Exp $
d5 1
a5 1
PKGREVISION=    1
d8 1
@


1.77
log
@Release 5.0 of PyGreSQL.

The biggest change here is Python 3.x compatibility.  Other changes are too
numerous to list.  See http://www.pygresql.org/ for all the changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.76 2016/02/18 18:38:38 darcy Exp $
d5 1
@


1.76
log
@Upgrade to 4.2.1.
Minor documentation and installation fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.75 2016/01/22 19:57:05 darcy Exp $
d3 2
a4 2
DISTNAME=		PyGreSQL-4.2.1
PKGNAME=		${PYPKGPREFIX}-postgresql-4.2.1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 35 # not yet ported as of 4.1.1
@


1.75
log
@Documentation is via the web.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.74 2016/01/22 19:53:59 darcy Exp $
d3 2
a4 2
DISTNAME=		PyGreSQL-4.2
PKGNAME=		${PYPKGPREFIX}-postgresql-4.2
a6 1
EXTRACT_SUFX=		.tar.gz
a24 2
DOCDIR=			${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql

@


1.74
log
@The distribution file was listed incorrectly.  This is the correct one.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.73 2016/01/21 22:17:55 darcy Exp $
a27 14
INSTALLATION_DIRS=	${DOCDIR}/tutorial ${DOCDIR}/docs

post-install:
	set -e;								\
	cd ${WRKSRC}/tutorial;						\
	for f in *.py; do						\
		${INSTALL_DATA} "$$f" ${DESTDIR}${DOCDIR}/tutorial;	\
	done
	set -e;								\
	cd ${WRKSRC}/docs;						\
	for f in *; do							\
		${INSTALL_DATA} "$$f" ${DESTDIR}${DOCDIR}/docs;		\
	done

@


1.73
log
@Update to version 4.2.
This is the last version before adding support for Python 3.x.  Only bug
fixes will be added to this branch.  From the changelog:

Version 4.2
-----------
- The supported Python versions are 2.4 to 2.7.
- PostgreSQL is supported in all versions from 8.3 to 9.5.
- Set a better default for the user option "escaping-funcs".
- Force build to compile with no errors.
- New methods get_parameters() and set_parameters() in the classic interface
  which can be used to get or set run-time parameters.
- New method truncate() in the classic interface that can be used to quickly
  empty a table or a set of tables.
- Fix decimal point handling.
- Add option to return boolean values as bool objects.
- Add option to return money values as string.
- get_tables() does not list information schema tables any more.
- Fix notification handler (Thanks Patrick TJ McPhee).
- Fix a small issue with large objects.
- Minor improvements in the NotificationHandler.
- Converted documentation to Sphinx and added many missing parts.
- The tutorial files have become a chapter in the documentation.
- Greatly improved unit testing, tests run with Python 2.4 to 2.7 again.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.72 2015/12/05 21:25:32 adam Exp $
d7 1
a7 1
EXTRACT_SUFX=		.tgz
@


1.72
log
@Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.71 2014/05/09 07:36:57 wiz Exp $
d3 2
a4 2
DISTNAME=		PyGreSQL-4.1.1
PKGNAME=		${PYPKGPREFIX}-postgresql-4.1.1
a7 1
PKGREVISION=	1
@


1.71
log
@Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.70 2014/03/05 11:14:00 darcy Exp $
d25 1
a25 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # not yet ported as of 4.1.1
@


1.70
log
@Allow PyGreSQL to work with PostgreSQL < 9.0.
PR: pkg/48567
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.69 2014/01/25 10:29:59 wiz Exp $
d25 1
a25 1
PYTHON_VERSIONS_INCOMPATIBLE=	33 # not yet ported as of 4.1.1
@


1.69
log
@Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.68 2013/01/08 15:09:59 darcy Exp $
d8 1
@


1.68
log
@Upgrade to version 4.1.1
Mainly a bug fix.  Also adds a preplacement for the functionality of
databases/py-pgnotify which no longer works with new versions of
PyGreSQL and PostgreSQL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.67 2013/01/03 16:56:22 darcy Exp $
d12 1
a16 1
LICENSE=        postgresql-license
d24 1
a25 1
PYDISTUTILSPKG=		yes
@


1.67
log
@Fix hard coded PLIST entries.  Thanks Ryo ONODERA.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.66 2013/01/03 13:58:35 darcy Exp $
d3 2
a4 2
DISTNAME=		PyGreSQL-4.1
PKGNAME=		${PYPKGPREFIX}-postgresql-4.1
@


1.66
log
@Upgrade to version 4.1.

Changes since 4.0:
- Dropped support for Python below 2.5 and PostgreSQL below 8.3.
- Added support for Python up to 2.7 and PostgreSQL up to 9.2.
- Particularly, support PQescapeLiteral() and PQescapeIdentifier().
- The query method of the classic API now supports positional parameters.
  This an effective way to pass arbitrary or unknown data without worrying
  about SQL injection or syntax errors (contribution by Patrick TJ McPhee).
- The classic API now supports a method namedresult() in addition to
  getresult() and dictresult(), which returns the rows of the result
  as named tuples if these are supported (Python 2.6 or higher).
- The classic API has got the new methods begin(), commit(), rollback(),
  savepoint() and release() for handling transactions.
- Both classic and DBAPI 2 connections can now be used as context
  managers for encapsulating transactions.
- The execute() and executemany() methods now return the cursor object,
  so you can now write statements like "for row in cursor.execute(...)"
  (as suggested by Adam Frederick).
- Binary objects are now automatically escaped and unescaped.
- Bug in money quoting fixed.  Amounts of $0.00 handled correctly.
- Proper handling of date and time objects as input.
- Proper handling of floats with 'nan' or 'inf' values as input.
- Fixed the set_decimal() function.
- All DatabaseError instances now have a sqlstate attribute.
- The getnotify() method can now also return payload strings (#15).
- Better support for notice processing with the new methods
  set_notice_receiver() and get_notice_receiver()
  (as suggested by Michael Filonenko, see #12 and #37).
- Open transactions are rolled back when pgdb connections are closed
  (as suggested by Peter Harris, see #46).
- Connections and cursors can now be used with the "with" statement
  (as suggested by Peter Harris, see #46).
- New method use_regtypes() that can be called to let getattnames()
  return regular type names instead of the simplified classic types (#44).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.65 2012/10/02 21:25:49 asau Exp $
d43 1
a43 1
.include "../../lang/python/extension.mk"
@


1.65
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.64 2012/08/05 10:02:11 obache Exp $
d3 2
a4 3
DISTNAME=		PyGreSQL-4.0
PKGNAME=		${PYPKGPREFIX}-postgresql-4.0
PKGREVISION=		3
d16 1
@


1.64
log
@Bump PKGREVISION for change of PostgreSQL default version to 9.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.63 2012/06/09 09:41:05 wiz Exp $
a13 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.63
log
@Replace python interpreter in two files. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.62 2012/04/08 19:08:48 wiz Exp $
d5 1
a5 1
PKGREVISION=		2
@


1.62
log
@Remove python24 and all traces of it from pkgsrc.
Remove devel/py-ctypes (only needed by and supporting python24).
Remove PYTHON_VERSIONS_ACCEPTED and PYTHON_VERSIONS_INCOMPATIBLE
lines that just mirror defaults now.
Miscellaneous cleanup while editing all these files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.61 2012/02/24 02:19:05 darcy Exp $
d5 1
a5 1
PKGREVISION=		1
d25 1
d44 1
@


1.61
log
@Location of distribution file has changed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.60 2011/09/29 12:53:58 joerg Exp $
a22 2
PYTHON_VERSIONS_ACCEPTED= 27 26 25 24

@


1.60
log
@Remove Python 2.3 from the list of supported versions
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.59 2011/08/27 22:06:31 darcy Exp $
d7 1
a7 1
MASTER_SITES=		ftp://ftp.druid.net/pub/distrib/
@


1.59
log
@PyGreSQL doesn't work on Python 3 yet.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.58 2010/02/10 19:34:06 joerg Exp $
d23 1
a23 1
PYTHON_VERSIONS_ACCEPTED= 27 26 25 24 23
@


1.58
log
@Bump revision for change of PostgreSQL default version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.57 2009/09/07 19:02:13 joerg Exp $
d23 2
@


1.57
log
@Retire Python 2.3 support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.56 2009/03/18 18:37:59 darcy Exp $
d5 1
@


1.56
log
@Change MAINTAINER to OWNER on some of my packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.55 2009/03/05 18:51:28 joerg Exp $
a23 1
PYTHON_VERSIONS_ACCEPTED=	26 25 24 23
@


1.55
log
@Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.54 2009/01/01 13:21:44 darcy Exp $
d9 1
a9 1
MAINTAINER=		darcy@@NetBSD.org
@


1.54
log
@Upgrade to 4.0.  This is a major release and may risk some backwards
incompatibilities.  Here are the major changes.

- Dropped support for Python below 2.3 and PostgreSQL below 7.4.
- Improved performance of fetchall() for large result sets
  by speeding up the type casts (as suggested by Peter Schuller).
- Exposed exceptions as attributes of the connection object.
- Exposed connection as attribute of the cursor object.
- Cursors now support the iteration protocol.
- Added new method to get parameter settings.
- Added customizable row_factory as suggested by Simon Pamies.
- Separated between mandatory and additional type objects.
- Added keyword args to insert, update and delete methods.
- Added exception handling for direct copy.
- Release the GIL while making a connection
  (as suggested by Peter Schuller).
- If available, use decimal.Decimal for numeric types.
- Allow DB wrapper to be used with DB-API 2 connections
  (as suggested by Chris Hilton).
- Made private attributes of DB wrapper accessible.
- Dropped dependence on mx.DateTime module.
- Support for PQescapeStringConn() and PQescapeByteaConn();
  these are now also used by the internal _quote() functions.
- Added 'int8' to INTEGER types. New SMALLINT type.
- Added a way to find the number of rows affected by a query()
  with the classic pg module by returning it as a string.
  For single inserts, query() still returns the oid as an integer.
  The pgdb module already provides the "rowcount" cursor attribute
  for the same purpose.
- Improved getnotify() by calling PQconsumeInput() instead of
  submitting an empty command.
- Removed compatibility code for old OID munging style.
- The insert() and update() methods now use the "returning" clause
  if possible to get all changed values, and they also check in advance
  whether a subsequent select is possible, so that ongoing transactions
  won't break if there is no select privilege.
- Added "protocol_version" and "server_version" attributes.
- Revived the "user" attribute.
- The pg module now works correctly with composite primary keys;
  these are represented as frozensets.
- Removed the undocumented and actually unnecessary "view" parameter
  from the get() method.
- get() raises a nicer ProgrammingError instead of a KeyError
  if no primary key was found.
- delete() now also works based on the primary key if no oid available
  and returns whether the row existed or not.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.53 2008/06/12 02:14:20 joerg Exp $
a26 1
PYBINMODULE=		yes
@


1.53
log
@Add DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.52 2008/04/25 20:39:07 joerg Exp $
d3 2
a4 3
DISTNAME=		PyGreSQL-3.8.1
PKGNAME=		${PYPKGPREFIX}-postgresql-3.8.1
PKGREVISION=		2
d15 2
a16 2
MAKE_ENV+=		MANDIR=${LOCALBASE}/man
MAKE_ENV+=		BINDIR=${LOCALBASE}/bin
d24 1
@


1.52
log
@Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.51 2008/03/13 17:38:48 joerg Exp $
d14 2
d30 2
a32 2
	${INSTALL_DATA_DIR} ${DOCDIR}/tutorial
	${INSTALL_DATA_DIR} ${DOCDIR}/docs
d36 1
a36 1
		${INSTALL_DATA} "$$f" ${DOCDIR}/tutorial;		\
d41 1
a41 1
		${INSTALL_DATA} "$$f" ${DOCDIR}/docs;			\
@


1.51
log
@Make PostgreSQL 8.2 the default version. Bump all packages using it.
Remove PostgreSQL 8.0 as choice.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.50 2006/12/28 12:12:58 joerg Exp $
a22 1
PYTHON_VERSIONS_ACCEPTED=	24 23 22
@


1.50
log
@Change PostgreSQL default version to 8.1 and bump revision of all
packages which have it active by default.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2006/09/09 02:41:56 obache Exp $
d5 1
a5 1
PKGREVISION=		1
@


1.49
log
@Rename variable MAKEFILE to MAKE_FILE.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2006/06/16 10:58:23 rillig Exp $
d5 1
@


1.48
log
@Fixed pkglint warnings.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2006/06/11 00:58:39 darcy Exp $
d17 1
a17 1
MAKEFILE=		GNUmakefile
@


1.47
log
@Update package to 3.8.1.

Mostly bug fixes from 3.8.

- Use string methods instead of deprecated string functions.
- Only use SQL-standard way of escaping quotes.
- Added the functions escape_string() and escape/unescape_bytea()
  (as suggested by Charlie Dyson and Kavous Bojnourdi a long time ago).
- Reverted code in clear() method that set date to current.
- Added code for backwards compatibility in OID munging code.
- Reorder attnames tests so that "interval" is checked for before "int."
- If caller supplies key dictionary, make sure that all has a namespace.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.46 2006/06/07 12:54:55 joerg Exp $
d6 2
a7 2
MASTER_SITES=	ftp://ftp.druid.net/pub/distrib/
EXTRACT_SUFX=	.tgz
d15 1
a15 1
USE_TOOLS+=	gmake
d20 2
a21 2
PY_PATCHPLIST=	yes
PLIST_SUBST+=	PYPKGPREFIX=${PYPKGPREFIX:Q}
d24 2
a25 2
PYDISTUTILSPKG=	yes
PYBINMODULE=	yes
d31 4
a34 2
	for inst_file in ${WRKSRC}/tutorial/*.py; do   \
		${INSTALL_DATA} $${inst_file} ${DOCDIR}/tutorial;        \
d36 4
a39 2
	for inst_file in ${WRKSRC}/docs/*; do   \
		${INSTALL_DATA} $${inst_file} ${DOCDIR}/docs;        \
@


1.46
log
@Needs Python 2.2+
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2006/02/17 17:58:02 darcy Exp $
d3 2
a4 2
DISTNAME=		PyGreSQL-3.8
PKGNAME=		${PYPKGPREFIX}-postgresql-3.8
d30 1
a30 1
	${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
d34 3
@


1.45
log
@Update to version 3.8.

- Installed new favicon.ico from Matthew Sporleder <mspo@@mspo.com>
- Replaced snprintf by PyOS_snprintf.
- Removed NO_SNPRINTF switch which is not needed any longer
- Clean up some variable names and namespace
- Add get_relations() method to get any type of relation
- Rewrite get_tables() to use get_relations()
- Use new method in get_attnames method to get attributes of views as well
- Add Binary type
- Number of rows is now -1 after executing no-result statements
- Fix some number handling
- Non-simple types do not raise an error any more
- Improvements to documentation framework
- Take into account that nowadays not every table must have an oid column
- Simplification and improvement of the inserttable() function
- Fix up unit tests
- The usual assortment of minor fixes and enhancements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2006/02/05 23:08:36 joerg Exp $
d22 1
@


1.44
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2005/12/05 20:50:00 rillig Exp $
d3 2
a4 3
DISTNAME=		PyGreSQL-3.7
PKGNAME=		${PYPKGPREFIX}-postgresql-3.7
PKGREVISION=		1
@


1.43
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2005/09/07 11:42:27 darcy Exp $
d5 1
@


1.42
log
@Upgrade to PyGreSQL 3.7

Important changes from PyGreSQL 3.6.2 to PyGreSQL 3.7
  - Fixes to quoting function.
  - Use Python datetime if mxDatetime is not available.
  - Add checks for valid database connection to methods.
  - Improved namespace support, handle search_path correctly.
  - Removed old dust and unnessesary imports, added docstrings.
  - Internal sql statements as one-liners, smoothed out ugly code.
  - Major improvements in classic pg module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2005/05/22 20:07:46 jlam Exp $
d21 1
a21 1
PLIST_SUBST+=	PYPKGPREFIX=${PYPKGPREFIX}
a36 1

@


1.41
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2005/04/11 21:45:15 tv Exp $
d3 2
a4 2
DISTNAME=		PyGreSQL-3.6.2
PKGNAME=		${PYPKGPREFIX}-postgresql-3.6.2
@


1.40
log
@Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2005/02/23 12:13:35 darcy Exp $
d15 1
a15 1
USE_GNU_TOOLS+=	make
@


1.39
log
@Update package to 3.6.2.

The only change is to fix the handling of primary keys when using namespaces.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2004/12/17 21:36:01 darcy Exp $
a14 1
USE_BUILDLINK3=	yes
@


1.38
log
@Remove unneccessary line
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2004/12/16 20:37:46 darcy Exp $
d3 2
a4 2
DISTNAME=		PyGreSQL-3.6
PKGNAME=		${PYPKGPREFIX}-postgresql-3.6
@


1.37
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2004/08/30 08:33:34 darcy Exp $
a19 1
#MAKEFLAGS+=		PYTHON_VERSION=${PYVERSSUFFIX}
@


1.36
log
@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.
@
text
@d1 1
a1 1
# $NetBSD$
d3 2
a4 2
DISTNAME=		PyGreSQL-3.5
PKGNAME=		${PYPKGPREFIX}-postgresql-3.5
@


1.35
log
@Delete old postgresql packages now that we have the postgresql73 ones.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2004/07/24 22:45:15 recht Exp $
d3 14
a16 14
PKGNAME=	${PYPKGPREFIX}-postgresql-3.3
PKGREVISION=	3
CATEGORIES=	databases python

MAINTAINER=	darcy@@NetBSD.org
COMMENT=	Python interface to PostgreSQL

USE_BUILDLINK3=		yes

.include "../postgresql/Makefile.common"

CONFIGURE_ARGS+=	--with-python
CONFIGURE_ARGS+=	--with-python-compile
CONFIGURE_ENV+=		PYTHON="${PYTHONBIN}"
d20 1
a20 1
MAKEFLAGS+=		PYTHON_VERSION=${PYVERSSUFFIX}
d22 2
a23 2
PY_PATCHPLIST=		yes
PLIST_SUBST+=		PYPKGPREFIX=${PYPKGPREFIX}
d25 2
a26 1
BUILD_DIRS=		${WRKSRC}/src/interfaces/python
d32 2
a33 2
	for file in ${WRKSRC}/src/interfaces/python/tutorial/*.py; do	\
		${INSTALL_DATA} $${file} ${DOCDIR}/tutorial;		\
a35 1
.include "../../time/py-mxDateTime/buildlink3.mk"
a36 1

d39 1
@


1.34
log
@Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2004/07/22 09:16:01 recht Exp $
@


1.33
log
@add python as category
ok'd a while back at pkgsrcCon by agc and wiz
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2004/04/25 13:54:07 recht Exp $
a34 1
.include "../postgresql-lib/buildlink3.mk"
d38 1
@


1.32
log
@bl3ify
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2004/03/26 02:27:37 wiz Exp $
d5 1
a5 1
CATEGORIES=	databases
@


1.31
log
@PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2004/02/06 19:04:24 jlam Exp $
d10 1
a10 1
USE_BUILDLINK2=		yes
d35 2
a36 2
.include "../postgresql-lib/buildlink2.mk"
.include "../../time/py-mxDateTime/buildlink2.mk"
@


1.30
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2004/01/20 14:11:50 jlam Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.29
log
@Remove USE_BUILDLINK2 from Makefile.common and distribute the setting to
all of the package Makefiles that include Makefile.common.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2003/08/18 10:09:50 drochner Exp $
d20 1
a20 1
MAKEFLAGS+=		PYTHON_VERSION="${PYVERSSUFFIX}"
@


1.28
log
@cosmetics: use ${PYSITELIB}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2003/07/17 21:28:55 grant Exp $
d10 2
@


1.27
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2003/04/03 18:06:14 toshii Exp $
d20 1
a20 1
PLIST_SUBST+=		PYTHON_LIBDIR=${PYLIB}
@


1.26
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2003/01/05 20:14:26 jlam Exp $
d7 1
a7 1
MAINTAINER=	darcy@@netbsd.org
@


1.25
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2003/01/05 19:26:16 jlam Exp $
a2 3
DISTNAME=	postgresql-${DIST_VERS}
DIST_VERS=	7.2.3
BASE_VERS=	${DIST_VERS}
d4 1
a4 1
PKGREVISION=	1
a5 10
MASTER_SITES=	http://www.postgresql.org/ftpsite/source/v${DIST_VERS}/ \
		ftp://ftp.postgresql.org/pub/source/v${DIST_VERS}/ \
		ftp://ftp.de.postgresql.org/pub/source/v${DIST_VERS}/ \
		ftp://ch.postgresql.org/mirror/postgresql/source/v${DIST_VERS}/ \
		ftp://gd.tuwien.ac.at/db/www.postgresql.org/pub/source/v${DIST_VERS}/ \
		ftp://looking-glass.usask.ca/pub/postgresql/source/v${DIST_VERS}/ \
		ftp://ftp.sunsite.auc.dk/mirrors/postgresql/source/v${DIST_VERS}/ \
		ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/source/v${DIST_VERS}/

CONFLICTS+=	postgresql-[0-6]* postgresql-7.0*
a7 1
HOMEPAGE=	http://www.postgresql.org/
d10 2
a11 31
USE_BUILDLINK2=		YES
GNU_CONFIGURE=		YES
AUTOCONF_REQD=		2.13

.include "../../mk/bsd.prefs.mk"

# PG_MB_ENCODING may be set to any of:
#
# SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, UNICODE, MULE_INTERNAL,
# LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, KOI8, WIN, ALT
#
# This variable controls the language encoding on the backend process.

.if defined(PG_MB_ENCODING)
CONFIGURE_ARGS+=	--enable-multibyte=${PG_MB_ENCODING}
.else
CONFIGURE_ARGS+=	--enable-multibyte	# accept default
.endif

CONFIGURE_ARGS+=	--without-CXX
CONFIGURE_ARGS+=	--with-openssl=${SSLBASE}
CONFIGURE_ARGS+=	--disable-readline
CONFIGURE_ARGS+=	--enable-locale
CONFIGURE_ARGS+=	--enable-syslog
CONFIGURE_ARGS+=	--with-template="${LOWER_OPSYS}"

CONFIGURE_ARGS+=	--disable-odbc
CONFIGURE_ARGS+=	--without-java
CONFIGURE_ARGS+=	--without-perl
CONFIGURE_ARGS+=	--without-tcl
CONFIGURE_ARGS+=	--without-tk
a15 1
USE_GMAKE=		YES
a25 15
post-extract:
	if [ -d ${WRKSRC}/src ]; then					\
		${RM} -f ${WRKSRC}/src/Makefile.custom;			\
		${CP} -f ${FILESDIR}/Makefile.custom			\
			${WRKSRC}/src/Makefile.custom;			\
	fi
	if [ -d ${WRKSRC}/src/interfaces/libpq ]; then			\
		${RM} -f ${WRKSRC}/src/interfaces/libpq/GNUmakefile;	\
		${CP} -f ${FILESDIR}/GNUmakefile.libpq			\
			${WRKSRC}/src/interfaces/libpq/GNUmakefile;	\
	fi

pre-configure:
	cd ${WRKSRC} && ${AUTOCONF}

a36 1
.include "../../mk/autoconf.mk"
@


1.24
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2002/10/25 11:17:24 drochner Exp $
d7 1
@


1.23
log
@postgresql-7.2.3 contains PyGreSQL-3.3, so reflect this in the name
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2002/10/19 03:04:37 jlam Exp $
d3 38
a40 3
PKGNAME=		${PYPKGPREFIX}-postgresql-3.3
COMMENT=		Python interface to PostgreSQL
MAINTAINER=		darcy@@netbsd.org
d42 15
a56 3
USE_BUILDLINK2=		# defined

.include "../../databases/postgresql/Makefile.common"
d58 3
a65 7
CONFIGURE_ARGS+=	--with-openssl=${SSLBASE}
CONFIGURE_ARGS+=	--with-python
CONFIGURE_ARGS+=	--with-python-compile
CONFIGURE_ENV+=		PYTHON="${PYTHONBIN}"
MAKE_ENV+=		INSTALLED_LIBPQ=1
MAKEFILE=		GNUmakefile

d69 15
d91 1
a91 1
.include "../../databases/postgresql-lib/buildlink2.mk"
d95 1
@


1.22
log
@Update py-postgresql to build using the postgresql-7.2.3 sources.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2002/10/09 18:24:50 wiz Exp $
d3 1
a3 1
PKGNAME=		${PYPKGPREFIX}-postgresql-3.2
@


1.21
log
@buildlink1 -> buildlink2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2002/09/21 23:46:47 jlam Exp $
d7 1
a7 1
USE_BUILDLINK2=		YES
d16 1
a16 1
CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_DIR}
d21 1
d23 1
a23 1
DIRS_TO_BUILD=		src/interfaces/python
a25 12
do-build:
.for DIR in ${DIRS_TO_BUILD}
	cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV}			\
		${MAKE_PROGRAM} ${MAKE_FLAGS} ${ALL_TARGET}
.endfor

do-install:
.for DIR in ${DIRS_TO_BUILD}
	cd ${WRKSRC}/${DIR} && ${SETENV} ${MAKE_ENV}			\
		${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
.endfor

d34 1
d36 1
a36 1
.include "../../time/py-mxDateTime/buildlink2.mk"
@


1.20
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2002/04/04 14:36:42 jlam Exp $
d7 1
a7 1
USE_BUILDLINK_ONLY=	YES
d44 1
a44 1
.include "../../databases/postgresql-lib/buildlink.mk"
d46 1
a46 1
.include "../../time/py-mxDateTime/buildlink.mk"
@


1.19
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2002/01/19 16:13:00 drochner Exp $
d45 1
a45 1
.include "../../lang/python/extension.buildlink.mk"
@


1.18
log
@use buildlink files for Python and mxDareTime,
install docs into version dependant subdir to avoid conflicts
@
text
@d1 1
a1 4
# $NetBSD: Makefile,v 1.17 2002/01/15 18:33:26 drochner Exp $

.include "../../databases/postgresql/Makefile.common"
.include "../../databases/postgresql/Makefile.ssl"
d5 1
d7 1
a7 1
MAINTAINER=		darcy@@netbsd.org
d9 1
a9 2
USE_BUILDLINK_ONLY=			# defined
BUILDLINK_DEPENDS.postgresql-lib=	postgresql-lib>=${PG_BASE_VERS}
d16 1
a16 2
MAKE_ENV+=		INSTALLED_LIBPQ=1

d20 1
d44 1
a46 1
.include "../../databases/postgresql-lib/buildlink.mk"
@


1.17
log
@change pkg name of required pkg py-mxDateTime to py20-mxDateTime to get
the right version
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2001/06/23 19:26:52 jlam Exp $
d6 1
a6 1
PKGNAME=		py-postgresql-3.2
a10 3
DEPENDS+=		python>=2.0:../../lang/python
DEPENDS+=		py20-mxDateTime-[0-9]*:../../time/py-mxDateTime

d14 1
a14 8
PYTHON=			${LOCALBASE}/bin/python

.if exists(${PYTHON})
.if !defined(PYTHON_VERSION)
PYTHON_VERSION!=	${PYTHON} -c "import sys; print sys.version[:3]"
MAKEFLAGS+=		PYTHON_VERSION="${PYTHON_VERSION}"
.endif
.endif
d16 2
a17 2
PYTHON_LIBDIR=		lib/python${PYTHON_VERSION}
PLIST_SUBST+=		PYTHON_LIBDIR=${PYTHON_LIBDIR}
d23 1
a23 1
CONFIGURE_ENV+=		PYTHON="${PYTHON}"
d26 1
a26 1
DOCDIR=			${PREFIX}/share/doc/py-postgresql
d47 2
@


1.16
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2001/06/21 21:40:09 jlam Exp $
d12 1
a12 1
DEPENDS+=		py-mxDateTime-[0-9]*:../../time/py-mxDateTime
@


1.15
log
@Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2001/05/14 14:53:28 jlam Exp $
d14 2
a15 4
USE_BUILDLINK_ONLY=	# defined
POSTGRESQL_LIB_REQD=	${PG_BASE_VERS}

.include "../../databases/postgresql-lib/buildlink.mk"
d57 1
@


1.14
log
@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.
@
text
@d1 1
a1 1
# $NetBSD$
a10 1
DEPENDS+=		postgresql-lib>=${PG_BASE_VERS}:../../databases/postgresql-lib
d13 5
@


1.13
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2000/12/22 18:42:54 jlam Exp $
d3 44
a46 31
DISTNAME=	PyGreSQL-3.1
PKGNAME=	py-postgresql-3.1
CATEGORIES=	databases
MASTER_SITES=	ftp://ftp.druid.net/pub/distrib/
EXTRACT_SUFX=	.tgz

MAINTAINER=	darcy@@NetBSD.org
HOMEPAGE=	http://www.druid.net/pygresql/
COMMENT=	PostgreSQL interface for Python

DEPENDS+=	python-2.*:../../lang/python
DEPENDS+=	postgresql-7.*:../../databases/postgresql
DEPENDS+=	py-mxDateTime-*:../../time/py-mxDateTime

ALL_TARGET=	default

PYTHON=		${LOCALBASE}/bin/python
PYTHON_LIBDIR=	${LOCALBASE}/lib/python2.0
PLIST_SUBST+=	PYTHON_LIBDIR=lib/python2.0

DOCDIR=		${PREFIX}/share/doc/py-postgresql

do-configure:
	${SED}	-e "s,@@LOCALBASE@@,${LOCALBASE},g" \
		${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in
	${CP} ${PYTHON_LIBDIR}/config/Makefile.pre.in ${WRKSRC}
	cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in boot

post-build:
	cd ${WRKSRC}; ${PYTHON} ${PYTHON_LIBDIR}/compileall.py .
	cd ${WRKSRC}; ${PYTHON} -O ${PYTHON_LIBDIR}/compileall.py .
a48 2
	cd ${WRKSRC}; ${INSTALL_SCRIPT} pg*.py pg*.py[co] \
		${PYTHON_LIBDIR}/site-packages
d51 2
a52 2
	for file in ${WRKSRC}/tutorial/*.py; do \
		${INSTALL_DATA} $${file} ${DOCDIR}/tutorial; \
@


1.12
log
@Only install the postgresql modules, and not the setup module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2000/12/17 23:40:54 wiz Exp $
d11 1
@


1.11
log
@Move lots of packages to new time category; fix links; add time subcategory
to main Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/11/16 05:25:51 darcy Exp $
d22 1
a22 3
.include "../../mk/bsd.prefs.mk"

PGUSER?=	pgsql
d35 1
a35 1
	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${WRKSRC}/*.py[co] \
d37 2
a38 3
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-postgresql/tutorial
	${INSTALL_DATA} ${WRKSRC}/README \
		${PREFIX}/share/doc/py-postgresql
d40 1
a40 2
		${INSTALL_DATA} $${file} \
			${PREFIX}/share/doc/py-postgresql/tutorial; \
@


1.10
log
@Seems that Python was upgraded to 2.0 so I guess this needs to be modified.
I changed the dependencies and directories accordingly.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/11/16 04:37:54 darcy Exp $
d14 1
a14 1
DEPENDS+=	py-mxDateTime-*:../../misc/py-mxDateTime
@


1.9
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/08/19 20:59:58 hubertf Exp $
d12 1
a12 1
DEPENDS+=	python-1.5.2:../../lang/python
d19 2
a20 2
PYTHON_LIBDIR=	${LOCALBASE}/lib/python1.5
PLIST_SUBST+=	PYTHON_LIBDIR=lib/python1.5
@


1.8
log
@../../misc/py-mxDateTime installs a package, called "py-mxDateTime", not
"mxDateTime" (add leading 'py-')
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2000/07/03 14:10:33 darcy Exp $
d3 2
a4 2
DISTNAME=	PyGreSQL-3.0
PKGNAME=	py-postgresql-3.0
d14 1
a14 1
DEPENDS+=	py-mxDateTime-1.3.0:../../misc/py-mxDateTime
@


1.7
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2000/05/20 19:52:51 jlam Exp $
d14 1
a14 1
DEPENDS+=	mxDateTime-1.3.0:../../misc/py-mxDateTime
@


1.6
log
@Update dependency on postgresql to >=6.5.3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2000/04/09 03:55:35 jlam Exp $
d3 2
a4 2
DISTNAME=	PyGreSQL-2.4
PKGNAME=	py-postgresql-2.4
d13 2
a14 1
DEPENDS+=	postgresql>=6.5.3:../../databases/postgresql
d23 2
@


1.5
log
@Adapt to new postgresql include/library locations.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2000/02/25 22:32:33 darcy Exp $
d13 1
a13 1
DEPENDS+=	postgresql-6.5.3:../../databases/postgresql
@


1.4
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1999/12/02 01:47:06 darcy Exp $
a22 3
PGUSER?=	pgsql
PGPREFIX=	${LOCALBASE}/${PGUSER}	# PostgreSQL home directory

d24 1
a24 1
	${SED}	-e "s,@@PGPREFIX@@,${PGPREFIX},g" \
@


1.3
log
@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.
@
text
@d27 2
a28 6
	if echo __ELF__ | ${CC} -E - | grep -q __ELF__; \
	then ${SED}	-e "s+@@PGPREFIX@@+${PGPREFIX}+g;s+@@WLFLAG@@++g" \
		${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in; \
	else ${SED}	-e "s+@@PGPREFIX@@+${PGPREFIX}+g;s+@@WLFLAG@@+-Wl,+" \
		${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in; \
	fi
@


1.2
log
@upgraded PostgreSQL to 6.5.3 and updated the dependent Makefiles
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1999/10/04 17:36:48 jlam Exp $
d27 6
a32 2
	${SED}	-e "s,@@PGPREFIX@@,${PGPREFIX},g" \
		${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d13 1
a13 1
DEPENDS+=	postgresql-6.5.2:../../databases/postgresql
@


1.1.1.1
log
@Initial import of py-postgresql, a PostgreSQL interface for Python.  From PR#6971 by darcy@@netbsd.org, with fixes by me.
@
text
@@


1.1.1.2
log
@Python interface to PostgreSQL 3.5

PyGreSQL is no longer in the PostgreSQL distribution so I have created
this separate package.  This package should build for both 7.3 and 7.4
PostgreSQL.
@
text
@d3 3
a5 3
DISTNAME=		PyGreSQL-3.5
PKGNAME=		${PYPKGPREFIX}-postgresql-3.5
CATEGORIES=		databases python
d9 26
a34 19
MAINTAINER=		darcy@@NetBSD.org
HOMEPAGE=		http://www.PyGreSQL.org/
COMMENT=		Python interface to PostgreSQL

MAKE_ENV+=		MANDIR=${LOCALBASE}/man
MAKE_ENV+=		BINDIR=${LOCALBASE}/bin
USE_BUILDLINK3=	yes
USE_GNU_TOOLS+=	make

MAKEFILE=		GNUmakefile
MAKE_ENV+=		INSTALLED_LIBPQ=1
#MAKEFLAGS+=		PYTHON_VERSION=${PYVERSSUFFIX}

PY_PATCHPLIST=	yes
PLIST_SUBST+=	PYPKGPREFIX=${PYPKGPREFIX}

PYDISTUTILSPKG=	yes
PYBINMODULE=	yes
DOCDIR=			${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql
d37 8
a44 4
	${INSTALL_DATA_DIR} ${DOCDIR}/tutorial
	${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
	for inst_file in ${WRKSRC}/tutorial/*.py; do   \
		${INSTALL_DATA} $${inst_file} ${DOCDIR}/tutorial;        \
a46 2
.include "../../lang/python/extension.mk"
.include "../../mk/pgsql.buildlink3.mk"
a47 1

@


