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 AF3A1158012 for ; Sat, 10 Sep 2022 11:33:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C37C9E08FC; Sat, 10 Sep 2022 11:33:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 B05A6E08FC for ; Sat, 10 Sep 2022 11:33:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA8F2340F22 for ; Sat, 10 Sep 2022 11:33:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AB565CD for ; Sat, 10 Sep 2022 11:33:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1662809592.fe7fbdb2f6a747fac2d547b8f2c22a31bdddc2f1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/pugixml/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/pugixml/Manifest dev-libs/pugixml/pugixml-1.12.ebuild X-VCS-Directories: dev-libs/pugixml/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fe7fbdb2f6a747fac2d547b8f2c22a31bdddc2f1 X-VCS-Branch: master Date: Sat, 10 Sep 2022 11:33:24 +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: a50f2a70-7243-4ee7-9146-aeee2360eaab X-Archives-Hash: 6db4b59aa072e6252d59aeccd96f22b3 commit: fe7fbdb2f6a747fac2d547b8f2c22a31bdddc2f1 Author: matoro users noreply github com> AuthorDate: Wed Sep 7 19:37:27 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 10 11:33:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe7fbdb2 dev-libs/pugixml: enable tests The release tarball excludes the test sources, so switch SRC_URI to the github tag archive. Closes: https://github.com/gentoo/gentoo/pull/27184 Signed-off-by: Sam James gentoo.org> dev-libs/pugixml/Manifest | 2 +- dev-libs/pugixml/pugixml-1.12.ebuild | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/dev-libs/pugixml/Manifest b/dev-libs/pugixml/Manifest index 9c4fb41221cf..5f706d44aba8 100644 --- a/dev-libs/pugixml/Manifest +++ b/dev-libs/pugixml/Manifest @@ -1,2 +1,2 @@ DIST pugixml-1.11.4.tar.gz 386229 BLAKE2B 93d9c537f10e3a12297e4d6a39f2866bd5c9678c6aff83e20fb79b6587191b6586b1fe4d9dd995a7be05cc9281cd9910fae3eddf6b2eac216873e918a5cf3231 SHA512 c83f57ef2492eee359d979597fb5089b8eca547bb9d41cfbb6bcf43d59fe75e6780b0f31dd593145ec9888c065153aba52702667e2de213fa080cd51e9e13a38 -DIST pugixml-1.12.tar.gz 389685 BLAKE2B 190ebd1e7ac298a4ef6bc35769151f4d606a88185d29cfad7acb813990e3c9b2bf5b17c461f321942a3af0688c2244a896eb0129df8def5aff63b1d65aa3f6dc SHA512 1d23fc8b0aa643b932d34012be6d545734f5177d7db711fe1f0b82e318d72b5850a8c3d8513393b86b5a1e83ee7bfd825877f9efbf801369adfcb88041b52a93 +DIST pugixml-1.12.tar.gz 571637 BLAKE2B 46bacdef3e8eb2eeae877d1d62dcb19a442d840d784c2ff402a6b1bbfedb0af1379ec98344580a491472fc1014875f35ab2319d9759e0284dbb1afbcdae27454 SHA512 29395836a2add5f2bcb8fca6be5e517ce036ec2d041ca25aae5253f29f75fbc7214e7a411f0c0e470c2476ee49b4882d66dec3502a933004eb17e6119cd8f125 diff --git a/dev-libs/pugixml/pugixml-1.12.ebuild b/dev-libs/pugixml/pugixml-1.12.ebuild index ebcd674be6c0..75d80895d193 100644 --- a/dev-libs/pugixml/pugixml-1.12.ebuild +++ b/dev-libs/pugixml/pugixml-1.12.ebuild @@ -9,7 +9,7 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/zeux/${PN}.git" inherit git-r3 else - SRC_URI="https://github.com/zeux/${PN}/releases/download/v${PV}/${P}.tar.gz" + SRC_URI="https://github.com/zeux/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" fi @@ -18,3 +18,12 @@ HOMEPAGE="https://pugixml.org/ https://github.com/zeux/pugixml" LICENSE="MIT" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -D${PN^^}_BUILD_TESTS=$(usex test ON OFF) + ) + cmake_src_configure +}