aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2024-09-05 20:46:47 +0000
committerRene Ladan <rene@FreeBSD.org>2024-09-05 20:46:47 +0000
commitba843418dbb156e83ce9e8f28f241d348787de3d (patch)
tree5fab8daea2a82ac6f4734c2cbac74e22420445f5
parentaeba9932d5828e5ec0e7872bdfd8c86d94f7d6d2 (diff)
downloadports-ba843418dbb156e83ce9e8f28f241d348787de3d.tar.gz
ports-ba843418dbb156e83ce9e8f28f241d348787de3d.zip
devel/py-sip4: Remove expired port
2024-06-29 devel/py-sip4: Fails to build with modern python
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-sip4/Makefile73
-rw-r--r--devel/py-sip4/distinfo3
-rw-r--r--devel/py-sip4/files/patch-siputils.py28
-rw-r--r--devel/py-sip4/pkg-descr1
-rw-r--r--devel/py-sip4/pkg-plist18
7 files changed, 1 insertions, 124 deletions
diff --git a/MOVED b/MOVED
index acf9a0d7cac9..aaa09d166411 100644
--- a/MOVED
+++ b/MOVED
@@ -3461,3 +3461,4 @@ textproc/jarowinkler-cpp|devel/rapidfuzz-cpp|2024-09-03|Merged into devel/rapidf
devel/electron27||2024-09-03|Has expired: EOLed upstream, switch to newer version
net/luasocket|net/lua-luasocket|2024-09-05|Move net/luasocket to net/lua-luasocket
textproc/luaexpat|textproc/lua-luaexpat|2024-09-05|Move textproc/luaexpat to textproc/lua-luaexpat
+devel/py-sip4||2024-09-05|Has expired: Fails to build with modern python
diff --git a/devel/Makefile b/devel/Makefile
index 2d341be15415..dbb0276cff5b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5825,7 +5825,6 @@
SUBDIR += py-simpy
SUBDIR += py-single-version
SUBDIR += py-sip
- SUBDIR += py-sip4
SUBDIR += py-six
SUBDIR += py-smmap
SUBDIR += py-snakeviz
diff --git a/devel/py-sip4/Makefile b/devel/py-sip4/Makefile
deleted file mode 100644
index a8fbe67ed4c8..000000000000
--- a/devel/py-sip4/Makefile
+++ /dev/null
@@ -1,73 +0,0 @@
-PORTNAME= sip4
-PORTVERSION= ${SIP4_VERSION}
-PORTREVISION= 2
-CATEGORIES= devel python
-MASTER_SITES= https://www.riverbankcomputing.com/static/Downloads/sip/${SIP4_VERSION}/
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${SIP4_DISTNAME}
-
-MAINTAINER= kde@FreeBSD.org
-COMMENT= Python to C and C++ bindings generator
-WWW= http://www.riverbankcomputing.co.uk/software/sip/
-
-BROKEN= fails to build with modern python
-DEPRECATED= Fails to build with modern python
-EXPIRATION_DATE= 2024-06-29
-
-USES= python pyqt:sip
-USE_PYTHON= concurrent py3kplist flavors
-USE_PYQT= #
-
-CONFIGURE_ARGS= -b ${PREFIX}/bin -d ${PYTHONPREFIX_SITELIBDIR} \
- -e ${PYTHONPREFIX_INCLUDEDIR} -v ${DATADIR} \
- --sipdir ${PYQT_SIPDIR} \
- CC="${CC}" CXX="${CXX}" LINK="${CXX}" LINK_SHLIB="${CXX}" \
- CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
- INCDIR="${LOCALBASE}/include" LIBDIR="${LOCALBASE}/lib"
-
-PORTDOCS= *
-
-OPTIONS_DEFINE= DOCS DEBUG
-DEBUG_CONFIGURE_ON= --debug
-
-# From upstreams site:
-# When building PyQt5 v5.11 or later you must configure SIP to create a
-# private copy of the sip module using a command line similar to the following:
-# > python configure.py --sip-module PyQt5.sip --no-tools
-CONFIGURE_WRKSRC= ${WRKSRC}/default
-BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
-INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
-
-PYQT_SIPDIR= ${LOCALBASE}/share/PyQt5/${PYTHON_VER}/sip
-
-do-configure:
- # The default sip 'flavor'
- ${MKDIR} ${CONFIGURE_WRKSRC} && \
- cd ${CONFIGURE_WRKSRC} && \
- ${PYTHON_CMD} ${WRKSRC}/configure.py ${CONFIGURE_ARGS} && \
- ${REINPLACE_CMD} -e '/sip_bin.:/s|'\'',$$|-${PYTHON_VER}'\'',|' ${CONFIGURE_WRKSRC}/sipconfig.py
- # The now needed version for 5.11 (which will be the default from 2019-03-16).
- ${MKDIR} ${WRKSRC}/sip_qt5 && \
- cd ${WRKSRC}/sip_qt5 && \
- ${PYTHON_CMD} ${WRKSRC}/configure.py ${CONFIGURE_ARGS} --sip-module PyQt5.sip --no-tools && \
- ${REINPLACE_CMD} -e '/sip_bin.:/s|'\'',$$|-${PYTHON_VER}'\'',|' ${WRKSRC}/sip_qt5/sipconfig.py
-
-post-build:
- cd ${WRKSRC}/sip_qt5 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
-
-post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR} && cd ${WRKSRC}/doc/html && \
- ${COPYTREE_SHARE} \. ${STAGEDIR}${DOCSDIR}
- ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
- -f -d ${PYTHONPREFIX_SITELIBDIR} \
- ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
- ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
- -f -d ${PYTHONPREFIX_SITELIBDIR} \
- ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
- ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/sip
- ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/sip.so
-
- cd ${WRKSRC}/sip_qt5 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} install
- ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/PyQt5/sip.so
-
-.include <bsd.port.mk>
diff --git a/devel/py-sip4/distinfo b/devel/py-sip4/distinfo
deleted file mode 100644
index cdb1b5e1ad1a..000000000000
--- a/devel/py-sip4/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1638079941
-SHA256 (sip-4.19.25.tar.gz) = b39d93e937647807bac23579edbff25fe46d16213f708370072574ab1f1b4211
-SIZE (sip-4.19.25.tar.gz) = 1056384
diff --git a/devel/py-sip4/files/patch-siputils.py b/devel/py-sip4/files/patch-siputils.py
deleted file mode 100644
index 70061f0f4b59..000000000000
--- a/devel/py-sip4/files/patch-siputils.py
+++ /dev/null
@@ -1,28 +0,0 @@
-sip 4.16.5 has switched the Makefile lines that invoke the moc utility from
-an invocation with an explicit source file name to "$<".
-
-This works with GNU make, but not make(1), where it $< evaluates to nothing
-in this context.
-
-Switch back to the previous version to avoid having to depend on devel/gmake
-(figuring out which ports need it is not trivial).
---- siputils.py
-+++ siputils.py
-@@ -1683,7 +1683,7 @@
- cpp = "moc_" + root + ".cpp"
-
- mfile.write("\n%s: %s\n" % (cpp, mf))
-- mfile.write("\t$(MOC) -o %s $<\n" % cpp)
-+ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
-
- mfile.write("\n$(TARGET): $(OFILES)\n")
-
-@@ -1980,7 +1980,7 @@
- mf = os.path.join(self._src_dir, mf)
-
- mfile.write("\n%s: %s\n" % (cpp, mf))
-- mfile.write("\t$(MOC) -o %s $<\n" % cpp)
-+ mfile.write("\t$(MOC) -o %s %s\n" % (cpp, mf))
-
- mfile.write("\n$(TARGET): $(OFILES)\n")
-
diff --git a/devel/py-sip4/pkg-descr b/devel/py-sip4/pkg-descr
deleted file mode 100644
index 59f7eed30b46..000000000000
--- a/devel/py-sip4/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-SIP is a tool for generating Python bindings for C and C++ libraries.
diff --git a/devel/py-sip4/pkg-plist b/devel/py-sip4/pkg-plist
deleted file mode 100644
index 81cafa78e0f7..000000000000
--- a/devel/py-sip4/pkg-plist
+++ /dev/null
@@ -1,18 +0,0 @@
-bin/sip
-%%PYTHON_INCLUDEDIR%%/sip.h
-%%PYTHON_SITELIBDIR%%/PyQt5/sip.pyi
-%%PYTHON_SITELIBDIR%%/PyQt5/sip.so
-%%PYTHON_SITELIBDIR%%/PyQt5_sip-4.19.25.dist-info/INSTALLER
-%%PYTHON_SITELIBDIR%%/PyQt5_sip-4.19.25.dist-info/METADATA
-%%PYTHON_SITELIBDIR%%/PyQt5_sip-4.19.25.dist-info/RECORD
-%%PYTHON_SITELIBDIR%%/sip-4.19.25.dist-info/INSTALLER
-%%PYTHON_SITELIBDIR%%/sip-4.19.25.dist-info/METADATA
-%%PYTHON_SITELIBDIR%%/sip-4.19.25.dist-info/RECORD
-%%PYTHON_SITELIBDIR%%/sip.pyi
-%%PYTHON_SITELIBDIR%%/sip.so
-%%PYTHON_SITELIBDIR%%/sipconfig.py
-%%PYTHON_SITELIBDIR%%/sipconfig.pyc
-%%PYTHON_SITELIBDIR%%/sipconfig.pyo
-%%PYTHON_SITELIBDIR%%/sipdistutils.py
-%%PYTHON_SITELIBDIR%%/sipdistutils.pyc
-%%PYTHON_SITELIBDIR%%/sipdistutils.pyo