From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gnubg/
Date: Wed, 17 Nov 2021 18:03:30 +0000 (UTC) [thread overview]
Message-ID: <1637171948.ec9ea95f5f57c7e6fb78e24de1dd7e6e9d3fb722.ionen@gentoo> (raw)
commit: ec9ea95f5f57c7e6fb78e24de1dd7e6e9d3fb722
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 15 13:25:41 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Nov 17 17:59:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec9ea95f
games-board/gnubg: enable py3.10
Technically eautoreconf could be behind `use python` (and
autoconf-archive is guaranteed if python is installed), but
do not want to introduce use-conditional autoconf variance
(eautoreconf may also be useful for other reasons in the future).
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-board/gnubg/gnubg-1.06.002-r1.ebuild | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/games-board/gnubg/gnubg-1.06.002-r1.ebuild b/games-board/gnubg/gnubg-1.06.002-r1.ebuild
index 67a589a1255d..a901f3ff8248 100644
--- a/games-board/gnubg/gnubg-1.06.002-r1.ebuild
+++ b/games-board/gnubg/gnubg-1.06.002-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit desktop python-single-r1 xdg
+PYTHON_COMPAT=( python3_{8..10} )
+inherit autotools desktop python-single-r1 xdg
DESCRIPTION="GNU BackGammon"
HOMEPAGE="https://www.gnu.org/software/gnubg/"
@@ -33,6 +33,7 @@ RDEPEND="
virtual/libintl"
DEPEND="${RDEPEND}"
BDEPEND="
+ sys-devel/autoconf-archive
sys-devel/gettext
virtual/pkgconfig"
@@ -45,7 +46,7 @@ src_prepare() {
# use ${T} instead of /tmp for constructing credits (bug #298275)
sed -i -e 's:/tmp:${T}:' credits.sh || die
- sed -i -e 's/fonts //' Makefile.in || die # handle font install ourself to fix bug #335774
+ sed -i -e 's/fonts //' Makefile.am || die # handle font install ourself to fix bug #335774
sed -i \
-e '/^localedir / s#=.*$#= @localedir@#' \
-e '/^gnulocaledir / s#=.*$#= @localedir@#' \
@@ -53,10 +54,15 @@ src_prepare() {
sed -i \
-e '/^gnubgiconsdir / s#=.*#= /usr/share#' \
-e '/^gnubgpixmapsdir / s#=.*#= /usr/share/pixmaps#' \
- pixmaps/Makefile.in || die
+ pixmaps/Makefile.am || die
sed -i \
-e '1i#include <config.h>' \
copying.c || die #551896
+
+ # use system's copy so py3.10 distutils warning doesn't trigger a fatal error
+ rm m4/ax_python_devel.m4 || die
+
+ eautoreconf
}
src_configure() {
next reply other threads:[~2021-11-17 18:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 18:03 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-28 7:29 [gentoo-commits] repo/gentoo:master commit in: games-board/gnubg/ Bernard Cafarelli
2024-09-20 17:42 Andreas Sturmlechner
2024-05-02 7:03 Bernard Cafarelli
2024-02-06 19:48 Bernard Cafarelli
2023-03-09 20:13 Ionen Wolkens
2023-02-25 10:30 Bernard Cafarelli
2022-10-08 0:13 Ionen Wolkens
2022-10-08 0:13 Ionen Wolkens
2022-04-09 2:35 Sam James
2021-12-04 13:47 Ionen Wolkens
2021-12-02 5:13 Ionen Wolkens
2021-11-17 18:03 Ionen Wolkens
2020-12-03 8:36 Bernard Cafarelli
2020-01-25 20:42 David Seifert
2020-01-25 20:42 David Seifert
2019-12-05 18:36 Bernard Cafarelli
2016-09-07 22:16 Austin English
2015-10-07 14:52 Mike Frysinger
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=1637171948.ec9ea95f5f57c7e6fb78e24de1dd7e6e9d3fb722.ionen@gentoo \
--to=ionen@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