summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Vaněk <arkamar@atlas.cz>2020-02-04 19:31:54 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-02-07 08:16:43 +0200
commit21d012ddbfa2aed2ae73b45db176ac4f5ab4903e (patch)
tree065ce192381a4ed7bcfba4da3adb0c90ae082d8c /dev-libs/hyperscan
parentdev-libs/hyperscan: update urls (diff)
downloadgentoo-21d012ddbfa2aed2ae73b45db176ac4f5ab4903e.tar.gz
gentoo-21d012ddbfa2aed2ae73b45db176ac4f5ab4903e.tar.bz2
gentoo-21d012ddbfa2aed2ae73b45db176ac4f5ab4903e.zip
dev-libs/hyperscan: bump to 5.2.1
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/14556 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/hyperscan')
-rw-r--r--dev-libs/hyperscan/Manifest1
-rw-r--r--dev-libs/hyperscan/hyperscan-5.2.1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/hyperscan/Manifest b/dev-libs/hyperscan/Manifest
index 64a310c6073c..afd9d645e5e3 100644
--- a/dev-libs/hyperscan/Manifest
+++ b/dev-libs/hyperscan/Manifest
@@ -1,3 +1,4 @@
DIST hyperscan-5.1.0.tar.gz 1810559 BLAKE2B 0946b3afe00cdce51b82852515ffe674729854d762854c252ba90fc73cbdc23205fe75f8e6c4e976efb31bf10950076b5790bd9692768dabcbd642d53e739c32 SHA512 5e6d11429e61dc061dd31e6b311a8c1dbfcd03af6e24d97b95eb2cef24dcd33d593064e5faa7c22807d785a8921bc410a69a43c4e5b3d7b4774f37c4a12a025d
DIST hyperscan-5.1.1.tar.gz 1811275 BLAKE2B 524f1fbdfd470cd12ebb0ab4e122a97f6a90a1027adfa0850921a8f80c09f87792fed3da6b10367336b1e84987414bda93b98aa30aa9ff6dd899bf29fdd4294a SHA512 2812174890f775bc0c99019afe49cfde9ecc1107626cb4f1c9e1518228d090cba43bc15a19beaa00bae2a8a3dad85e7f27d4b237973360a294db78098fcb8508
DIST hyperscan-5.2.0.tar.gz 1818751 BLAKE2B 4d74a4d022a59ee37c7df274ff1a37153898aa403bdfa3ec39df7304f7f65bcae1bbc074a2801223ef00903a5b8a01845e985c2ad196496d40899bab79df3844 SHA512 4d56e2d02dfbedf3caa8b212dae2ac3575b343b1ed2a75e91f6074ef265bbc28cfb78ad7f08dc47d7cc2e3e3e02e488c4cb75efacc41755f993236d97ddcb4cc
+DIST hyperscan-5.2.1.tar.gz 1818935 BLAKE2B 8b073c946b970867221043b88f36203a0bfa3f2b94002ce2e46f0aa5c616d3e09f19a750510bd88ed30d0aa4324c0d0f04d6a816775b4bed2c246bbc1548b2f0 SHA512 e6ac2aef1f3efa1535c00d73fa590ea62fff4686c4ad3ee023d2e72c51896ca4616ec1b85d7c6f88ac7b42d92c3557b9c4bb3b51cfb796e20a79d53b28e53b6c
diff --git a/dev-libs/hyperscan/hyperscan-5.2.1.ebuild b/dev-libs/hyperscan/hyperscan-5.2.1.ebuild
new file mode 100644
index 000000000000..8789fd913c71
--- /dev/null
+++ b/dev-libs/hyperscan/hyperscan-5.2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit cmake python-r1 flag-o-matic
+
+DESCRIPTION="High-performance regular expression matching library"
+SRC_URI="https://github.com/intel/hyperscan/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="https://www.hyperscan.io/ https://github.com/intel/hyperscan"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+cpu_flags_x86_ssse3 static-libs"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/boost"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-util/ragel"
+
+REQUIRED_USE="cpu_flags_x86_ssse3 ${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+ # upstream workaround
+ append-cxxflags -Wno-redundant-move
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
+ -DBUILD_STATIC_AND_SHARED=$(usex static-libs ON OFF)
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ "${BUILD_DIR}"/bin/unit-hyperscan || die
+}