public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/, dev-games/freecell-solver/files/
Date: Tue, 14 Apr 2020 20:21:37 +0000 (UTC)	[thread overview]
Message-ID: <1586895684.a8638d5b667693a4fd07e1e211a007f2b83bc434.asturm@gentoo> (raw)

commit:     a8638d5b667693a4fd07e1e211a007f2b83bc434
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 14 17:57:00 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 14 20:21:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8638d5b

dev-games/freecell-solver: 5.22.1 version bump

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-games/freecell-solver/Manifest                 |  1 +
 .../files/freecell-solver-5.22.1-no-docs.patch     | 36 +++++++++++++++
 .../freecell-solver/freecell-solver-5.22.1.ebuild  | 51 ++++++++++++++++++++++
 3 files changed, 88 insertions(+)

diff --git a/dev-games/freecell-solver/Manifest b/dev-games/freecell-solver/Manifest
index a35284dc497..ee8327587e8 100644
--- a/dev-games/freecell-solver/Manifest
+++ b/dev-games/freecell-solver/Manifest
@@ -1,2 +1,3 @@
 DIST freecell-solver-5.14.0.tar.xz 407912 BLAKE2B c9da3557d9d073e017215cb0e0c64bfabeeb001c6e8373cc7e35aac40b2722f18966bb7ebf041e869c9e5c1fdbf0fc24e652fef688707c3ee69b300d8fdc246c SHA512 21c8898673e402514c6d40ae0045d6e9077b1606430465bfb146507fbe098be6ca4f88d976e2dafadbc8e84b5aeb9325b58ce8a384ea4ed6de4f5fec485d51ea
 DIST freecell-solver-5.22.0.tar.xz 421612 BLAKE2B 0608faf0a7995a3808cf37fde5a40d24b2c7c64a5d18e3fa7b9e211cc8980b967dfb3e2b53e61bb3819395440e5f5c56b6533a86eb8779e905d5c870e2ed6693 SHA512 0d50289f894e907abd3ce68207ddedee84153b18f6aff981b28f6a39909fed474f375fec0adcb8b448f66029127668667d54e1ba68eb3bc64c8a3947bd2398a0
+DIST freecell-solver-5.22.1.tar.xz 421948 BLAKE2B 173a6bb25110695dfaf590f8339f4728e96ad112788efa73ff05ef311effd48b1e037aaa9ed8446cfe3408012f81bb785e6d7a17d249c95108ca38e2473ee0f7 SHA512 8472ce519168481fcbfa0347d1d86859c7344fe34a58bbef694d22653c02f09e70722bf92e052bda5b3f9bce8cee0f745ac45c9e08712b15c34bb40306f510f6

diff --git a/dev-games/freecell-solver/files/freecell-solver-5.22.1-no-docs.patch b/dev-games/freecell-solver/files/freecell-solver-5.22.1-no-docs.patch
new file mode 100644
index 00000000000..96ab62fe30f
--- /dev/null
+++ b/dev-games/freecell-solver/files/freecell-solver-5.22.1-no-docs.patch
@@ -0,0 +1,36 @@
+From dd29e95954712c8de4454e0bdbdd973ddfd917b1 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 14 Apr 2020 19:54:30 +0200
+Subject: [PATCH] We'll install docs manually, thanks
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ fc-solve/source/CMakeLists.txt | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/fc-solve/source/CMakeLists.txt b/fc-solve/source/CMakeLists.txt
+index 0c550764f..59c1defb3 100644
+--- a/fc-solve/source/CMakeLists.txt
++++ b/fc-solve/source/CMakeLists.txt
+@@ -1274,12 +1274,12 @@ IF (WIN32 AND NOT UNIX)
+     LIST(APPEND docs_to_install "README.win32.txt")
+ ENDIF ()
+ 
+-INSTALL(
+-    FILES
+-        ${docs_to_install}
+-    DESTINATION
+-        "${CMAKE_INSTALL_DOCDIR}"
+-)
++# INSTALL(
++#     FILES
++#         ${docs_to_install}
++#     DESTINATION
++#         "${CMAKE_INSTALL_DOCDIR}"
++# )
+ 
+ INCLUDE_DIRECTORIES(AFTER "${CMAKE_CURRENT_SOURCE_DIR}/${patsolve_dir}/include" "${CMAKE_CURRENT_SOURCE_DIR}/${patsolve_dir}")
+ INCLUDE("${private_mod_path}/xxhash_wrapper_bootstrap.cmake")
+-- 
+2.26.0
+

diff --git a/dev-games/freecell-solver/freecell-solver-5.22.1.ebuild b/dev-games/freecell-solver/freecell-solver-5.22.1.ebuild
new file mode 100644
index 00000000000..67975b0abe7
--- /dev/null
+++ b/dev-games/freecell-solver/freecell-solver-5.22.1.ebuild
@@ -0,0 +1,51 @@
+# 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/Path-Tiny
+	dev-perl/Template-Toolkit
+"
+
+DOCS=( README.html )
+
+PATCHES=( "${FILESDIR}/${P}-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
+}


             reply	other threads:[~2020-04-14 20:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-14 20:21 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-14 20:21 [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/, dev-games/freecell-solver/files/ Andreas Sturmlechner
2020-04-12 16:02 Andreas Sturmlechner
2019-11-20 15:38 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1586895684.a8638d5b667693a4fd07e1e211a007f2b83bc434.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox