diff --git a/print/py-pycups/Makefile b/print/py-pycups/Makefile index 5f7aef654530..35599bc03db3 100644 --- a/print/py-pycups/Makefile +++ b/print/py-pycups/Makefile @@ -1,36 +1,37 @@ PORTNAME= pycups -PORTVERSION= 2.0.2 +PORTVERSION= 2.0.4 CATEGORIES= print python -MASTER_SITES= PYPI +MASTER_SITES= PYPI \ + https://github.com/OpenPrinting/pycups/releases/download/v${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= CUPS bindings for Python WWW= https://github.com/OpenPrinting/pycups LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libcups.so:print/cups USES= iconv localbase python USE_PYTHON= autoplist concurrent pep517 .include post-patch: @${REINPLACE_CMD} -e 's|^\(VERSION=\).*$$|\1${PORTVERSION}|' ${WRKSRC}/Makefile .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's| or sys.platform.startswith("freebsd"):|:|' ${WRKSRC}/setup.py .endif pre-configure: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/cupsconnection.c @${REINPLACE_CMD} -e 's|#ifdef __SVR4|#ifdef __FreeBSD__|' ${WRKSRC}/cupsppd.c post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/print/py-pycups/distinfo b/print/py-pycups/distinfo index 009e2e400162..3bd99edfa36f 100644 --- a/print/py-pycups/distinfo +++ b/print/py-pycups/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713528548 -SHA256 (pycups-2.0.2.tar.gz) = d0aac38fe2b558dfab2292b0af382c8aaab301571a26080ab3988d444c977d22 -SIZE (pycups-2.0.2.tar.gz) = 65061 +TIMESTAMP = 1713624714 +SHA256 (pycups-2.0.4.tar.gz) = 843e385c1dbf694996ca84ef02a7f30c28376035588f5fbeacd6bae005cf7c8d +SIZE (pycups-2.0.4.tar.gz) = 65105