dev-cpp/simdutf: new package, add 4.0.9

Signed-off-by: Steffen Winter <steffen.winter@proton.me>
This commit is contained in:
Steffen Winter
2024-02-07 13:37:27 +01:00
parent 0385e4148d
commit d6d199ad06
3 changed files with 38 additions and 0 deletions

1
dev-cpp/simdutf/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST simdutf-4.0.9.tar.gz 1868141 BLAKE2B 4c326a3c79c38058761e7c8fa39bad2c540a231c52b98cbba9f8e8aa1c691cba86d6d826c8196627ec504088b525c6dce65ae3643b3c4679e170568bc3cfc358 SHA512 39ffc41d8d6889603b72bbcdcb5bce6b0a98cd41299568cf9bd34f5cbc0d5950f96907eae21c0975b10d701c49d80bb839911672909c802e7f6d3b616fe6279c

View File

@@ -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>stffn.mobil@freenet.de</email>
<name>Steffen Winter</name>
</maintainer>
<upstream>
<remote-id type="github">simdutf/simdutf</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,26 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake python-any-r1
DESCRIPTION="simdutf: Unicode validation and transcoding at billions of characters per second"
HOMEPAGE="https://simdutf.github.io/simdutf/"
SRC_URI="https://github.com/simdutf/simdutf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="|| ( Apache-2.0 MIT )"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
BDEPEND="${PYTHON_DEPS}"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=( -DSIMDUTF_TESTS=$(usex test ON OFF) )
cmake_src_configure
}