mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
dev-games/freecell-solver: Drop 6.2.0-r1
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -210,7 +210,7 @@
|
||||
# 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}"
|
||||
@@ -219,7 +219,7 @@
|
||||
|
||||
# Clone the rinutils repository with the appropriate tag.
|
||||
SET (rinutils_dir "rinutils")
|
||||
-IF (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${rinutils_dir}")
|
||||
+IF (0)
|
||||
EXECUTE_PROCESS(
|
||||
COMMAND "git" "clone" "-b" "0.6.0" "https://github.com/shlomif/rinutils.git" "${rinutils_dir}"
|
||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
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
|
||||
rm -r rinutils || die
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user