From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0D3CE138350 for ; Fri, 7 Feb 2020 06:17:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79AE5E085A; Fri, 7 Feb 2020 06:17:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 318A3E0857 for ; Fri, 7 Feb 2020 06:17:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 883B134E83D for ; Fri, 7 Feb 2020 06:17:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E54F0114 for ; Fri, 7 Feb 2020 06:16:57 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1581056203.21d012ddbfa2aed2ae73b45db176ac4f5ab4903e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/hyperscan/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/hyperscan/Manifest dev-libs/hyperscan/hyperscan-5.2.1.ebuild X-VCS-Directories: dev-libs/hyperscan/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 21d012ddbfa2aed2ae73b45db176ac4f5ab4903e X-VCS-Branch: master Date: Fri, 7 Feb 2020 06:16:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 865c2d66-bd30-45c7-86b6-f9ec81f6af85 X-Archives-Hash: 69ebb3acd2a7ad42e5866461a4946b37 commit: 21d012ddbfa2aed2ae73b45db176ac4f5ab4903e Author: Petr Vaněk atlas cz> AuthorDate: Tue Feb 4 18:31:54 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Feb 7 06:16:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21d012dd dev-libs/hyperscan: bump to 5.2.1 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/14556 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/hyperscan/Manifest | 1 + dev-libs/hyperscan/hyperscan-5.2.1.ebuild | 42 +++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-libs/hyperscan/Manifest b/dev-libs/hyperscan/Manifest index 64a310c6073..afd9d645e5e 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 00000000000..8789fd913c7 --- /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 +}