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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 706D115813A for ; Fri, 10 Jan 2025 11:06:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D3D8E077D; Fri, 10 Jan 2025 11:06:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 9965EE077D for ; Fri, 10 Jan 2025 11:06:10 +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 0568933EDD8 for ; Fri, 10 Jan 2025 11:06:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5DC521D63 for ; Fri, 10 Jan 2025 11:06:07 +0000 (UTC) From: "Nicola Smaniotto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicola Smaniotto" Message-ID: <1736506843.cb3adcc48f790a8ed950b3a56ea2f6a8252e7555.smaniotto.nicola@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-rpg/open-adventure/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-rpg/open-adventure/Manifest games-rpg/open-adventure/open-adventure-1.16.ebuild games-rpg/open-adventure/open-adventure-1.20.ebuild X-VCS-Directories: games-rpg/open-adventure/ X-VCS-Committer: smaniotto.nicola X-VCS-Committer-Name: Nicola Smaniotto X-VCS-Revision: cb3adcc48f790a8ed950b3a56ea2f6a8252e7555 X-VCS-Branch: dev Date: Fri, 10 Jan 2025 11:06:07 +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: 90d989b8-4851-4876-89c2-eb3447a35132 X-Archives-Hash: 19067b0ad48aa8bee21da04f48a88e69 commit: cb3adcc48f790a8ed950b3a56ea2f6a8252e7555 Author: Nicola Smaniotto gmail com> AuthorDate: Fri Jan 10 11:00:43 2025 +0000 Commit: Nicola Smaniotto gmail com> CommitDate: Fri Jan 10 11:00:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb3adcc4 games-rpg/open-adventure: add 1.20, drop 1.16 Signed-off-by: Nicola Smaniotto gmail.com> games-rpg/open-adventure/Manifest | 2 +- ...ture-1.16.ebuild => open-adventure-1.20.ebuild} | 24 +++++++++++++--------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/games-rpg/open-adventure/Manifest b/games-rpg/open-adventure/Manifest index d822011f3..0f34f8b68 100644 --- a/games-rpg/open-adventure/Manifest +++ b/games-rpg/open-adventure/Manifest @@ -1,3 +1,3 @@ -DIST open-adventure-1.16.tar.bz2 211155 BLAKE2B 2c54bf8b30fefb5b52cd69d5c315e0c628ee51d514f545d2830ca809c40f3824e20eb5c06ad94b6fbf3aaeb9c9c2bad72b9217dfbabc33ec8cd469690ddab125 SHA512 4b58937a20200a081bc44464f5132ea33a010756831f95d5be75916f01b70bc54bd9f5606823fee5fbe2de1dd2e558325f516f050bc40e48cd8d840e65c17e07 DIST open-adventure-1.17.tar.bz2 212254 BLAKE2B 0d19acae39bb58b3cb7ca240552c8f796be73ea4dde44ed60429f3e8cf51ebecbdf71d6ffca08f00ad35f8eb78f1d7f9cb50a336c73e874f8bde81c1cb88acb4 SHA512 bfd4a8f3720aaa98ffcd3d302df79d0f9b4d183797f1067f198c2deb1e11465ec40e2164aa92705de436ba767954e2c18f1d38fdba0e8ece19868fa7ec64af85 DIST open-adventure-1.18.tar.bz2 212752 BLAKE2B c186c2317381ba8e0a2efd40de02ad78e6273c4f28ee67c59075a4ab318e0ad850924d46a64e635979ad80a684970646a181c1fdec2f78e48fead4a4376b48a7 SHA512 8118a1d630dab75268e2503ccf8d64a35d2134795e852c48e5082a66e2af9c94692ba30ea409e6b2bfcf5bd24109b2ab7e9111a044591b1e9a87f59b2bbeeceb +DIST open-adventure-1.20.tar.bz2 213039 BLAKE2B 3bfbc07a4463e58417398cddd2db7d955e538f79b75b745a26037cc65ab4a3184fab6b9dfcddd01f1a0544747feab47bf093e917b4b67501cc320bb21e8d5db9 SHA512 26212cd0e332d617dfc6bc79ec0090d369c8d9b36c925cc72a638c2822ee5c04a813413111f6d4eab417fd6f9ff5bbd09c1bf2981737457a71cfebd48d7dcb02 diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.20.ebuild similarity index 82% rename from games-rpg/open-adventure/open-adventure-1.16.ebuild rename to games-rpg/open-adventure/open-adventure-1.20.ebuild index 144ca6192..e4f10f550 100644 --- a/games-rpg/open-adventure/open-adventure-1.16.ebuild +++ b/games-rpg/open-adventure/open-adventure-1.20.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ SRC_URI="https://gitlab.com/esr/${PN}/-/archive/${PV}/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" -IUSE="autosave nosave test" +IUSE="autosave +doc nosave test" # autosave and nosave are mutually exclusive # tests require that they are both disabled REQUIRED_USE=" @@ -26,6 +26,7 @@ DEPEND="dev-libs/libedit" RDEPEND="${DEPEND}" BDEPEND=" $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' ) + doc? ( dev-ruby/asciidoctor ) " DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc ) @@ -40,10 +41,6 @@ src_prepare() { -i Makefile || die "Makefile patching failed" eapply_user - - # Add missing semicolon - sed -e 's/rspeak(SAVERESUME_DISABLED)/rspeak(SAVERESUME_DISABLED);/' \ - -i saveresume.c || die "Typo fix failed" } src_compile() { @@ -54,12 +51,16 @@ src_compile() { append-cflags "-DADVENT_NOSAVE" fi - emake advent advent.6 + emake advent + + use doc && emake advent.6 } src_install() { - einstalldocs - doman advent.6 + if use doc; then + einstalldocs + doman advent.6 + fi dobin advent @@ -68,6 +69,9 @@ src_install() { } src_test() { + emake cheat + pushd tests || die # parallel tests often fail - emake -j1 check + emake -j1 + popd || die }