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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D4D2D158087 for ; Sat, 29 Jan 2022 15:20:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2F972BC01C; Sat, 29 Jan 2022 15:20:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84E942BC016 for ; Sat, 29 Jan 2022 15:20:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 49924343309 for ; Sat, 29 Jan 2022 15:20:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F3AC22CB for ; Sat, 29 Jan 2022 15:20:10 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1643469549.14b3390d420f48c6f858acbf21f5db51ec2ee6a9.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/utfcpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/utfcpp/Manifest dev-libs/utfcpp/utfcpp-3.2.1.ebuild X-VCS-Directories: dev-libs/utfcpp/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 14b3390d420f48c6f858acbf21f5db51ec2ee6a9 X-VCS-Branch: master Date: Sat, 29 Jan 2022 15:20:10 +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: edf75f5f-f814-462a-b1a5-df94030bbaee X-Archives-Hash: 6a367028a6c98a38eea0c717941eb3e8 commit: 14b3390d420f48c6f858acbf21f5db51ec2ee6a9 Author: Arfrever Frehtes Taifersar Arahesis Apache Org> AuthorDate: Sat Jan 22 01:00:00 2022 +0000 Commit: Yixun Lan gentoo org> CommitDate: Sat Jan 29 15:19:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14b3390d dev-libs/utfcpp: Version bump (3.2.1). Closes: https://bugs.gentoo.org/830427 Signed-off-by: Arfrever Frehtes Taifersar Arahesis Apache.Org> Signed-off-by: Yixun Lan gentoo.org> dev-libs/utfcpp/Manifest | 2 ++ dev-libs/utfcpp/utfcpp-3.2.1.ebuild | 64 +++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-libs/utfcpp/Manifest b/dev-libs/utfcpp/Manifest index 3055ba566932..bb0bc1a295d6 100644 --- a/dev-libs/utfcpp/Manifest +++ b/dev-libs/utfcpp/Manifest @@ -1,3 +1,5 @@ +DIST ftest-20211106174116.tar.gz 3232 BLAKE2B 9a2184e82a19465333600b7c31de9a51e6716a4099f23145d93c967636da6539a0e71bfdd082507bf19a440df1199a1abf6f528b3957391f8b2a5c3e4dfb26ec SHA512 d92d3a3abd4f7b35971bfe7d74e1b822931818f60149a56ad29dd3238300ad71de1989fedc602a44a9c1a253da7bce758adf8d5b6da63ca6f322fb06dcefc98a DIST utfcpp-3.1.1.tar.gz 26374 BLAKE2B 93ad55c113c922e0105b509adf8dc1505e625bfeed0c60dabe7243ec288e3dd13b79b9382af2fff6daf780c5ebf9da32a492263d4998204222c1e446d16f4473 SHA512 720e2eba5c04f0bc4903a287138149a9cd432bc68bb163fe36b2e0d26d8bf616b4665f389b4a9c97af6ae7869e78973d97db976a4745512a241eebf774608997 DIST utfcpp-3.1.2.tar.gz 26388 BLAKE2B f0ebf7f054c488259d2a409b2c5201b73e928901cf337cdc2a99a2f64deaf431ee60328b3b61e134d3cd49428eb0c921057ea248269029ef2838ed72dd8af7d7 SHA512 d43df19d9e8652291f1301a326ec0d592bad43d6ecf9086947037f0ae0c1e70c2d96082c48066639e2b7c57c0ea0e4782d6b215d017cf96a4c73ff3a15feec75 DIST utfcpp-3.1.tar.gz 25871 BLAKE2B 6bafb933b777e842375b3dc6b1b5bc41efb0e9f40bbd33ccbbaf07b57a28c4e485d596725297fc2de83c23fa3c66872519883727714d236f4a37e07ed4825fc9 SHA512 826ac7aa61215ac2144fa3f5edc7f291c3dd25dc69b0c82526840f4651f822515ec262915e1117d975e5c5dd729f6166806a5d397262f59a2b323eb7009671f5 +DIST utfcpp-3.2.1.tar.gz 27377 BLAKE2B 27c4becfa7e1f5e8b63ee0e03b9f66cf5d6743cff3706222dde6e21c3feb51897eddd7dcaeaaacc66513fdb209d5be392e83ba22ab7a7d848bdf9721577d6444 SHA512 5798487f12b1bc55d3e06aed38f7604271ca3402963efcf85d181fd590d8a088d21e961e77698e60dc2cdae8cf4506645903442c45fd328201752d9589180e0d diff --git a/dev-libs/utfcpp/utfcpp-3.2.1.ebuild b/dev-libs/utfcpp/utfcpp-3.2.1.ebuild new file mode 100644 index 000000000000..91f09205a24c --- /dev/null +++ b/dev-libs/utfcpp/utfcpp-3.2.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 2015-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit cmake + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/nemtrif/utfcpp" + EGIT_SUBMODULES=() +else + FTEST_GIT_REVISION="1e14b77c2ab8489386fc7046a8bced696c0fc4d6" + FTEST_DATE="20211106174116" +fi + +DESCRIPTION="UTF-8 C++ library" +HOMEPAGE="https://github.com/nemtrif/utfcpp" +if [[ "${PV}" == "9999" ]]; then + SRC_URI="" +else + SRC_URI="https://github.com/nemtrif/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://github.com/nemtrif/ftest/archive/${FTEST_GIT_REVISION}.tar.gz -> ftest-${FTEST_DATE}.tar.gz )" +fi + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="" +DEPEND="" +RDEPEND="" + +src_unpack() { + if [[ "${PV}" == "9999" ]]; then + git-r3_src_unpack + + if use test; then + git-r3_fetch https://github.com/nemtrif/ftest refs/heads/master + git-r3_checkout https://github.com/nemtrif/ftest "${WORKDIR}/ftest" + fi + else + default + + if use test; then + mv ftest-${FTEST_GIT_REVISION} ftest || die + fi + fi + + rmdir "${S}/extern/ftest" || die + ln -s ../../ftest "${S}/extern/ftest" || die +} + +src_configure() { + local mycmakeargs=( + -DUTF8_SAMPLES=OFF + -DUTF8_TESTS=$(usex test ON OFF) + ) + + cmake_src_configure +}