Commit graph

52 commits

Author SHA1 Message Date
wiz
b09d521285 Pass LDFLAGS to build. Fixes RELRO. 2017-07-15 13:20:50 +00:00
wiz
1682c6507d Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
2016-08-28 15:48:28 +00:00
jperkin
02201cb05b Use OPSYSVARS. 2016-02-26 10:57:45 +00:00
adam
ca47a27ef8 Changes 4.17:
- Added support for PEP 465 (__matmul__ and __imatmul__).
- Added support for PEP 492 (__aenter__, __aexit__, __await__, __aiter__
  and __anext__).
- Added support for MSVC 2015 to the build system.
- Bug fixes.
2015-10-26 21:40:01 +00:00
adam
3fd6cf312b Changes 4.16.5:
- Added the asarray() method to sip.voidptr.
- Bug fixes.
2014-12-30 06:43:59 +00:00
wiz
1f4572677a Update to 4.16.2:
v4.16.2 3rd July 2014
  - Deprecated the %ConsolidatedModule directive as it won't be supported in
    SIP v5.
  - Bug fixes.

v4.16.1 9th June 2014
  - Bug fixes.

v4.16 26th May 2014
  - Added the /NoSetter/ variable annotation.
  - Added the -B option to sip.
  - Changed the handling of timelines (introducing a potential incompatibility)
    so that later versions of wrapped libraries can be wrapped so long as they
    are compatible with known versions.
  - Added support for the 'no_receiver_check' argument to connect() in PyQt
    v4.11.
  - Added the --configuration option to configure.py.
  - Added the --sysroot option to configure.py.
  - Added the --target-py-version option to configure.py.
  - Added the --no-tools option to configure.py.
  - Added the --use-qmake option to configure.py.
  - Bug fixes.

v4.15.5 14th March 2014
  - The use_arch argument of sipconfig.create_wrapper() can now specify a space
    separated set of architectures.
  - Bug fixes.

v4.15.4 8th January 2014
  - Added SIP_SSIZE_T_FORMAT to the C API.
  - Bug fixes (specifically for PyQt5).

v4.15.3 16th October 2013
  - Bug fixes (specifically for PyQtChart).

v4.15.2 14th September 2013
  - sipConvertToArray() will now optionally take ownership of the array memory.
  - Added support for char, unsigned char, short, int, float and double as
    array types.
  - Bug fixes.

v4.15.1 23rd August 2013
  - Fixes a regression in the handling of hidden virtual methods.

v4.15 21st August 2013
  - Added the call_super_init argument to the %Module directive to specify that
    classes should support cooperative multi-inheritance.
  - Added the %FinalisationCode directive.
  - Added the /Mixin/ class annotation.
  - Added the /NoScope/ enum annotation.
  - Added sipConvertFromNewPyType() to the C API.
  - Added sipConvertToArray() and sipConvertToTypedArray() to the C API.
  - Added sipRegisterProxyResolver() to the C API.
  - Bug fixes.
2014-08-21 21:32:38 +00:00
wiz
aa67e11089 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.
2014-01-25 10:29:56 +00:00
jperkin
ce3eee6d07 Fix build on Darwin with pkgsrc python. 2014-01-10 17:41:07 +00:00
drochner
9108629114 revert to 4.14.7
4.15 causes compatibility problems with pyqt3 and pyKDE
(which were complained about in the pyqt mailing list but not fixed yet)
2013-09-05 15:27:42 +00:00
drochner
3a8883bb40 update to 4.15.1
This fixes a regression in v4.15 related to the handling of hidden
virtual methods.
(hopefully fixes the build problem with py-qt3 reported by Greg Oster)
2013-08-24 11:48:37 +00:00
drochner
96df58aac9 update to 4.15
Adds features required by PyQt v5.0.1 and PyQt v4.10.3
2013-08-23 11:25:38 +00:00
wiz
28654fe030 Update to 4.14.7:
v4.14.7 16th June 2013
  - The internal API version is increased to 10.0 requiring the regeneration of
    all modules.
  - Added the /Sequence/ function annotation.
  - %ConvertFromTypeCode can now be specified for classes.
  - Added sipEnableAutoconversion() to the C API.
  - Added sipSetDestroyOnExit() to the C API.
  - Bug fixes.

