Commit graph

37 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
88ce3dce4b Remove PKGREVISION after the update. 2009-02-11 21:21:55 +00:00
joerg
6f9a334c92 Add patches that unbreak Python 2.5 build. 2009-02-11 21:20:43 +00:00
joerg
a0a4f55e07 Update to SOApy-0.11.6:
- bug fixes
2009-02-11 21:19:34 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +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
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
joerg
2e7e15a9ad Doesn't work with Python 2.1. 2006-06-07 12:52:24 +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
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +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
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
recht
16152f8438 Add/use buildlink3.mk files. 2004-08-13 08:57: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
f42539f89d Update to SOAPpy-0.11.4
changes:

- Bug fixes:

    - SOAPpy/Server.py: Check if header information contains SOAPAction
      key before checking its value.

    - Fixes for generating SOAP from complexType arrays, contributed by
      antonio.beamud@linkend.com

    - Fixed bug that caused typedArrayTypes to lose their type
      information when rendered to SOAP and added corresponding
      test case.

- New Features

   - Enhancements to fault handling: The faultType Faultstring is now
     a non-variable string (i.e. no nsmethod in it) so that it can be
     programmatically checked.  In addition fault handlers can now be
     registered to handle specific types of faults.

   - SOAPpy/Server.py: Modified unregsiterObject function to take
     optional namespace/path args to be consistent with registerObject.

   - SOAPpy/Server.py: Added an unregisterObject function

   - Changes to allow SOAPBuilder so it can handle a 'raw' Python object.

For details see:
http://sourceforge.net/project/showfiles.php?group_id=26590
2004-06-27 23:00:24 +00:00
recht
d691710923 no longer used 2004-05-05 08:11:36 +00:00
recht
db97b37f18 bl3ify 2004-05-05 08:11:06 +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
recht
020de8b907 update to 0.11.3
- Bug fixes:
   - Code in Types.py assumes nested scopes, so I added the proper import so
     this will work under python 2.2.x
   - Fixing namespace collision
   - Fixed handing of named arguments bug introduced in 0.11.1.
   - Fix memory leak when exceptions are raised.
   - Fix bug when content-length is not present in parsed SOAP message.
   - Fix bug #888345: Python 2.3 boolean type serialized as int
   - Fix bug #875977: no escaping of bad tagnames for NoneTypes

- New features:
   - Improved Globus support and documentation.  Thanks Ivan!
   - Added context handling
   - Changed the use of SOAPAction, it used to default to setting it
     to "", now it defaults to setting it to the method (not the
     nsmethod). There is a clause in Server.py that catches 'old style'
     SOAPActions (aka "") and sets them to the method. When this is
     confirmed to be what everyone wants and we decide it's alright to
     (possibly) break client/server interop, we can take the clause out
     of Server.py and just handle SOAPActions of "" as a possible
     error/warning.
   - Additional test code.
   - Raise a SOAPException instead of returning a SOAPpy.faultType
     when a SOAP Fault is encountered and simplify_objects is enabled.
2004-03-03 10:13:20 +00:00
recht
e2aec8ebd8 bump PKGREVISIONS after name change of the pyxml dependency.
spotted by wiz@
2004-01-23 16:48:54 +00:00
recht
45a80ef602 catch up with pyxml -> py-xml name change 2004-01-23 15:31:58 +00:00
recht
bcc891fff2 update to 0.11.1
changes:

