diff --git a/devel/libsavitar/Makefile b/devel/libsavitar/Makefile index 4623ee716921..699b3c201bf6 100644 --- a/devel/libsavitar/Makefile +++ b/devel/libsavitar/Makefile @@ -1,23 +1,27 @@ PORTNAME= libSavitar DISTVERSION= 4.13.1 +PORTREVISION= 1 CATEGORIES= devel cad DIST_SUBDIR= Ultimaker MAINTAINER= db@FreeBSD.org COMMENT= C++ implementation of 3mf loading/python bindings WWW= https://github.com/Ultimaker/libSavitar LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Fails to build with modern python +EXPIRATION_DATE= 2024-06-29 + BUILD_DEPENDS= sip:devel/py-sip4 LIB_DEPENDS= libpugixml.so:textproc/pugixml USES= cmake compiler:c++11-lang python pyqt:5 gettext-runtime USE_GITHUB= yes GH_ACCOUNT= Ultimaker USE_LDCONFIG= yes CFLAGS+= "-I${LOCALBASE}/include" LDFLAGS+= "-L${LOCALBASE}/lib" .include diff --git a/devel/py-pynest2d/Makefile b/devel/py-pynest2d/Makefile index 4c2f540833eb..7dd6ff12be9d 100644 --- a/devel/py-pynest2d/Makefile +++ b/devel/py-pynest2d/Makefile @@ -1,30 +1,33 @@ PORTNAME= pynest2d # XXX there is no 4.13.1 DISTVERSION= 4.12.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= db@FreeBSD.org COMMENT= CPython bindings for libnest2d by Ultimaker WWW= https://github.com/Ultimaker/libnest2d LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Fails to build with modern python +EXPIRATION_DATE= 2024-06-29 + RUN_DEPENDS= ${LOCALBASE}/include/libnest2d/libnest2d.hpp:devel/libnest2d-ultimaker BUILD_DEPENDS= ${LOCALBASE}/include/libnest2d/libnest2d.hpp:devel/libnest2d-ultimaker \ sip:devel/py-sip4 LIB_DEPENDS= libpolyclipping.so:graphics/polyclipping \ libboost_system.so:devel/boost-libs \ libnlopt.so:math/nlopt USES= python cmake compiler:c++11-lang pyqt:5 pkgconfig USE_PYTHON= flavors USE_GITHUB= yes GH_TUPLE= Ultimaker:pynest2d:baec470 CMAKE_ARGS= -DLIBNEST2D_INCLUDE_DIRS=${PREFIX}/include/libnest2d CONFIGURE_ENV= CLIPPER_PATH=${LOCALBASE} VERBOSE=y .include diff --git a/devel/py-sip4/Makefile b/devel/py-sip4/Makefile index ad15d855c4b1..a8fbe67ed4c8 100644 --- a/devel/py-sip4/Makefile +++ b/devel/py-sip4/Makefile @@ -1,69 +1,73 @@ PORTNAME= sip4 PORTVERSION= ${SIP4_VERSION} -PORTREVISION= 1 +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 diff --git a/net/libarcus/Makefile b/net/libarcus/Makefile index a0df3faa434e..20c62e27ea4d 100644 --- a/net/libarcus/Makefile +++ b/net/libarcus/Makefile @@ -1,28 +1,31 @@ PORTNAME= libArcus PORTVERSION= 4.13.1 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= net cad DIST_SUBDIR= Ultimaker MAINTAINER= db@FreeBSD.org COMMENT= Communication library between internal components for Ultimaker WWW= https://github.com/Ultimaker/libArcus LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Fails to build with modern python +EXPIRATION_DATE= 2024-06-29 + BUILD_DEPENDS= sip:devel/py-sip4 LIB_DEPENDS= libprotobuf.so:devel/protobuf USES= cmake compiler:c++17-lang python pyqt:5 USE_PYQT= pysip USE_GITHUB= yes GH_ACCOUNT= Ultimaker USE_LDCONFIG= yes #GH_TAGNAME= 3afb644 CMAKE_ARGS+= -DPYTHON_EXECUTABLE:STRING=${PYTHON_CMD} \ -DPYTHON_INCLUDEDIR:STRING=${PYTHON_INCLUDEDIR} .include