mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-03 11:58:07 -07:00
dev-games/freecell-solver: 6.0.1 version bump
Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST freecell-solver-5.24.0.tar.xz 422468 BLAKE2B 3fc98a6ba5116bbbdc79c8c09c820b3992fd666c14736fca98b2191c752b5c5a465dcf4ad3fc79ac944d2189647097aad70f99b140e6feff133bae26d4d52411 SHA512 264a7e016a5dbd093f126aab520b36c98c02111a3834ba09646ba527046973163aeefe41449e05d161d1790d2f599c6a3302402442b96b9bd524e97fc4f54b91
|
||||
DIST freecell-solver-6.0.1.tar.xz 421700 BLAKE2B 1effa1c16c90ca09078728eb698b48c30c3489e2c05ef8163dfba825bc44422ec3897a89d4094bedef42e796d3ebfdfe5b65d2783965458d0c11218eb56cc197 SHA512 4e8a810a6385cb448432a54a0791ed948bacd0e4b8d02dfa1a5aed4544846384c6921ca6322496387daba825930d6f9d9fa01bdc1e3e31094fc9e6d3b0ae78e5
|
||||
|
||||
52
dev-games/freecell-solver/freecell-solver-6.0.1.ebuild
Normal file
52
dev-games/freecell-solver/freecell-solver-6.0.1.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
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 ~x86"
|
||||
IUSE="tcmalloc"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pysol_cards[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/random2[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/six[${PYTHON_MULTI_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" )
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang board_gen
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
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