diff options
Diffstat (limited to 'dev-cpp/rapidfuzz-cpp')
-rw-r--r-- | dev-cpp/rapidfuzz-cpp/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/rapidfuzz-cpp/metadata.xml | 11 | ||||
-rw-r--r-- | dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.4.ebuild | 32 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-cpp/rapidfuzz-cpp/Manifest b/dev-cpp/rapidfuzz-cpp/Manifest new file mode 100644 index 000000000000..9910a125a798 --- /dev/null +++ b/dev-cpp/rapidfuzz-cpp/Manifest @@ -0,0 +1 @@ +DIST rapidfuzz-cpp-3.0.4.gh.tar.gz 301889 BLAKE2B eb4b27a0a6b4e5268036bb0fd79e57136685daf307d808de27515279bed63e1b934f504e9f7c22a20fbb028d322df824fce33398685708a2db3d11de93bd77d3 SHA512 c9cc50f7d68756d81a5d2c5efdd76e859fe5a199bf5e45179effcd85e32f0bb98b593b93c2aa57950a04c3d827af98efb13096b9669329881d658ababc059fd5 diff --git a/dev-cpp/rapidfuzz-cpp/metadata.xml b/dev-cpp/rapidfuzz-cpp/metadata.xml new file mode 100644 index 000000000000..3503d414e046 --- /dev/null +++ b/dev-cpp/rapidfuzz-cpp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <remote-id type="github">rapidfuzz/rapidfuzz-cpp</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.4.ebuild b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.4.ebuild new file mode 100644 index 000000000000..e9c6bbefe8e2 --- /dev/null +++ b/dev-cpp/rapidfuzz-cpp/rapidfuzz-cpp-3.0.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Rapid fuzzy string matching in C++" +HOMEPAGE="https://github.com/rapidfuzz/rapidfuzz-cpp/" +SRC_URI=" + https://github.com/rapidfuzz/rapidfuzz-cpp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + >=dev-cpp/catch-3 + ) +" + +src_configure() { + local mycmakeargs=( + -DRAPIDFUZZ_BUILD_TESTING=$(usex test) + ) + cmake_src_configure +} |