commit:     bc750f1cd1cb1b7a732f027bd47b0039adf80ba4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 21 15:21:03 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 21 19:37:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc750f1c

dev-build/parmasan-remake: new package, add 4.3_p20240220

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-build/parmasan-remake/Manifest                 |  1 +
 dev-build/parmasan-remake/metadata.xml             | 11 ++++
 .../parmasan-remake-4.3_p20240220.ebuild           | 65 ++++++++++++++++++++++
 3 files changed, 77 insertions(+)

diff --git a/dev-build/parmasan-remake/Manifest 
b/dev-build/parmasan-remake/Manifest
new file mode 100644
index 000000000000..675831b6e44e
--- /dev/null
+++ b/dev-build/parmasan-remake/Manifest
@@ -0,0 +1 @@
+DIST parmasan-remake-4.3_p20240220.gh.tar.gz 1587763 BLAKE2B 
901f0ca125b4f4dbfa71a175dfc42a0d4d239530563e3cbf971c7156aa51382f0e0ca5e5117c18b082f142842be16fce70b24a889c5f5ecf28e7541c06a467b9
 SHA512 
50deea4d526abb3de20009a54593f71995caa16e270a6b6343a965d91f285be6b6ba1a7f8ebea0c856fcee8785747a5ee7a9e4a166fe64bc99bec989a187f095

diff --git a/dev-build/parmasan-remake/metadata.xml 
b/dev-build/parmasan-remake/metadata.xml
new file mode 100644
index 000000000000..a39c8f8b5258
--- /dev/null
+++ b/dev-build/parmasan-remake/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Sam James</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">ispras/parmasan-remake</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-build/parmasan-remake/parmasan-remake-4.3_p20240220.ebuild 
b/dev-build/parmasan-remake/parmasan-remake-4.3_p20240220.ebuild
new file mode 100644
index 000000000000..0c8a73122f11
--- /dev/null
+++ b/dev-build/parmasan-remake/parmasan-remake-4.3_p20240220.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+REMAKE_COMMIT="ff799578de24cf4be6ec230702ff5f978432ca51"
+DESCRIPTION="Patched dev-build/remake for dev-build/parmasan, a parallel make 
sanitizer"
+HOMEPAGE="https://github.com/ispras/parmasan-remake";
+SRC_URI="https://github.com/ispras/parmasan-remake/archive/${REMAKE_COMMIT}.tar.gz
 -> ${P}.gh.tar.gz"
+S="${WORKDIR}"/${PN}-${REMAKE_COMMIT}
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="readline"
+
+# Test failures caused by '--parmasan-strategy' appearing which is the point
+# of the project. The tests could possibly be adapted but aren't right now.
+RESTRICT="test"
+
+RDEPEND="
+       readline? ( sys-libs/readline:= )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+
+       eautoreconf
+}
+
+src_configure() {
+       # Fixed in upstream gnulib but not yet propagated into make (bug 
#938934)
+       append-cflags -std=gnu17
+       # Fixed in upstream make/gnulib, just not yet propagated into remake 
(bug #863827)
+       filter-lto
+
+       use readline || export vl_cv_lib_readline=no
+
+       local myeconfargs=(
+               --without-guile
+               --disable-nls
+
+               --with-make-name=${PN}
+               # parmasan doesn't support it, turn it off
+               # https://github.com/ispras/parmasan?tab=readme-ov-file#building
+               --disable-posix-spawn
+
+               # Fails to install w/ 'make.texi:5: @include: could not find 
version.texi'
+               MAKEINFO=:
+       )
+
+       econf "${myeconfargs[@]}"
+
+}
+
+src_install() {
+       default
+
+       # Avoid collision with dev-build/remake, not that parmasan seems
+       # to need this file anyway.
+       mv "${ED}"/usr/include/gnuremake.h 
"${ED}"/usr/include/gnuparmasan-remake.h || die
+}

Reply via email to