pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/py-zstandard



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Apr  3 06:56:12 UTC 2024

Modified Files:
        pkgsrc/archivers/py-zstandard: Makefile

Log Message:
py-zstandard: fix build with zstd 1.5.6

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/archivers/py-zstandard/Makefile

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

Modified files:

Index: pkgsrc/archivers/py-zstandard/Makefile
diff -u pkgsrc/archivers/py-zstandard/Makefile:1.28 pkgsrc/archivers/py-zstandard/Makefile:1.29
--- pkgsrc/archivers/py-zstandard/Makefile:1.28 Mon Nov  6 20:00:39 2023
+++ pkgsrc/archivers/py-zstandard/Makefile      Wed Apr  3 06:56:12 2024
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2023/11/06 20:00:39 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2024/04/03 06:56:12 wiz Exp $
 
 DISTNAME=      zstandard-0.22.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    archivers python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zstandard/}
 
@@ -17,7 +18,13 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-hypothesis
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-BUILDLINK_API_DEPENDS.zstd+=   zstd>=1.5.5
+BUILDLINK_API_DEPENDS.zstd+=   zstd>=1.5.6
+
+# https://github.com/indygreg/python-zstandard/issues/220
+post-extract:
+       ${RM} ${WRKSRC}/zstd/zstd.h
+       ${LN} -s ${BUILDLINK_DIR}/include/zstd.h ${WRKSRC}/zstd/zstd.h
+
 .include "../../archivers/zstd/buildlink3.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index