Bump coming (for first point).
2013-07-04 17:03:02 +00:00
drochner
10e96624ae update to 4.14.6
This is a minor bug fix release.
2013-05-03 15:46:32 +00:00
drochner
34676a7f64 update to 4.14.5
This is a minor bug fix release, specifically for QGIS.
2013-04-10 15:00:00 +00:00
asau
8aba7e3fbf Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-29 05:06:05 +00:00
drochner
be9d80a07e bump API requirement 2012-10-10 16:52:17 +00:00
drochner
b42b119927 update to 4.14
changes: API extensions, needed by py-qt4-4.9.5
2012-10-10 16:49:56 +00:00
drochner
ed859ddacb update to 4.13.3
This is mainly a bug fix release.
2012-07-03 18:12:00 +00:00
jdc
a1604238a6 Work around gcc/sparc64/-O2 bug by using buildlink to remove "-O2". 2012-05-29 10:57:16 +00:00
obache
d1692f61bf Files as a argment of compileall.py is only acceptable for python 2.7 and 3.2.
Back to change generation of Makefile, and add some trick for PEP 3147.
2012-05-23 13:26:49 +00:00
obache
07d257609b Fixes for Python>=32 PEP 3147.
Let to compile PYC files in post-install phase, instead of installing
.pyc files generaed as a side effect.
2012-05-22 09:43:33 +00:00
drochner
101710c0a7 update to 4.13.2
This is a bug fix release.
2012-02-17 18:36:45 +00:00
drochner
35a53d7406 update to 4.13.1
This is a minor feature release. It is required by PyQt v4.9.
2012-01-17 19:02:01 +00:00
joerg
9a0666357e Tag the 28 locations that result in a Python 3.1 package as supporting so.
Remove it from the default list for the rest.
2011-12-03 00:02:14 +00:00
drochner
262ce8d2dd update to 4.13
changes: minor feature additions (added some directives and operators)
2011-11-07 11:22:21 +00:00
hans
d6b9f322bb Fix build on SunOS. 2011-09-14 17:56:08 +00:00
drochner
506eb8589e update to 4.12.4
This is a minor bug fix release.
2011-09-12 18:17:30 +00:00
drochner
225441ecc7 update to 4.12.3
This is a minor bug fix release.
2011-06-09 11:56:25 +00:00
drochner
b14a0725b3 update to 4.12.2
chanhes: small number of functional enhancements
2011-05-13 16:40:20 +00:00
drochner
4a1bc09c86 update to 4.12.1
changes: small functional enhancements
2011-02-03 19:27:04 +00:00
drochner
68a3d2b452 update to 4.12
In addition to many functional improvements, the release provides
a path for ensuring easy migration to SIP v5.
2011-01-11 15:14:20 +00:00
adam
518b4e4516 Changes 4.11.2:
* /KeepReference/ can now be applied to global functions and static methods.
* %TypeCode can now be specified in a %MappedType directive.
* Mapped types for templates no longer require the template arguments to be
  fully defined.
* Build system changes required by PyQt v4.8 and Qt v4.7.
2010-11-15 13:06:56 +00:00
drochner
c0c6818f8d update to 4.11.1
This is a minor bug fix release.
(fixes problems with the help viewer of devel/eric4)
2010-09-07 16:35:09 +00:00
drochner
bdd50eb867 update to 4.11
changes:
added the %UnitPostIncludeCode directive
/KeepReference/ will now accept a key to track when the same object
 is passed to more than one method
operator() and __call__() can now accept keyword arguments
added support for Python v3.2

pkgsrc note: runtime API changed, client pkgs need to be rebuilt
2010-09-02 09:18:10 +00:00
markd
9f58707dda Update sip to 4.10.5 (4.10.3 no longer available)
v4.10.5 16th July 2010
  - A bug fix release for Python v3 and Python v2.7.

v4.10.4 15th July 2010
  - Use capsules when being built for Python v2.7 to work around an apparent
    bug in the support for PyCObject.
2010-07-18 12:56:12 +00:00
drochner
2206d7a484 update to 4.10.3
changes: bugfixes
2010-07-13 18:19:57 +00:00
drochner
1b5a6aa5c5 4.10.1 disappeared from the distribution site, was replaced by 4.10.2
which fixes a regression in the new-style error handling of C++ ctors
2010-04-20 09:33:22 +00:00
drochner
0c165754a1 update to 4.10.1
This is primarily a bug-fix release.
2010-04-13 15:26:31 +00:00
drochner
3d3b166365 update to 4.10
changes: added some methods and options

pkgsrc note: this changes the API revision compiled into
the runtime library, so updates of py-qt* must be enforced
2010-02-04 18:34:43 +00:00
drochner
a6bda813f4 sip-4.9 changed the API major, so a py-qt built against an older one
will not be compatible anymore
(noticed by Dennis den Brok, see mail to tech-pkg)
bump the API requirement
being here, update to 4.9.3 which brings another little bugfix
2009-11-24 17:17:35 +00:00
wiz
9591aebf64 Update to 4.9.2, bugfix release. 2009-11-23 14:36:28 +00:00
wiz
020e00811a Update to 4.9.1:
v4.9.1 23rd October 2009
  - A bug fix release.

v4.9 26th September 2009
  - Added support for __iter__ and __next__.  (__next__ is used for Python v2
    as well as v3.)
  - Added the %API directive.
  - Added the /API/ annotation.
  - Added sipIsAPIEnabled() to the C API.
  - Added sip.getapi() and sip.setapi() to the Python API.
  - Added sip.ispyowned() to the Python API.
  - Mapped types can now act as a namespace for enums and static methods.
  - The /Array/ annotation can now be applied to classes and mapped types.
  - The /NoArgParser/ annotation can now be applied to methods as well as
    functions.
  - Added the --arch flag to configure.py to specify which MacOS/X
    architectures are built.
  - SIP is now also licensed under the GPL v2 and v3.
2009-11-17 15:21:21 +00:00
tron
2ffbaf3d20 Remove "PYTHON_VERSIONS_ACCEPTED= 26 25 24" which is unnecessary
after Python 2.3 has been removed from "pkgsrc".

Approved by Thomas Klausner.
2009-09-23 09:54:45 +00:00
joerg
e0d4ecdfc2 Retire Python 2.3 support. 2009-09-07 19:02:13 +00:00
drochner
bb599d6d73 update to 4.8.2
changes:
-Backported the /AllowNone/ class annotation from v4.9
-Fixed the '/' operator for Python v3 and future import for Python v2
2009-07-29 19:44:51 +00:00
hasso
9f6b78512f Update to 4.8.1. Changes since 4.8:
* Fixed the reference count handling of a module in the error paths when
  initialising it.
* Added support for (vaguely) defining private assignment operators to
  suppress the generation of PyQt4 assignment helpers.
* Fixed a regression in the creation of new exceptions.
* Various changes (including bumping the major version number of the C API)
  to accomodate the design of the API selection support. The implementation
  should not need any further data structure changes.
* Fixed a code generation bug when an /ArraySize/ argument was typedef'ed.
* Fixed sipResolveTypedef().
2009-06-17 07:08:35 +00:00
wiz
c64abfbfb0 Update to 4.8:
SIP v4.8 has been released. The highlights of this release include
support for Python v3, the ability to supply alternate super-types
and meta-types for wrapped objects, and documentation built using
Sphinx.

The major new features are:

  * support for Python v3
  * the %BIGetBufferCode and %BIReleaseBufferCode to
    support the buffer interface of Python v3
  * the %DefaultMetatype directive and the
    /Metatype/ class annotation to allow the
    meta-type of a wrapped type to be changed
  * the %DefaultSupertype directive and the
    /Supertype/ class annotation to allow the
    super-type of a wrapped type to be changed
  * the sip.simplewrapper type to be used as a
    super-type for wrapped types that don't take
    part in parent/child relationships
  * the %InitialisationCode directive
  * the /KeepReference/ argument annotation
  * the /Encoding/ argument, function, typedef and
    variable annotation
  * super() now works as expected with wrapped types
  * support for __floordiv__, __ifloordiv__,
    __truediv__, __itruediv__ and __index__
  * __bool__ is a synonym for __nonzero__
  * Sphinx is now used for the documentation
  * many additions and deprecations in the API to
    eliminate the differences between classes and
    mapped types. (See the documentation for the
    details.)
2009-06-09 13:51:57 +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
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
wiz
1e489e6979 Update to 4.7.9:
SIP v4.7.9 has been released.

This is a bug fix release needed to build PyKDE v3.16.2.

SIP v4.7.8 has been released.

* Added the /Deprecated/ class and function annotation (based on
a patch from Lorenzo Berni).
* Templates now support instance variables and enums.
* A Python int object can now be used whenever an enum is expected
without needing to explicitly cast it using the enum's constructor.
The /Constrained/ argument annotation can be used to suppress this
behaviour.
* typedef type names are now used in string representations of
types (e.g. in the names of mapped types) to reflect what the
programmer sees rather than what the compiler sees. The /NoTypeName/
typedef annotation can be used to suppress this behaviour.
2008-12-10 00:54:55 +00:00