- Preliminary pyGlobus support (contributed by Ivan R. Judson)
- Fixes for many of the test scripts in tests/*.py, as well as
  documentation in tests/README of what tests succeed and fail.
- New/Changed configuration settings:
- Added 'strict' option to the WSDL class constructor. If strict is
  true, a RuntimeException will be raised if an unrecogned message is
  recieved. If strict is false, a warning will be printed to the
  console, the message type will be added to the WSDL schema, and
  processing will continue.  This is in response to the second half of
  bug report [ 817331 ] "Some WSDL.py changes", submitted by Rudolf
  Ruland.
- Config.simplify_objects=1 now converts all SOAPpy objects into basic
  Python types (list, dictionary, tuple, double, float, etc.).  By default,
  Config.simplify_objects=0 for backward compatibility.
- Config.dict_encoding='ascii' converts the keys of dictionaries
  (e.g. created when Config.simplify_objects=1) to ascii == plain python
  strings instead of unicode strings.  This variable can be set to any
  encoding known to string.encode().
- Config.strict_range=1 forces the SOAP parsing routines to perform
  range checks on recieved SOAP float and double objects.  When

The following bugs have been fixed:

[ 752882 ] "SSL SOAP Server no longer working."
[ 792258 ] "SOAPBuilder.SOAPBuilder.dump can catch wrong exceptions"
[ 792600 ] "SOAPBuilder.SOAPBuilder.dump possibly should not call gentag"
[ 817331 ] "Some WSDL.py changes"
[ 858168 ] 'xsi:nil="true" causes exception'

In addtion, all of the outstanding bugs in the WSDL implementation
have been fixed, so WSDLProxy should now function properly.
2003-12-24 11:42:02 +00:00
recht
e914ab3288 hange extension.mk to also install optimized files for distutils packages.
Inspired by FreeBSD "ports".

Fix the PLISTs accordingly.
Also, while at it, remove now obsolete compileall.py calls in post-install
targets and insure that extension.mk is in included before builinlinks of
other Python modules.

Discussed with/ok'ed by drochner@.
2003-09-14 16:43:45 +00:00
recht
6abed53992 py-soappy needs a threaded Python.
Noticed by hubertf's bulk build.
2003-08-24 10:20:34 +00:00
recht
b6eb2a40ae Update to 0.10.2.
changes:
- Modifed WSDL.Proxy to pass along all arguments to SOAPProxy.  This
  should ensure that all features of SOAPProxy are accessible to users
  of WSDL.Proxy
- Created URLopener.py, which contains a class extending
  urllib.FancyURLopener.  This class allows reading from URLs that
  are protected by basic authenticatoin, have been relocated, etc.
- Modified WSDL.Proxy to use URLopener.  It should now permit access
  to WSDL files protected by basic authentication.
- Modified XMLSchema to extend UserTuple instead of tuple for python < 2.2.
- Added UserTuple class, taken from from Stefan Schwarzer's ftputil
  library.
2003-08-16 16:54:26 +00:00
recht
ccf462f848 Update to 0.10.1.
This version contains many changes/fixes.
among them:
- Major Change: The huge file SOAPpy/SOAP.py (4,122 lines, 131K) has
  been split into 10 separate files:
        Client.py       NS.py           SOAPBuilder.py  Utilities.py
        Config.py       Parser.py       Server.py
        Errors.py       SOAP.py         Types.py
  This should ease navigation and maintenance.
- Added client support for WSDL, ported from ZSI by Mark Bucciarelli
  <mark@hubcapconsulting.com>
2003-08-11 22:07:17 +00:00
drochner
44e37b278f update to 0.9.8, provided by Marc Recht (PR pkg/20787)
Notes:
This is SOAPpy 0.9.8.    It contains substantial improvements over the last
release.
1) SOAPpy now uses the standard python
   package installation tools.  Executing the commands
     $ python setup.py build
     $ python setup.py install
   (the second as root) should install SOAPpy into the appropriate Python
   library directory.
2) There has been inconsistency in how  SOAPpy library components have been
   imported.  This new release standardizes on:
     from SOAPpy import SOAP
3) See the changelog for further enhancements.
2003-03-19 11:51:08 +00:00
drochner
9b6d87aead use buildlink2 2002-10-24 22:30:45 +00:00
drochner
d40de07c44 call the builink file "buildlink2.mk" (it doesn't do anything different
for simple Python packages however)
2002-10-24 13:05:33 +00:00
drochner
0cd6bf1d37 import SOAP.py from the "Web Services for Python" project, with some fixes
to make it work with Python-2.2 (extracted from py-google).
This is the third SOAP implementation in Python I've tried, and the
first which actually works.
2002-10-01 17:21:39 +00:00