From 3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 5 Sep 2025 08:13:23 +0000 Subject: Adding metadata --- dev-cpp/pcg-cpp/Manifest | 2 +- .../pcg-cpp/files/pcg-cpp-0.98.1-testerror.patch | 12 ++++++ dev-cpp/pcg-cpp/files/pcg-cpp.pc | 9 ----- dev-cpp/pcg-cpp/metadata.xml | 10 ++++- dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20210406-r1.ebuild | 46 ---------------------- dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20220408.ebuild | 41 +++++++++++++++++++ 6 files changed, 63 insertions(+), 57 deletions(-) create mode 100644 dev-cpp/pcg-cpp/files/pcg-cpp-0.98.1-testerror.patch delete mode 100644 dev-cpp/pcg-cpp/files/pcg-cpp.pc delete mode 100644 dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20210406-r1.ebuild create mode 100644 dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20220408.ebuild (limited to 'dev-cpp/pcg-cpp') diff --git a/dev-cpp/pcg-cpp/Manifest b/dev-cpp/pcg-cpp/Manifest index f6fbafada829..d1692012b821 100644 --- a/dev-cpp/pcg-cpp/Manifest +++ b/dev-cpp/pcg-cpp/Manifest @@ -1 +1 @@ -DIST pcg-cpp-0.98.1_p20210406.tar.gz 78228 BLAKE2B 5cb1ded0bbc04a147975f3a40ca8e50becbd50e1d325a1f0bdff37bb2030bc15063601650a6bf8db252688e5f80cb950e14ebc14f2c9be37b6415be9074aa258 SHA512 e96e40bf63ddb29ebf8679ddaabbf5dc934173f38cb5ed97c5efe068a742a715daa05e38d9ae322a10fa538c8ec7a271622bfb6569256a471fe5e1c9a83f9e3f +DIST pcg-cpp-0.98.1_p20220408.tar.gz 78224 BLAKE2B a2de1ddd297e0f18be1be69d047e77cd53e0278d80818e8431e8a7fe49d4576d72df256a1210afe87f53e3ee65e920b55cba1a461354a118d9d8d794b387b9c0 SHA512 6d952737f61778f1d5c7f6bba0ebc3164e84fc0b1369186cd9c9aa880ec7ab3ea2a7066012c9094bc697a0093fe24d316bf83bd2842eb9433f4533782bb50a39 diff --git a/dev-cpp/pcg-cpp/files/pcg-cpp-0.98.1-testerror.patch b/dev-cpp/pcg-cpp/files/pcg-cpp-0.98.1-testerror.patch new file mode 100644 index 000000000000..9626735acb1f --- /dev/null +++ b/dev-cpp/pcg-cpp/files/pcg-cpp-0.98.1-testerror.patch @@ -0,0 +1,12 @@ +Fail test if test failed +https://github.com/imneme/pcg-cpp/pull/100 + +--- a/test-high/run-tests.sh ++++ b/test-high/run-tests.sh +@@ -94,5 +94,6 @@ else + echo All tests except tests awkward tests with 128-bit math succceed. + else + echo ERROR: Some tests failed. ++ exit 1 + fi + fi diff --git a/dev-cpp/pcg-cpp/files/pcg-cpp.pc b/dev-cpp/pcg-cpp/files/pcg-cpp.pc deleted file mode 100644 index b289efc01585..000000000000 --- a/dev-cpp/pcg-cpp/files/pcg-cpp.pc +++ /dev/null @@ -1,9 +0,0 @@ -prefix=@PREFIX@ -exec_prefix=${prefix} -includedir=${prefix}/include - -Name: pcg-cpp -Description: Family of better random number generators -URL: https://www.pcg-random.org -Version: 0.98.1 -Cflags: -I${includedir} diff --git a/dev-cpp/pcg-cpp/metadata.xml b/dev-cpp/pcg-cpp/metadata.xml index 11a78916d2c3..c7988496c374 100644 --- a/dev-cpp/pcg-cpp/metadata.xml +++ b/dev-cpp/pcg-cpp/metadata.xml @@ -1,9 +1,17 @@ + + alexey+gentoo@asokolov.org + Alexey Sokolov + + + proxy-maint@gentoo.org + Proxy Maintainers + https://github.com/imneme/pcg-cpp/issues https://www.pcg-random.org/using-pcg-cpp.html - gentoo-guru-overlay + gentoo-staging \ No newline at end of file diff --git a/dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20210406-r1.ebuild b/dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20210406-r1.ebuild deleted file mode 100644 index 39d2d740a3dd..000000000000 --- a/dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20210406-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -COMMIT="ffd522e7188bef30a00c74dc7eb9de5faff90092" - -DESCRIPTION="Family of better random number generators" -HOMEPAGE="https://www.pcg-random.org https://github.com/imneme/pcg-cpp" -SRC_URI="https://github.com/imneme/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="|| ( Apache-2.0 MIT )" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples test" -RESTRICT="!test? ( test )" - -# header-only library -src_compile() { - tc-export CXX - if use test ; then - cd test-high || die - emake - fi -} - -src_test() { - cd test-high || die - sh ./run-tests.sh || die -} - -src_install() { - doheader include/* - - docompress -x /usr/share/doc/${PF}/sample - use examples && dodoc -r sample - einstalldocs - - insinto /usr/$(get_libdir)/pkgconfig - doins "${FILESDIR}"/pcg-cpp.pc - sed -e "s:@PREFIX@:${EPREFIX}/usr:" \ - -i "${ED}"/usr/$(get_libdir)/pkgconfig/pcg-cpp.pc || die -} diff --git a/dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20220408.ebuild b/dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20220408.ebuild new file mode 100644 index 000000000000..efd4fcffe254 --- /dev/null +++ b/dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20220408.ebuild @@ -0,0 +1,41 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +MY_COMMIT="428802d1a5634f96bcd0705fab379ff0113bcf13" + +DESCRIPTION="Family of better random number generators" +HOMEPAGE="https://www.pcg-random.org https://github.com/imneme/pcg-cpp" +SRC_URI="https://github.com/imneme/pcg-cpp/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/pcg-cpp-${MY_COMMIT}" + +LICENSE="|| ( Apache-2.0 MIT )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/pcg-cpp-0.98.1-testerror.patch +) + +# header-only library +src_compile() { + tc-export CXX + if use test ; then + cd test-high || die + emake + fi +} + +src_test() { + cd test-high || die + sh ./run-tests.sh || die +} + +src_install() { + doheader include/* +} -- cgit v1.3.1