pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-pdf



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May  4 01:06:27 UTC 2025

Modified Files:
        pkgsrc/textproc/py-pdf: Makefile

Log Message:
py-pdf: Support non-Rust version of py-cryptography

Discovered by a failure on OpenBSD in drecklypkg ci, this package
should be buildable on platforms for which there is no rust
bootstrap.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/textproc/py-pdf/Makefile

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

Modified files:

Index: pkgsrc/textproc/py-pdf/Makefile
diff -u pkgsrc/textproc/py-pdf/Makefile:1.34 pkgsrc/textproc/py-pdf/Makefile:1.35
--- pkgsrc/textproc/py-pdf/Makefile:1.34        Sun Apr 20 21:11:53 2025
+++ pkgsrc/textproc/py-pdf/Makefile     Sun May  4 01:06:27 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2025/04/20 21:11:53 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2025/05/04 01:06:27 nia Exp $
 
 DISTNAME=      pypdf-5.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
@@ -13,11 +13,12 @@ LICENSE=    modified-bsd
 TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core
 # full
 DEPENDS+=      ${PYPKGPREFIX}-Pillow>=8.0.0:../../graphics/py-Pillow
-DEPENDS+=      ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
 TEST_DEPENDS+= ${PYPKGPREFIX}-test_socket-[0-9]*:../../devel/py-test_socket
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
+PYTHON_VERSIONED_DEPENDENCIES+=        cryptography
+
 USE_LANGUAGES= # none
 
 # for testing
@@ -30,5 +31,6 @@ ALLOW_NETWORK_ACCESS= yes
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.0:../../devel/py-typing-extensions
 .endif
 
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index