Commit graph

16 commits

Author SHA1 Message Date
adam
055bf1c5f3 Changes 5.0.0:
* Support for Berkeley DB 5.0.
* Drop support for Python 3.0.
* Now you can use TMPDIR env variable to override default
  test directory ("/tmp").
* Versioning of C API. If you use the code from C, please
  check the bsddb_api->api_version number against
  PYBSDDB_API_VERSION macro.
* In C code, the bsddb_api->dbsequence_type component is always available,
  even if the Berkeley DB version used doesn't support sequences. In that
  case, the component will be NULL.
* In C code, "DBSequenceObject_Check()" macro always exists, even if the
  Berkeley DB version used doesn't suport sequences. In that case, the test
  macro always returns "false".
* For a long time, the API has been accesible via C using "_bsddb.api" or
  "_pybsddb.api". If you are using Python >=2.7, you acquire access to that
  API via the new Capsule protocol (see "bsddb.h").  If you use the C API and
  upgrade to Python 2.7 and up, you must update the access code (see
  "bsddb.h"). The Capsule protocol is not supported in Python 3.0, but
  pybsddb 5.0.x doesn't support Python 3.0 anymore.
* Capsule support was buggy. The string passed in to PyCapsule_New() must
  outlive the capsule.
* Solve an "Overflow" warning in the testsuite running under python 2.3.
* When doing a complete full-matrix test, any warning will be considered
  an error.
2010-06-02 12:22:59 +00:00
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
drochner
2e4564c40c bump BUILDLINK_API_DEPENDS to the new revision
(The dependency is already there, due to the propagated db4 dependency.
Just make it explicit.)
2008-09-18 16:54:22 +00:00
wiz
03b53774ba Recursive PKGREVISION/ABI-depends bump for db4 4.6->4.7 update (shlib
name change).
2008-09-06 20:54:31 +00:00
adam
707dd64033 db4 update related revision bump 2008-01-12 11:36:28 +00:00
wiz
5d4498b5fc PKGREVISION bump for db4 shlib name change. 2007-06-08 12:24:59 +00:00
drochner
771330231e we can't have PYTHON_VERSIONS_ACCEPTED in buildlink3 files because
this might conflict with definitions in Makefiles
noticed by Jeremy C. Reed
2006-08-08 16:55:18 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
751d30d637 DEPENDS and PKGREVISION bumps because db4's library name changed. 2006-01-06 15:10:01 +00:00
seb
e5e1ab24d4 sync PYTHON_VERSIONS_ACCEPTED value with Makefile. 2005-01-24 16:58:13 +00:00
seb
06b185c742 On NetBSD current with native threads it seems this python module can't
be imported by a non-thread aware python without it core dumping.
Hence restrict accepted python packages to threaded ones if native
threads are supported by the platform.

Bump PKGREVISION for that.

Provide a buildlink3.mk file mostly to help bl3ified packages to pick up
the right python packages with respect to this threading issue.
2004-05-11 10:49:54 +00:00