pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-hyperscan



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Dec 29 14:58:01 UTC 2024

Modified Files:
        pkgsrc/devel/py-hyperscan: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-hyperscan/patches: patch-setup.py

Log Message:
py-hyperscan: updated to 0.7.8

0.7.8

fix: go back to python-semantic-release (sigh) (8c15651)
fix: update docs, force release for macOS arm wheels (725a373)
feat: support macOS arm64 (ba361e4)
feat: switch to Vectorscan (v5.4.11)


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-hyperscan/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-hyperscan/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-hyperscan/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-hyperscan/patches/patch-setup.py

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

Modified files:

Index: pkgsrc/devel/py-hyperscan/Makefile
diff -u pkgsrc/devel/py-hyperscan/Makefile:1.10 pkgsrc/devel/py-hyperscan/Makefile:1.11
--- pkgsrc/devel/py-hyperscan/Makefile:1.10     Mon Nov 11 07:28:10 2024
+++ pkgsrc/devel/py-hyperscan/Makefile  Sun Dec 29 14:58:01 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2024/11/11 07:28:10 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2024/12/29 14:58:01 adam Exp $
 
-DISTNAME=      hyperscan-0.0.2
+DISTNAME=      hyperscan-0.7.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hyperscan/}
 
@@ -11,13 +10,20 @@ HOMEPAGE=   https://github.com/darvid/pyth
 COMMENT=       CPython extension for hyperscan
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+ONLY_FOR_PLATFORM=     *-*-i386 *-*-x86_64
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend-[0-9]*:../../devel/py-pdm_backend
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=68:../../devel/py-setuptools
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.12.0:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=3.5.0:../../devel/py-test-xdist
 
-USE_LANGUAGES= c
 USE_TOOLS+=    pkg-config
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/.gitignore
+       ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/hyperscan/hyperscanmodule.c
 
 .include "../../devel/hyperscan/buildlink3.mk"
+.include "../../devel/pcre/buildlink3.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-hyperscan/PLIST
diff -u pkgsrc/devel/py-hyperscan/PLIST:1.2 pkgsrc/devel/py-hyperscan/PLIST:1.3
--- pkgsrc/devel/py-hyperscan/PLIST:1.2 Tue Apr 30 13:36:38 2024
+++ pkgsrc/devel/py-hyperscan/PLIST     Sun Dec 29 14:58:01 2024
@@ -1,7 +1,15 @@
-@comment $NetBSD: PLIST,v 1.2 2024/04/30 13:36:38 wiz Exp $
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+@comment $NetBSD: PLIST,v 1.3 2024/12/29 14:58:01 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
-${PYSITELIB}/hyperscan.so
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/hyperscan/__init__.py
+${PYSITELIB}/hyperscan/__init__.pyc
+${PYSITELIB}/hyperscan/__init__.pyo
+${PYSITELIB}/hyperscan/_ext.pyi
+${PYSITELIB}/hyperscan/_ext.so
+${PYSITELIB}/hyperscan/_version.py
+${PYSITELIB}/hyperscan/_version.pyc
+${PYSITELIB}/hyperscan/_version.pyo
+${PYSITELIB}/hyperscan/py.typed

Index: pkgsrc/devel/py-hyperscan/distinfo
diff -u pkgsrc/devel/py-hyperscan/distinfo:1.4 pkgsrc/devel/py-hyperscan/distinfo:1.5
--- pkgsrc/devel/py-hyperscan/distinfo:1.4      Tue Oct 26 10:18:33 2021
+++ pkgsrc/devel/py-hyperscan/distinfo  Sun Dec 29 14:58:01 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:18:33 nia Exp $
+$NetBSD: distinfo,v 1.5 2024/12/29 14:58:01 adam Exp $
 
-BLAKE2s (hyperscan-0.0.2.tar.gz) = c47b22445eb8b2ca44fb198d2f7b69f09b4d9eca5132832f24db1429f833f874
-SHA512 (hyperscan-0.0.2.tar.gz) = d8a9d22cc266059d023bd45d195456b063ad58fd6e484a69f612f6487f898f736ae74e498cd3e52a7af260336ea8b5a2b2060bfbe7c93ffe695e419607b30334
-Size (hyperscan-0.0.2.tar.gz) = 15598 bytes
+BLAKE2s (hyperscan-0.7.8.tar.gz) = e9bafd922d5673331fadfeca8364a5a801c4c3939bc2c66168fef8d67739559f
+SHA512 (hyperscan-0.7.8.tar.gz) = cfd26d137b7f79598236926d89c0f62ce0ca0f605088ee4942c48e2aaf701c1952d404a32dfb1bf3864194174d858657459a77423b88ec4be34cf4cb20691320
+Size (hyperscan-0.7.8.tar.gz) = 74532 bytes
+SHA1 (patch-setup.py) = d7a29b8d25102e8283216517094dde65beee7d0a

Added files:

Index: pkgsrc/devel/py-hyperscan/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-hyperscan/patches/patch-setup.py:1.1
--- /dev/null   Sun Dec 29 14:58:01 2024
+++ pkgsrc/devel/py-hyperscan/patches/patch-setup.py    Sun Dec 29 14:58:01 2024
@@ -0,0 +1,17 @@
+$NetBSD: patch-setup.py,v 1.1 2024/12/29 14:58:01 adam Exp $
+
+Fix build: library_dirs must not be empty.
+Do not force optimisation flag.
+
+--- setup.py.orig      2024-11-18 05:53:16.000000000 +0000
++++ setup.py
+@@ -62,8 +62,7 @@ if __name__ == "__main__":
+             Extension(
+                 "hyperscan._ext",
+                 sources=["src/hyperscan/hyperscanmodule.c"],
+-                library_dirs=os.getenv("LIBRARY_PATH", "").split(":"),
+-                extra_compile_args=["-O0", "-DPCRE_STATIC"],
++                extra_compile_args=["-DPCRE_STATIC"],
+                 # extra_link_args=["-Wl,--exclude-libs,ALL"],
+                 **get_platform_specific_options(),
+             )



Home | Main Index | Thread Index | Old Index