Commit graph

43 commits

Author SHA1 Message Date
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
0d0e90a320 Include pyversion.mk include the protected part of the buildlink3.mk
files, not over and over again.
2009-03-20 17:30:09 +00:00
joerg
6aac19f18f DESTDIR support 2009-02-16 19:36:42 +00:00
joerg
e2107c85f6 Remove Python 2.1 support. 2009-02-09 21:09:20 +00:00
joerg
45b96b4efa Python 2.1 version required for zope25-ZPsycopgDA. 2008-04-26 15:36:22 +00:00
joerg
a77e7015fe 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.
2008-04-25 20:39:06 +00:00
joerg
2a7055907f Make PostgreSQL 8.2 the default version. Bump all packages using it.
Remove PostgreSQL 8.0 as choice.
2008-03-13 17:38:48 +00:00
joerg
331e2615fa Change PostgreSQL default version to 8.1 and bump revision of all
packages which have it active by default.
2006-12-28 12:12:57 +00:00
wiz
a9c3a0685a Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-14 07:59:09 +00:00
joerg
a98ddaec94 Also include trailing / in homepage. 2006-09-02 13:48:12 +00:00
joerg
e7b602c7a4 Home page moved. 2006-09-02 13:47:48 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
9c8533ec5a Fixed pkglint warnings. 2006-06-16 10:58:23 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
joerg
af1d1c7f65 The interfaces changed since 1.0.14, enforce a current version. 2005-11-16 15:28:53 +00:00
joerg
d09a693eb9 Update psycopg to 1.1.21. Allow building with Python 2.4.
From NEWS:
psycopg news for 1.1.20
-----------------------

* Fixed problem with wrongly applied infinity patch in 1.1.20.

* Fixed build problem in win32 when using Makefile.msvc.

psycopg news for 1.1.20
-----------------------

* Fixed the date/time/timestamp formatting problem introduced by 1.1.19.

* Fixed build problem in win32 when using Makefile.msvc.

psycopg news for 1.1.19
-----------------------

* Now ZPsycopgDA does not loose the connection and raise an error is
  PostgreSQL is restarted but tries to rconnect and execute the issue
  query again (patch from Jonathan Stoneman.)

* Fixed precision and scale in cursor.description for numeric types.

* The XXXFromMx() functions don't truncate fractional seconds anymore (but
  note that mx.DateTime uses floating point seconds so rounding errors may
  creep in anyway.)

* Fixed two segfaults: when multithreading; patch from James Henstridge and
  when calling dictfetchone() without results.

psycopg news for 1.1.18
-----------------------

* Fixed mktime() overflow in ZPsycopgDA.

psycopg news for 1.1.17
-----------------------

* ZPsycopgDA can now return unicode strings on request.

* Fixed problem with timestamps in ZPsycopgDA.

psycopg news for 1.1.16
-----------------------

* fixed .rowcount problem introduced in 1.1.15.

* fixed a problem with %% not being transformed into % when calling
  .execute() with a zero-length tuple or dict.

* now using COPY FROM/COPY TO in .execute() raise an exception instead
  of segfaulting.

* faster Date and DateTime type casting.

* small and trivial optimizations and fixes.

psycopg news for 1.1.15
-----------------------

* Interval typecasting eventually-eventually works the Right Way (TM).

* Fixed two bad memory leaks in QuotedString and Binary objects.

* Reverted change on rowcount attribute, now it is always set to the real
  number of affected columns.
psycopg news for 1.1.14
-----------------------

* Interval typecasting eventually works the Right Way (TM).

* ZPsycopgDA now support unicode strings and different backend encodings.

* ZPsycopgDA accept query data as an extra parameter to execute() (but
  still no way to give it extra data from inside a ZSQL Method.)

* Better DBAPI-2.0 compliance (rowcount attribute and argument passing.)

* Now builds on Fedora Core 2 (but remember that the real psycopg
  aficionado runs on Debian ;-P )

* COPY FROM raise an exception and return usefull information on error.
2005-11-11 23:10:19 +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
seb
5cfa36e867 Fix editing error in last commit. 2005-01-24 16:59:42 +00:00
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +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
drochner
981e97039b update to 1.1.14
changes:
      * Interval typecasting eventually works the Right Way (TM).
      * ZPsycopgDA now support unicode strings and different backend
        encodings.
      * ZPsycopgDA accept query data as an extra parameter to execute()
        (but still no way to give it extra data from inside a ZSQL
        Method.)
      * Better DBAPI-2.0 compliance (rowcount attribute and argument
        passing.)
      * Now builds on Fedora Core 2 (but remember that the real psycopg
        aficionado runs on Debian ;-P )
      * COPY FROM raise an exception and return usefull information on
        error.
2004-07-22 18:00:37 +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
wiz
613ae35ce3 Annotate a comment:
# XXX: following comment still true for buildlink3?
# XXX ${PYSITELIB}/... doesn't get transformed by buildlink2
2004-07-06 22:57:06 +00:00
snj
43d5e1643c Convert to buildlink3. 2004-05-08 04:50:50 +00:00
drochner
5b446602f4 update to 1.1.11
changes:
-bugfixes
-support for PostgreSQL 7.4
-support for PostgreSQL geometrical types
-more feature additions...
2004-04-16 17:21:34 +00:00
jlam
426cc1ce72 Add a BUILDLINK_PKGBASE.<pkg> definition where it's not equal to <pkg>,
e.g. "BUILDLINK_PKGBASE.gtk?= gtk+".  This is mandated by the example
buildlink[23].mk files in bsd.buildlink[23].mk.
2004-03-29 05:05:32 +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
jmc
0b94b8426b This explictly needs pth. 2003-09-21 18:40:48 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
8a555528c0 PKGREVISION goes after PKGNAME. 2003-05-05 19:05:05 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
drochner
74e0fe321b update psychopg to 1.0.14.
This is a bugfix release, probably the last in the 1.0.x series.
2003-01-21 19:38:22 +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
drochner
78f5bcd79e add one 2002-10-25 14:44:21 +00:00
drochner
ce35e7b871 another Python-PostgreSQL adapter 2002-10-25 14:17:24 +00:00