public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/utfcpp/
Date: Wed, 28 Feb 2024 15:21:15 +0000 (UTC)	[thread overview]
Message-ID: <1709133661.3dce81ef2a89e49713c924634162ba5abffa0745.asturm@gentoo> (raw)

commit:     3dce81ef2a89e49713c924634162ba5abffa0745
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 30 20:25:06 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 28 15:21:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dce81ef

dev-libs/utfcpp: Rebase onto upstream git master

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/utfcpp/utfcpp-9999.ebuild | 40 +++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 22 deletions(-)

diff --git a/dev-libs/utfcpp/utfcpp-9999.ebuild b/dev-libs/utfcpp/utfcpp-9999.ebuild
index 0b15d97bb35e..f92cb7df4237 100644
--- a/dev-libs/utfcpp/utfcpp-9999.ebuild
+++ b/dev-libs/utfcpp/utfcpp-9999.ebuild
@@ -1,41 +1,32 @@
-# Copyright 2015-2022 Gentoo Authors
+# Copyright 2015-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="8"
+EAPI=8
 
 inherit cmake
 
-if [[ "${PV}" == "9999" ]]; then
-	inherit git-r3
-
+if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://github.com/nemtrif/utfcpp"
 	EGIT_SUBMODULES=()
+	inherit git-r3
 else
 	FTEST_GIT_REVISION=""
 	FTEST_DATE=""
+	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 )"
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
 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=""
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-BDEPEND=""
-DEPEND=""
-RDEPEND=""
-
 src_unpack() {
-	if [[ "${PV}" == "9999" ]]; then
+	if [[ ${PV} == *9999* ]]; then
 		git-r3_src_unpack
 
 		if use test; then
@@ -55,10 +46,15 @@ src_unpack() {
 }
 
 src_configure() {
-	local mycmakeargs=(
-		-DUTF8_SAMPLES=OFF
-		-DUTF8_TESTS=$(usex test ON OFF)
-	)
-
 	cmake_src_configure
+
+	pushd tests > /dev/null || die
+		cmake_src_configure
+	popd > /dev/null || die
+}
+
+src_test() {
+	pushd tests > /dev/null || die
+		cmake_src_test
+	popd > /dev/null || die
 }


             reply	other threads:[~2024-02-28 15:21 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 15:21 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-09 23:23 [gentoo-commits] repo/gentoo:master commit in: dev-libs/utfcpp/ Sam James
2025-03-09 23:23 Sam James
2025-03-09 22:58 Sam James
2025-03-09 22:55 Sam James
2025-03-09 22:55 Sam James
2025-03-09 22:55 Sam James
2025-03-09 22:55 Sam James
2024-12-28  0:05 Andreas Sturmlechner
2024-12-28  0:05 Andreas Sturmlechner
2024-03-07 23:46 Andreas Sturmlechner
2024-03-07 23:44 Andreas Sturmlechner
2024-02-28 15:23 Andreas Sturmlechner
2023-09-27 16:44 WANG Xuerui
2022-08-18  2:53 Matt Turner
2022-07-29  8:01 Agostino Sarubbo
2022-07-29  7:59 Agostino Sarubbo
2022-07-28 23:06 Sam James
2022-07-28  7:06 Agostino Sarubbo
2022-07-28  6:30 Sam James
2022-07-28  6:30 Sam James
2022-07-28  6:30 Sam James
2022-03-09  8:59 Jakov Smolić
2022-02-28  7:06 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-29 15:20 Yixun Lan
2022-01-02 19:47 Arthur Zamarin
2022-01-02 19:07 Arthur Zamarin
2022-01-02  9:59 Sam James
2022-01-02  5:52 Sam James
2022-01-02  5:52 Sam James
2022-01-02  5:52 Sam James
2021-03-28  7:14 Sam James
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-11-22 19:32 Mike Gilbert
2020-02-08 12:50 Sergei Trofimovich
2020-01-17 19:09 Mike Gilbert
2019-12-31 18:08 Aaron Bauman
2019-12-31  8:18 Agostino Sarubbo
2019-12-31  8:15 Agostino Sarubbo
2019-12-06 20:25 Mike Gilbert
2019-09-26  6:52 Sergei Trofimovich
2019-08-30 18:39 Sergei Trofimovich
2019-08-18  3:06 Aaron Bauman
2019-08-16 17:03 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-08-09 18:39 Mike Gilbert
2019-07-21  8:25 Sergei Trofimovich
2019-07-16 18:19 Andreas Sturmlechner
2019-02-17 17:40 Sergei Trofimovich
2016-08-07  8:02 Pacho Ramos
2016-01-15  9:03 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709133661.3dce81ef2a89e49713c924634162ba5abffa0745.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox