| @@ -1,16 +1,16 @@ | | | @@ -1,16 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.17 2023/12/25 22:19:59 spz Exp $ | | 1 | # $NetBSD: Makefile,v 1.18 2023/12/31 21:33:52 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= rapidfuzz-3.5.2 | | 3 | DISTNAME= rapidfuzz-3.6.1 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= textproc python | | 5 | CATEGORIES= textproc python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/rapidfuzz/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/rapidfuzz/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/maxbachmann/RapidFuzz | | 9 | HOMEPAGE= https://github.com/maxbachmann/RapidFuzz |
10 | COMMENT= Rapid fuzzy string matching | | 10 | COMMENT= Rapid fuzzy string matching |
11 | LICENSE= mit | | 11 | LICENSE= mit |
12 | | | 12 | |
13 | TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake | | 13 | TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake |
14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build>=0.17.0:../../devel/py-scikit-build | | 14 | TOOL_DEPENDS+= ${PYPKGPREFIX}-scikit-build>=0.17.0:../../devel/py-scikit-build |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.1:../../devel/py-test | | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.1:../../devel/py-test |
16 | # optional dependency, but not optional for testing | | 16 | # optional dependency, but not optional for testing |
| @@ -18,27 +18,27 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-numpy>=0:. | | | @@ -18,27 +18,27 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-numpy>=0:. |
18 | TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=0:../../devel/py-hypothesis | | 18 | TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=0:../../devel/py-hypothesis |
19 | | | 19 | |
20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 | | 20 | PYTHON_VERSIONS_INCOMPATIBLE= 27 38 |
21 | | | 21 | |
22 | PLIST_SUBST+= PYTHON_VERSION=${_PYTHON_VERSION} | | 22 | PLIST_SUBST+= PYTHON_VERSION=${_PYTHON_VERSION} |
23 | PLIST_VARS+= avx2 | | 23 | PLIST_VARS+= avx2 |
24 | PLIST_VARS+= sse2 | | 24 | PLIST_VARS+= sse2 |
25 | # x86_64 may use avx2, i386 may use avx2 or sse2 | | 25 | # x86_64 may use avx2, i386 may use avx2 or sse2 |
26 | # docs say it'll build them in any case and then autodetect at runtime | | 26 | # docs say it'll build them in any case and then autodetect at runtime |
27 | # whether the system supports it (using _feature_detector_cpp.so) | | 27 | # whether the system supports it (using _feature_detector_cpp.so) |
28 | .if ${MACHINE_ARCH} == "x86_64" | | 28 | .if ${MACHINE_ARCH} == "x86_64" |
29 | PLIST.avx2= yes | | 29 | PLIST.avx2= yes |
30 | .else | | 30 | .else |
31 | . if ${MACHINE_ARCH} == "i386" | | 31 | . if ${MACHINE_ARCH} == "i386" |
32 | PLIST.avx2= yes | | 32 | PLIST.avx2= yes |
33 | PLIST.sse2= yes | | 33 | PLIST.sse2= yes |
34 | . endif | | 34 | . endif |
35 | .endif | | 35 | .endif |
36 | | | 36 | |
37 | USE_CXX_FEATURES= c++17 | | 37 | USE_CXX_FEATURES= c++17 |
38 | USE_LANGUAGES= c c++ | | 38 | USE_LANGUAGES= c c++ |
39 | GCC_REQD+= 10 | | 39 | GCC_REQD+= 10 |
40 | | | 40 | |
41 | BUILDLINK_TRANSFORM.SunOS+= rm:-fno-fat-lto-objects | | 41 | BUILDLINK_TRANSFORM.SunOS+= rm:-fno-fat-lto-objects |
42 | | | 42 | |
43 | .include "../../lang/python/wheel.mk" | | 43 | .include "../../lang/python/wheel.mk" |
44 | .include "../../mk/bsd.pkg.mk" | | 44 | .include "../../mk/bsd.pkg.mk" |