Commits

Steven Thomas Smith authored and Chris Jones committed 003f5fdf96f
hyperscan: Update to version 5.2.1
No tags

textproc/hyperscan/Portfile

Modified
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2 2
3 3 PortSystem 1.0
4 4 PortGroup cmake 1.1
5 5 PortGroup github 1.0
6 6 PortGroup legacysupport 1.0
7 7
8 -github.setup intel hyperscan 5.1.1 v
9 -revision 2
8 +github.setup intel hyperscan 5.2.1 v
9 +revision 0
10 10
11 11 categories textproc
12 12 license BSD
13 13 maintainers nomaintainer
14 14 platforms darwin
15 15 homepage https://www.hyperscan.io/
16 16 description High-performance regular expression matching library.
17 -long_description ${description} It follows the regular expression syntax of the \
18 - commonly-used libpcre library, but is a standalone library with its \
19 - own C API. \
20 - Hyperscan uses hybrid automata techniques to allow simultaneous matching \
21 - of large numbers (up to tens of thousands) of regular expressions and for \
22 - the matching of regular expressions across streams of data. \
17 +long_description ${description} It follows the regular expression syntax of the\
18 + commonly-used libpcre library, but is a standalone library with its\
19 + own C API.\
20 + Hyperscan uses hybrid automata techniques to allow simultaneous matching\
21 + of large numbers (up to tens of thousands) of regular expressions and for\
22 + the matching of regular expressions across streams of data.\
23 23 Hyperscan is typically used in a DPI library stack.
24 24
25 -checksums rmd160 d242ba7bae08734151dd627963068ecdd64c2140 \
26 - sha256 c78c5ec214196634bd484196eb24fce7cf8cf55e356c75ea5489f9dbda893d44 \
27 - size 1811524
25 +checksums rmd160 59ce076aecd8e91f3e3a6a104e05ffff55982b47 \
26 + sha256 f305e533d9f7d662a14b1ef307b126618b8858af9d650e971813fbcaee20da29 \
27 + size 1817458
28 +
29 +set python3_version \
30 + 3.7
31 +set python3_version_nickname \
32 + [join [lrange [split ${python3_version} .] 0 1] {}]
28 33
29 34 depends_build-append \
30 35 port:pkgconfig \
31 - port:python37 \
36 + port:python${python3_version_nickname} \
32 37 port:ragel
33 38
34 39 depends_lib-append \
35 40 port:boost \
36 41 port:pcre \
37 42 port:sqlite3
38 43
39 44 compiler.cxx_standard 2011
40 45
41 46 # The flag `-DCMAKE_BUILD_TYPE=MacPorts` adds -Werror, which causes compile errors with -Wshadow
42 47 # Reference: https://github.com/intel/hyperscan/blob/master/CMakeLists.txt
43 48 cmake.build_type Release
44 49
45 50 configure.args-append \
46 - -DPYTHON_EXECUTABLE=${prefix}/bin/python3.7
51 + -DPYTHON_EXECUTABLE=${prefix}/bin/python${python3_version}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut