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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 07395138334 for ; Tue, 30 Jul 2019 20:51:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4865CE041F; Tue, 30 Jul 2019 20:51:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C429E041F for ; Tue, 30 Jul 2019 20:51:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10182349017 for ; Tue, 30 Jul 2019 20:51:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72FF573C for ; Tue, 30 Jul 2019 20:51:33 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1564519876.2fc3cd384284c6a3240adbf143019b8b95b3e439.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-games/freecell-solver/freecell-solver-5.6.0-r1.ebuild X-VCS-Directories: dev-games/freecell-solver/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 2fc3cd384284c6a3240adbf143019b8b95b3e439 X-VCS-Branch: master Date: Tue, 30 Jul 2019 20:51:33 +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: 2123fbc9-4b8c-46af-97e2-6ea1a2a72f31 X-Archives-Hash: 26f2cc2cd776a517ac4bcda912426526 commit: 2fc3cd384284c6a3240adbf143019b8b95b3e439 Author: Alexey Shvetsov gentoo org> AuthorDate: Tue Jul 30 20:50:51 2019 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Tue Jul 30 20:51:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc3cd38 dev-games/freecell-solver: Works with python3.7 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alexey Shvetsov gentoo.org> .../freecell-solver-5.6.0-r1.ebuild | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/dev-games/freecell-solver/freecell-solver-5.6.0-r1.ebuild b/dev-games/freecell-solver/freecell-solver-5.6.0-r1.ebuild new file mode 100644 index 00000000000..159cc4f198b --- /dev/null +++ b/dev-games/freecell-solver/freecell-solver-5.6.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +inherit cmake-utils 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="" + +RDEPEND="${PYTHON_DEPS} + dev-python/pysol_cards[${PYTHON_USEDEP}] + dev-python/random2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-perl/Path-Tiny + dev-perl/Template-Toolkit +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + sed -i -e "s|share/doc/freecell-solver/|share/doc/${P}|" CMakeLists.txt || die + + python_fix_shebang board_gen + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC_LIBRARY=OFF + -DFCS_BUILD_DOCS=OFF + -DFCS_WITH_TEST_SUITE=OFF #requires unpackaged dependencies + ) + + cmake-utils_src_configure +}