blob: 2384eac7d220662f43fa87415092e143ef7c3bce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
PORTNAME= pyperscan
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.0
PORTREVISION= 9
CATEGORIES= devel python
#MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python binding for Hyperscan, Intel's regex library
WWW= https://vlaci.github.io/pyperscan/
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.0:devel/py-maturin@${PY_FLAVOR}
LIB_DEPENDS= libhs.so:devel/hyperscan
USES= cargo llvm localbase python
USE_PYTHON= pep517 autoplist pytest
USE_GITHUB= yes
GH_ACCOUNT= vlaci
CARGO_CRATES= aho-corasick-1.1.2 \
autocfg-1.1.0 \
bindgen-0.69.1 \
bitflags-1.3.2 \
bitflags-2.4.1 \
cc-1.0.83 \
cexpr-0.6.0 \
cfg-if-1.0.0 \
clang-sys-1.6.1 \
cmake-0.1.50 \
either-1.9.0 \
errno-0.3.8 \
foreign-types-0.5.0 \
foreign-types-macros-0.2.3 \
foreign-types-shared-0.3.1 \
glob-0.3.1 \
home-0.5.5 \
indoc-1.0.9 \
lazy_static-1.4.0 \
lazycell-1.3.0 \
libc-0.2.151 \
libloading-0.7.4 \
linux-raw-sys-0.4.12 \
lock_api-0.4.11 \
log-0.4.20 \
memchr-2.6.4 \
memoffset-0.8.0 \
minimal-lexical-0.2.1 \
nom-7.1.3 \
once_cell-1.19.0 \
parking_lot-0.12.1 \
parking_lot_core-0.9.9 \
peeking_take_while-0.1.2 \
prettyplease-0.2.15 \
proc-macro2-1.0.70 \
pyo3-0.18.3 \
pyo3-build-config-0.18.3 \
pyo3-ffi-0.18.3 \
pyo3-macros-0.18.3 \
pyo3-macros-backend-0.18.3 \
quote-1.0.33 \
redox_syscall-0.4.1 \
regex-1.10.2 \
regex-automata-0.4.3 \
regex-syntax-0.8.2 \
rustc-hash-1.1.0 \
rustix-0.38.28 \
scopeguard-1.2.0 \
shlex-1.2.0 \
smallvec-1.11.2 \
syn-1.0.109 \
syn-2.0.40 \
target-lexicon-0.12.12 \
thiserror-1.0.50 \
thiserror-impl-1.0.50 \
unicode-ident-1.0.12 \
unindent-0.1.11 \
which-4.4.2 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-sys-0.48.0 \
windows-sys-0.52.0 \
windows-targets-0.48.5 \
windows-targets-0.52.0 \
windows_aarch64_gnullvm-0.48.5 \
windows_aarch64_gnullvm-0.52.0 \
windows_aarch64_msvc-0.48.5 \
windows_aarch64_msvc-0.52.0 \
windows_i686_gnu-0.48.5 \
windows_i686_gnu-0.52.0 \
windows_i686_msvc-0.48.5 \
windows_i686_msvc-0.52.0 \
windows_x86_64_gnu-0.48.5 \
windows_x86_64_gnu-0.52.0 \
windows_x86_64_gnullvm-0.48.5 \
windows_x86_64_gnullvm-0.52.0 \
windows_x86_64_msvc-0.48.5 \
windows_x86_64_msvc-0.52.0
CARGO_BUILD= no
CARGO_INSTALL= no
CARGO_TEST= no
CARGO_TARGET_DIR= ${WRKSRC}/target
MAKE_ENV= FREEBSD_LOCALBASE=${LOCALBASE} \
PATH=${FILESDIR}:${PATH}
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
.include <bsd.port.mk>
|