Diff below brings py-sip to 4.19.21, which is a bug fix release. This
update is needed to fix an issue with git-cola [0].

While here change HOMEPAGE to use https.

The API of py-sip is known to break often. Unfortunately, reading
through ${WRKSRC}/Changelog isn't enough to find out if this breakage
also occurs with this update. Testing:
- Build tested its consumers
- Run tested with the current version of git-cola in ports, as well as
  the proposed update [0]

Comments/OK?

[0] https://marc.info/?l=openbsd-ports&m=158093630218110&w=2


diff --git Makefile Makefile
index 58db8466cea..48eae4d07cd 100644
--- Makefile
+++ Makefile
@@ -5,13 +5,12 @@ COMMENT=      automatically generate Python bindings for C 
and C++ libs
 # XXX Be particularly careful when testing updates.
 #     API breaks often.
 
-MODPY_EGG_VERSION =    4.19.17
+MODPY_EGG_VERSION =    4.19.21
 DISTNAME=      sip-${MODPY_EGG_VERSION}
 PKGNAME=       py-${DISTNAME}
 CATEGORIES=    devel
-REVISION=      0
 
-HOMEPAGE=      http://www.riverbankcomputing.co.uk/software/sip/intro
+HOMEPAGE=      https://www.riverbankcomputing.co.uk/software/sip/intro
 
 # SIP license (Python like)
 PERMIT_PACKAGE=        Yes
diff --git distinfo distinfo
index 0a2e060db81..911ecd05d42 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (sip-4.19.17.tar.gz) = ErzY9NX+78EFvAddEsUJDueD9zgHKFY8kbi5XQ7EXfM=
-SIZE (sip-4.19.17.tar.gz) = 1056156
+SHA256 (sip-4.19.21.tar.gz) = avmXmrQVkOgxG4zJQ1ZxhCnvlroONZK91jDaASESAK4=
+SIZE (sip-4.19.21.tar.gz) = 1050654
diff --git patches/patch-configure_py patches/patch-configure_py
index 21d95bc5c3d..8d93938016f 100644
--- patches/patch-configure_py
+++ patches/patch-configure_py
@@ -3,12 +3,12 @@ $OpenBSD: patch-configure_py,v 1.1 2017/11/13 19:13:47 landry 
Exp $
 Index: configure.py
 --- configure.py.orig
 +++ configure.py
-@@ -281,7 +281,7 @@ def create_config(module, template, macros):
+@@ -270,7 +270,7 @@ def create_config(module, template, macros):
          "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${MODPY_BIN_SUFFIX}"),
          "sip_inc_dir":      sip_inc_dir,
-         "sip_mod_dir":      sip_module_dir,
-         "default_bin_dir":  plat_bin_dir,
+         "sip_root_dir":     sip_root_dir,
+         "sip_module_dir":   sip_module_dir,

Reply via email to