head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.12 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.10 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.8 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.6 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.4 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.2 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.3.0.28 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.26 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.24 pkgsrc-2008Q2-base:1.3 cwrapper:1.3.0.22 pkgsrc-2008Q1:1.3.0.20 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.18 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.16 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.14 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.12 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.12 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.10 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.8 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.6 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.1.1.0.4 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.2 pkgsrc-2003Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2008.10.08.14.28.22; author wiz; state dead; branches; next 1.3; 1.3 date 2005.11.22.18.50.30; author drochner; state Exp; branches; next 1.2; 1.2 date 2004.05.09.17.04.22; author recht; state Exp; branches; next 1.1; 1.1 date 2003.07.15.16.40.45; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2003.07.15.16.40.45; author drochner; state Exp; branches; next ; desc @@ 1.4 log @Remove py-qt3-sip, replaced by py-sip. @ text @$NetBSD: patch-aa,v 1.3 2005/11/22 18:50:30 drochner Exp $ --- configure.py.orig 2005-11-14 18:31:01.000000000 +0100 +++ configure.py @@@@ -243,7 +243,7 @@@@ def set_platform_directories(): plat_bin_dir = sys.exec_prefix plat_sip_dir = sys.prefix + "\\sip" else: - vers = "%d.%d" % ((py_version >> 16) & 0xff, (py_version >> 8) & 0xff) + vers = sys.version[0:3] plat_py_site_dir = sys.prefix + "/lib/python" + vers if py_version >= 0x020000: @@@@ -252,7 +252,7 @@@@ def set_platform_directories(): plat_py_inc_dir = sys.prefix + "/include/python" + vers plat_py_lib_dir = sys.prefix + "/lib/python" + vers + "/config" plat_bin_dir = sys.exec_prefix + "/bin" - plat_sip_dir = sys.prefix + "/share/sip" + plat_sip_dir = sys.prefix + "/share/sip%s" % vers def create_config(module, template, macros): @@@@ -268,7 +268,7 @@@@ def create_config(module, template, macr content = { "sip_version": sip_version, "sip_version_str": sip_version_str, - "sip_bin": os.path.join(opt_sipbindir, "sip"), + "sip_bin": os.path.join(opt_sipbindir, "sip%s" % sys.version[0:3]), "sip_inc_dir": opt_sipincdir, "sip_mod_dir": opt_sipmoddir, "default_bin_dir": plat_bin_dir, @@@@ -715,7 +715,7 @@@@ def create_makefiles(): sipconfig.ParentMakefile( configuration=cfg, subdirs=["sipgen", "siplib"], - installs=(["sipconfig.py", "sipdistutils.py"], cfg.sip_mod_dir) + installs=(["sipconfig.py", "sipconfig.pyc", "sipdistutils.py"], cfg.sip_mod_dir) ).generate() sipconfig.inform("Creating sip code generator Makefile...") @ 1.3 log @update to 4.3.2 changes: -fixes -added sipdistutils.py script @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license. @ text @d3 3 a5 3 --- configure.py.orig 2004-03-16 21:39:56.000000000 +0100 +++ configure.py 2004-05-08 21:33:27.000000000 +0200 @@@@ -240,7 +240,7 @@@@ d14 1 a14 1 @@@@ -249,7 +249,7 @@@@ d23 1 a23 1 @@@@ -265,7 +265,7 @@@@ d32 1 a32 1 @@@@ -696,7 +696,7 @@@@ d36 2 a37 2 - installs=("sipconfig.py", cfg.sip_mod_dir) + installs=(["sipconfig.py", "sipconfig.pyc"], cfg.sip_mod_dir) @ 1.1 log @Initial revision @ text @d3 36 a38 4 --- build.py.orig 2003-07-05 12:44:43.000000000 +0200 +++ build.py 2003-07-13 17:51:30.000000000 +0200 @@@@ -259,8 +259,9 @@@@ global pyFullVers, pyVersNr d40 1 a40 26 pyFullVers = string.split(sys.version)[0] + pyFullVersn = string.replace(pyFullVers, 'p', '.'); - vl = string.split(re.findall("[0-9.]*",pyFullVers)[0],".") + vl = string.split(re.findall("[0-9.]*",pyFullVersn)[0],".") major = vl[0] minor = vl[1] @@@@ -269,7 +270,7 @@@@ except IndexError: bug = 0 - pyVers = major + "." + minor + pyVers = sys.version[0:3] pyVersNr = (int(major) << 16) + (int(minor) << 8) + int(bug) global platMake, platCopy, platPySiteDir, platPyIncDir, platPyLib @@@@ -683,7 +684,7 @@@@ print "Type 'no' to decline the terms of the license." print - while 1: + while 0: try: resp = raw_input("Do you accept the terms of the license? ") except: @ 1.1.1.1 log @import sip-x11-gpl-3.7 for qt3, a wrapper ganerator which will be needed for PyQt3 @ text @@