diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2024-04-13 14:43:00 +0200 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-04-13 14:43:00 +0200 |
commit | 5283424542dd5e0c09ff6c2449c52038d794ec7a (patch) | |
tree | 2d9c69663f4c1ddfa9146b3b6294e927d61f8fda /dev-libs/hyperscan | |
parent | profiles/package.mask: last-rite dev-python/PySensors (diff) | |
download | gentoo-5283424542dd5e0c09ff6c2449c52038d794ec7a.tar.gz gentoo-5283424542dd5e0c09ff6c2449c52038d794ec7a.tar.bz2 gentoo-5283424542dd5e0c09ff6c2449c52038d794ec7a.zip |
dev-libs/hyperscan: treeclean
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'dev-libs/hyperscan')
-rw-r--r-- | dev-libs/hyperscan/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/hyperscan/hyperscan-5.4.2.ebuild | 65 | ||||
-rw-r--r-- | dev-libs/hyperscan/metadata.xml | 11 |
3 files changed, 0 insertions, 77 deletions
diff --git a/dev-libs/hyperscan/Manifest b/dev-libs/hyperscan/Manifest deleted file mode 100644 index 92924af20c50..000000000000 --- a/dev-libs/hyperscan/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST hyperscan-5.4.2.tar.gz 1848851 BLAKE2B a4539df7c6a4b5f097effa67bc777c37ff02aae356953acd4ffe871f621c556f6357c37ad813db144ed50af21881838946b7cb5ef9ea345412de908b84497dac SHA512 328f21133161d16b36ebdc7f8b80a7afe7ca9e7e7433348e9bfa9acb5f3641522e8314beea1b219891f4e95f1392ff8036ebb87780fe808b8b4bd15a535e9509 diff --git a/dev-libs/hyperscan/hyperscan-5.4.2.ebuild b/dev-libs/hyperscan/hyperscan-5.4.2.ebuild deleted file mode 100644 index 7c6fac198c94..000000000000 --- a/dev-libs/hyperscan/hyperscan-5.4.2.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit cmake flag-o-matic python-any-r1 - -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_avx2 cpu_flags_x86_ssse3" - -RDEPEND="dev-libs/boost:=" -DEPEND="${RDEPEND}" -BDEPEND=" - ${PYTHON_DEPS} - dev-util/ragel -" - -# We can't default this to on as it's against the expectation of -# how CPU_FLAGS_* work for users. -REQUIRED_USE="cpu_flags_x86_ssse3" - -src_prepare() { - # Respect user -O flags - sed -i '/set(OPT_CX*_FLAG/d' CMakeLists.txt || die - - # upstream workaround - append-cxxflags -Wno-redundant-move - cmake_src_prepare -} - -src_configure() { - use cpu_flags_x86_ssse3 && append-flags -mssse3 - use cpu_flags_x86_avx2 && append-flags -mavx2 - - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DBUILD_STATIC_AND_SHARED=OFF - -DBUILD_EXAMPLES=OFF - -DFAT_RUNTIME=false - ) - cmake_src_configure -} - -src_test() { - "${BUILD_DIR}"/bin/unit-hyperscan || die -} - -pkg_postinst() { - if has_version '<mail-filter/rspamd-3.5'; then - elog "There is known issue with <mail-filter/rspamd-3.5 when hyperscan version changes." - elog "Known workaround is to remove hyperscan databases ${EROOT}/var/lib/rspamd/*.hs*" - elog "See https://github.com/rspamd/rspamd/issues/4409 for more information." - fi -} diff --git a/dev-libs/hyperscan/metadata.xml b/dev-libs/hyperscan/metadata.xml deleted file mode 100644 index dc4b2f2b7d54..000000000000 --- a/dev-libs/hyperscan/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>arkamar@gentoo.org</email> - <name>Petr Vaněk</name> - </maintainer> - <upstream> - <remote-id type="github">intel/hyperscan</remote-id> - </upstream> -</pkgmetadata> |