From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1343792-garchives=archives.gentoo.org@lists.gentoo.org> 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C9DD158086 for <garchives@archives.gentoo.org>; Sat, 27 Nov 2021 11:08:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14A62E0536; Sat, 27 Nov 2021 11:08:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 1AD43E041F for <gentoo-commits@lists.gentoo.org>; Sat, 27 Nov 2021 11:08:08 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C78E734301B for <gentoo-commits@lists.gentoo.org>; Sat, 27 Nov 2021 11:08:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7B041EF for <gentoo-commits@lists.gentoo.org>; Sat, 27 Nov 2021 11:08:03 +0000 (UTC) From: "Andreas Sturmlechner" <asturm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org> Message-ID: <1638011272.e04c9064b89db0019cb71830d6e7a3ee9e6c53ab.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/files/, dev-games/freecell-solver/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/freecell-solver/Manifest dev-games/freecell-solver/files/freecell-solver-6.6.0-no-git-clone-kthxbye.patch dev-games/freecell-solver/freecell-solver-6.6.0.ebuild X-VCS-Directories: dev-games/freecell-solver/files/ dev-games/freecell-solver/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e04c9064b89db0019cb71830d6e7a3ee9e6c53ab X-VCS-Branch: master Date: Sat, 27 Nov 2021 11:08:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f78a0219-52f2-4917-a4c1-529473ff4baa X-Archives-Hash: a4b194794ff53abe047c8d2379b3a566 commit: e04c9064b89db0019cb71830d6e7a3ee9e6c53ab Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Nov 27 10:40:35 2021 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Nov 27 11:07:52 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04c9064 dev-games/freecell-solver: 6.6.0 version bump Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-games/freecell-solver/Manifest | 1 + ...reecell-solver-6.6.0-no-git-clone-kthxbye.patch | 39 +++++++++++++++ .../freecell-solver/freecell-solver-6.6.0.ebuild | 56 ++++++++++++++++++++++ 3 files changed, 96 insertions(+) diff --git a/dev-games/freecell-solver/Manifest b/dev-games/freecell-solver/Manifest index 154ed9481369..9a0b457b2422 100644 --- a/dev-games/freecell-solver/Manifest +++ b/dev-games/freecell-solver/Manifest @@ -1 +1,2 @@ DIST freecell-solver-6.2.0.tar.xz 426616 BLAKE2B f48d1b67c56a42f42e00e765a911944ae7d2eb97db81a8ebb58baa1603bd274c9ceb460bdf5c232c4f2b3f54d33acc0057e25c8c0bce897bb862eedc16613f05 SHA512 090f6b93c3f354b5c6bcb1ea67d9313639d23e81998cdc15316246a1cdac26450cf8fd04172bfd5539d875edf407dcdf7ce2c872221b7261f89dbbe309c27560 +DIST freecell-solver-6.6.0.tar.xz 432564 BLAKE2B 8bd4acc29eb2b934ae8666dd2877a428ed7b7f7f9eec87c8c7e395cd364dde91caac98895fa1abe61eeb7fd2ea84c4abf9924fc136879d53f9dd43ec5221b55a SHA512 55844426ca7e8c01916b94aca13ef579923b28ef88376bade6899a2b791a4a8198160a05169915fb484a12363c8c1b2f1bfaa7bd18afbc46c9ba86058cbba2bb diff --git a/dev-games/freecell-solver/files/freecell-solver-6.6.0-no-git-clone-kthxbye.patch b/dev-games/freecell-solver/files/freecell-solver-6.6.0-no-git-clone-kthxbye.patch new file mode 100644 index 000000000000..db2cc0bfb915 --- /dev/null +++ b/dev-games/freecell-solver/files/freecell-solver-6.6.0-no-git-clone-kthxbye.patch @@ -0,0 +1,39 @@ +From edbcda19be3720b164e9961226bfa74271f2b9b5 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Sat, 27 Nov 2021 11:35:28 +0100 +Subject: [PATCH] Make sure to disable futile external repo fetching + +--- + CMakeLists.txt | 2 +- + cmake/rinutils_bootstrap.cmake | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c991dcb47..b0c13d4ff 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -210,7 +210,7 @@ ENDIF () + # Clone the patsolve repository with the appropriate branch. + SET (pats_dir "patsolve") + +-IF (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${pats_dir}") ++IF (0) + EXECUTE_PROCESS( + COMMAND "git" "clone" "https://github.com/shlomif/patsolve.git" "${pats_dir}" + WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}" +diff --git a/cmake/rinutils_bootstrap.cmake b/cmake/rinutils_bootstrap.cmake +index 3879bce85..cf2ea168d 100644 +--- a/cmake/rinutils_bootstrap.cmake ++++ b/cmake/rinutils_bootstrap.cmake +@@ -5,7 +5,7 @@ MACRO(RINUTILS_SET_UP_FLAGS) + SET (rinutils_inc_dir "${rinutils_dir_absolute}/rinutils/include") + SET (rinutils_git_tag "0.6.0") + +- find_package(Rinutils QUIET) ++ find_package(Rinutils REQUIRED) + IF ("${Rinutils_FOUND}") + INCLUDE_DIRECTORIES(AFTER ${RINUTILS_INCLUDE_DIR} ${RINUTILS_INCLUDE_DIRS}) + ELSE () +-- +2.34.1 + diff --git a/dev-games/freecell-solver/freecell-solver-6.6.0.ebuild b/dev-games/freecell-solver/freecell-solver-6.6.0.ebuild new file mode 100644 index 000000000000..29ec00776400 --- /dev/null +++ b/dev-games/freecell-solver/freecell-solver-6.6.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit cmake python-single-r1 + +DESCRIPTION="C library for automatically solving Freecell and some other solitaire variants" +HOMEPAGE="https://fc-solve.shlomifish.org/" +SRC_URI="https://fc-solve.shlomifish.org/downloads/fc-solve/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="tcmalloc" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/rinutils + $(python_gen_cond_dep ' + dev-python/pysol_cards[${PYTHON_USEDEP}] + dev-python/random2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ') + tcmalloc? ( dev-util/google-perftools ) +" +DEPEND="${RDEPEND} + dev-perl/Moo + dev-perl/Path-Tiny + dev-perl/Template-Toolkit +" + +DOCS=( README.html ) + +PATCHES=( + "${FILESDIR}/${PN}-5.22.1-no-docs.patch" + "${FILESDIR}/${P}-no-git-clone-kthxbye.patch" +) + +src_prepare() { + cmake_src_prepare + python_fix_shebang board_gen +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC_LIBRARY=OFF + -DFCS_BUILD_DOCS=OFF + -DFCS_WITH_TEST_SUITE=OFF # requires unpackaged dependencies + -DFCS_AVOID_TCMALLOC=$(usex !tcmalloc) + ) + + cmake_src_configure +}