pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/py-sip



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb  1 21:03:09 UTC 2018

Modified Files:
        pkgsrc/x11/py-sip: Makefile distinfo
Added Files:
        pkgsrc/x11/py-sip/patches: patch-configure.py patch-sipgen_sipgen.sbf
Removed Files:
        pkgsrc/x11/py-sip/patches: patch-aa patch-ab patch-sipgen_gencode.c

Log Message:
py-sip: updated to 4.19.7

v4.19.7
- The %Docstring directive can now include automatically generated signature
  descriptions using the "signature" option.
- typedefs can now have %Docstring directives.
- Bug fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/x11/py-sip/Makefile
cvs rdiff -u -r1.40 -r1.41 pkgsrc/x11/py-sip/distinfo
cvs rdiff -u -r1.9 -r0 pkgsrc/x11/py-sip/patches/patch-aa
cvs rdiff -u -r1.3 -r0 pkgsrc/x11/py-sip/patches/patch-ab
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/py-sip/patches/patch-configure.py \
    pkgsrc/x11/py-sip/patches/patch-sipgen_sipgen.sbf
cvs rdiff -u -r1.1 -r0 pkgsrc/x11/py-sip/patches/patch-sipgen_gencode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/py-sip/Makefile
diff -u pkgsrc/x11/py-sip/Makefile:1.51 pkgsrc/x11/py-sip/Makefile:1.52
--- pkgsrc/x11/py-sip/Makefile:1.51     Fri Jan 26 15:47:18 2018
+++ pkgsrc/x11/py-sip/Makefile  Thu Feb  1 21:03:09 2018
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.51 2018/01/26 15:47:18 jperkin Exp $
+# $NetBSD: Makefile,v 1.52 2018/02/01 21:03:09 adam Exp $
 
-DISTNAME=      sip-4.19.5
+DISTNAME=      sip-4.19.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    x11 devel python
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pyqt/}
 

Index: pkgsrc/x11/py-sip/distinfo
diff -u pkgsrc/x11/py-sip/distinfo:1.40 pkgsrc/x11/py-sip/distinfo:1.41
--- pkgsrc/x11/py-sip/distinfo:1.40     Fri Jan 26 15:47:18 2018
+++ pkgsrc/x11/py-sip/distinfo  Thu Feb  1 21:03:09 2018
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.40 2018/01/26 15:47:18 jperkin Exp $
+$NetBSD: distinfo,v 1.41 2018/02/01 21:03:09 adam Exp $
 
-SHA1 (sip-4.19.5.tar.gz) = 654f02563bf0b67253abcee3e2249acfdfb21b08
-RMD160 (sip-4.19.5.tar.gz) = d7b2b3bfd8f350c6be1d6bfe9d3761ad1cb73320
-SHA512 (sip-4.19.5.tar.gz) = 15d0c0daacf11534a61cd3961613e0015afb9f61fd484094008d1b3d344765d03a2bed2eb08c92a347bbe6868622ab1f7dc0a3bd3e2e662a8e08a53ac8e88463
-Size (sip-4.19.5.tar.gz) = 1019157 bytes
-SHA1 (patch-aa) = 813eeed9d8608a2049e3cc819d31876afdada3aa
-SHA1 (patch-ab) = a331efb38a1fadd799e00be34f076c8b8f6e3071
-SHA1 (patch-sipgen_gencode.c) = a9abb5e9fa488ef46864f5c25e1e353494c43378
+SHA1 (sip-4.19.7.tar.gz) = 777885fe8c4617292c253a8571c12110cb82630f
+RMD160 (sip-4.19.7.tar.gz) = 256ebea80277b59861698edb4b583aff3d6d9f4b
+SHA512 (sip-4.19.7.tar.gz) = 0cead34e129d25ee3d908e503a3853289bbfd77c58c563a2046ce7b65bd8f0b318b20af72346cbf4cb7a17e76c9c1374f686b5dabc284d7247897a1648c15f97
+Size (sip-4.19.7.tar.gz) = 1022209 bytes
+SHA1 (patch-configure.py) = 813eeed9d8608a2049e3cc819d31876afdada3aa
+SHA1 (patch-sipgen_sipgen.sbf) = a331efb38a1fadd799e00be34f076c8b8f6e3071
 SHA1 (patch-siputils.py) = fa69e6b957697cdb9afb3c44d9d4b42ab8a604f3

