summaryrefslogtreecommitdiff
path: root/dev-cpp/pcg-cpp
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-09-05 08:13:23 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-09-05 08:13:23 +0000
commit3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2 (patch)
treecb83708f1390fccc0f8521b61b63a2d9ea7bd752 /dev-cpp/pcg-cpp
parent5ce2273fa2607278dbc7825cd7f518b2f2c8561a (diff)
downloadbaldeagleos-repo-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.tar.gz
baldeagleos-repo-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.tar.xz
baldeagleos-repo-3ceeeb71476e4e7c29c37bbd1a2b3a97e34761e2.zip
Adding metadata
Diffstat (limited to 'dev-cpp/pcg-cpp')
-rw-r--r--dev-cpp/pcg-cpp/Manifest2
-rw-r--r--dev-cpp/pcg-cpp/files/pcg-cpp-0.98.1-testerror.patch12
-rw-r--r--dev-cpp/pcg-cpp/files/pcg-cpp.pc9
-rw-r--r--dev-cpp/pcg-cpp/metadata.xml10
-rw-r--r--dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20220408.ebuild (renamed from dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20210406-r1.ebuild)23
5 files changed, 31 insertions, 25 deletions
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 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>alexey+gentoo@asokolov.org</email>
+ <name>Alexey Sokolov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<bugs-to>https://github.com/imneme/pcg-cpp/issues</bugs-to>
<doc>https://www.pcg-random.org/using-pcg-cpp.html</doc>
</upstream>
- <origin>gentoo-guru-overlay</origin>
+ <origin>gentoo-staging</origin>
</pkgmetadata> \ 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_p20220408.ebuild
index 39d2d740a3dd..efd4fcffe254 100644
--- a/dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20210406-r1.ebuild
+++ b/dev-cpp/pcg-cpp/pcg-cpp-0.98.1_p20220408.ebuild
@@ -1,23 +1,27 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
-COMMIT="ffd522e7188bef30a00c74dc7eb9de5faff90092"
+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/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
+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="examples test"
+IUSE="test"
RESTRICT="!test? ( test )"
+PATCHES=(
+ "${FILESDIR}"/pcg-cpp-0.98.1-testerror.patch
+)
+
# header-only library
src_compile() {
tc-export CXX
@@ -34,13 +38,4 @@ src_test() {
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
}