Added files:

Index: pkgsrc/x11/py-sip/patches/patch-configure.py
diff -u /dev/null pkgsrc/x11/py-sip/patches/patch-configure.py:1.1
--- /dev/null   Thu Feb  1 21:03:09 2018
+++ pkgsrc/x11/py-sip/patches/patch-configure.py        Thu Feb  1 21:03:09 2018
@@ -0,0 +1,50 @@
+$NetBSD: patch-configure.py,v 1.1 2018/02/01 21:03:09 adam Exp $
+
+--- configure.py.orig  2014-07-03 10:08:46.000000000 +0000
++++ configure.py
+@@ -19,6 +19,7 @@ import sys
+ import os
+ import glob
+ import optparse
++import imp
+ from distutils import sysconfig
+ 
+ try:
+@@ -220,7 +221,7 @@ def set_platform_directories():
+ 
+         plat_py_lib_dir = lib_dir + "/config"
+         plat_bin_dir = sys.exec_prefix + "/bin"
+-        plat_sip_dir = sys.prefix + "/share/sip"
++        plat_sip_dir = sys.prefix + "/share/sip%s" % sys.version[0:3]
+ 
+ 
+ def patch_files():
+@@ -273,7 +274,7 @@ def create_config(module, template, macr
+         "sip_version":      sip_version,
+         "sip_version_str":  sip_version_str,
+         "platform":         build_platform,
+-        "sip_bin":          os.path.join(sip_bin_dir, "sip"),
++        "sip_bin":          os.path.join(sip_bin_dir, "sip%s" % sys.version[0:3]),
+         "sip_inc_dir":      sip_inc_dir,
+         "sip_mod_dir":      sip_module_dir,
+         "default_bin_dir":  plat_bin_dir,
+@@ -310,9 +311,17 @@ def create_makefiles(macros):
+         subdirs = ["siplib"]
+         installs = None
+     else:
++        pyc_file = "sipconfig.pyc"
++        pyc_dir = cfg.sip_mod_dir
++        try:
++            pyc_file = imp.cache_from_source("sipconfig.py")
++            pyc_dir = os.path.join(cfg.sip_mod_dir, "__pycache__")
++        except AttributeError:
++            pass
++
+         subdirs = ["sipgen", "siplib"]
+-        installs = (["sipconfig.py", os.path.join(src_dir, "sipdistutils.py")],
+-                cfg.sip_mod_dir)
++        installs = [(["sipconfig.py", os.path.join(src_dir, "sipdistutils.py")],
++                cfg.sip_mod_dir), ([pyc_file], pyc_dir)]
+ 
+     if opts.use_qmake:
+         sipconfig.inform("Creating top level .pro file...")
Index: pkgsrc/x11/py-sip/patches/patch-sipgen_sipgen.sbf
diff -u /dev/null pkgsrc/x11/py-sip/patches/patch-sipgen_sipgen.sbf:1.1
--- /dev/null   Thu Feb  1 21:03:09 2018
+++ pkgsrc/x11/py-sip/patches/patch-sipgen_sipgen.sbf   Thu Feb  1 21:03:09 2018
@@ -0,0 +1,12 @@
+$NetBSD: patch-sipgen_sipgen.sbf,v 1.1 2018/02/01 21:03:09 adam Exp $
+
+--- sipgen/sipgen.sbf.orig     2017-02-15 12:37:11.000000000 +0000
++++ sipgen/sipgen.sbf
+@@ -14,6 +14,6 @@
+ # SIP is supplied WITHOUT ANY WARRANTY; without even the implied warranty of
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ 
+-target = sip
++target = sip@PYVERSSUFFIX@
+ sources = main.c transform.c gencode.c extracts.c export.c type_hints.c heap.c parser.c lexer.c 
+ headers = sip.h parser.h



Home | Main Index | Thread Index | Old Index