public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/, dev-games/freecell-solver/files/
@ 2019-11-20 15:38 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2019-11-20 15:38 UTC (permalink / raw
  To: gentoo-commits

commit:     ebf8704fdf168aaf60df61a7c61c5d07ef7e4ec0
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 20 15:31:06 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 15:37:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebf8704f

dev-games/freecell-solver: 5.14.0 version bump

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

 dev-games/freecell-solver/Manifest                 |  1 +
 .../files/freecell-solver-5.14.0-cmake.patch       | 19 ++++++++
 .../freecell-solver/freecell-solver-5.14.0.ebuild  | 52 ++++++++++++++++++++++
 3 files changed, 72 insertions(+)

diff --git a/dev-games/freecell-solver/Manifest b/dev-games/freecell-solver/Manifest
index 54f88502b41..25f991c28cc 100644
--- a/dev-games/freecell-solver/Manifest
+++ b/dev-games/freecell-solver/Manifest
@@ -1 +1,2 @@
+DIST freecell-solver-5.14.0.tar.xz 407912 BLAKE2B c9da3557d9d073e017215cb0e0c64bfabeeb001c6e8373cc7e35aac40b2722f18966bb7ebf041e869c9e5c1fdbf0fc24e652fef688707c3ee69b300d8fdc246c SHA512 21c8898673e402514c6d40ae0045d6e9077b1606430465bfb146507fbe098be6ca4f88d976e2dafadbc8e84b5aeb9325b58ce8a384ea4ed6de4f5fec485d51ea
 DIST freecell-solver-5.6.0.tar.xz 392468 BLAKE2B 9b8a22eca95da8675a252bec947dc5edad35a492ce9b04db5bf956e9a8c7051a9ca38902f9704e1f789fe28ce3326515690b2070cbb0318d299fdb8446ec9d1a SHA512 aac86e9bfb5849ffd99c669d8cfdd79272bc2f2a9a7f085e22f775b26fa45fc404efbb7520d23469e96c54c3596e776c8f459e679127de9ec0bc065c82bff246

diff --git a/dev-games/freecell-solver/files/freecell-solver-5.14.0-cmake.patch b/dev-games/freecell-solver/files/freecell-solver-5.14.0-cmake.patch
new file mode 100644
index 00000000000..3eef5366683
--- /dev/null
+++ b/dev-games/freecell-solver/files/freecell-solver-5.14.0-cmake.patch
@@ -0,0 +1,19 @@
+Package wants to install all kinds of doc files. It does not help us.
+
+--- a/CMakeLists.txt	2019-09-12 23:04:19.628187073 +0200
++++ b/CMakeLists.txt	2019-09-12 23:06:38.928231282 +0200
+@@ -858,14 +858,6 @@
+     INSTALL_MAN ("${fc_solve_manpage}" 6)
+ ENDIF ()
+ 
+-INSTALL(
+-    FILES
+-        ${docs_to_install}
+-        "README.win32.txt"
+-    DESTINATION
+-        "share/doc/freecell-solver-5.14.0"
+-)
+-
+ SET (dest "include/freecell-solver")
+ INSTALL(
+     FILES

diff --git a/dev-games/freecell-solver/freecell-solver-5.14.0.ebuild b/dev-games/freecell-solver/freecell-solver-5.14.0.ebuild
new file mode 100644
index 00000000000..681a115f035
--- /dev/null
+++ b/dev-games/freecell-solver/freecell-solver-5.14.0.ebuild
@@ -0,0 +1,52 @@
+# 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="tcmalloc"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	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/Path-Tiny
+	dev-perl/Template-Toolkit
+"
+
+DOCS=( README.html )
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+
+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
+		-DFCS_AVOID_TCMALLOC=$(usex !tcmalloc)
+	)
+
+	cmake-utils_src_configure
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/, dev-games/freecell-solver/files/
@ 2020-04-12 16:02 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2020-04-12 16:02 UTC (permalink / raw
  To: gentoo-commits

commit:     d90fb688bb11b6ae66db6db4cc794b9195e796fd
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 12 16:01:42 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 12 16:02:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d90fb688

dev-games/freecell-solver: Drop 5.20.1 and upstreamed patches

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.20.1-cmake.patch       | 19 --------
 .../files/freecell-solver-5.20.1-pkgconfig.patch   | 25 ----------
 .../freecell-solver/freecell-solver-5.20.1.ebuild  | 57 ----------------------
 4 files changed, 102 deletions(-)

diff --git a/dev-games/freecell-solver/Manifest b/dev-games/freecell-solver/Manifest
index 1605c68002f..a35284dc497 100644
--- a/dev-games/freecell-solver/Manifest
+++ b/dev-games/freecell-solver/Manifest
@@ -1,3 +1,2 @@
 DIST freecell-solver-5.14.0.tar.xz 407912 BLAKE2B c9da3557d9d073e017215cb0e0c64bfabeeb001c6e8373cc7e35aac40b2722f18966bb7ebf041e869c9e5c1fdbf0fc24e652fef688707c3ee69b300d8fdc246c SHA512 21c8898673e402514c6d40ae0045d6e9077b1606430465bfb146507fbe098be6ca4f88d976e2dafadbc8e84b5aeb9325b58ce8a384ea4ed6de4f5fec485d51ea
-DIST freecell-solver-5.20.1.tar.xz 420748 BLAKE2B 5322567ba4246f11deb74d298f069cfa0f093f7d15dda2132c97d04546fac47f979d3e3b69ee2ee0bdef92b3ff10aba27efda5782dc9ffdd9c7eb91ad7c419cd SHA512 439c55713f5fdb98fa90b203fb5a0d135e7f3aa249ee59e659ed371f7d4de03cc16945b3170f3c1fc4e2afe3733866a6db80945868e129589a4fdde00df51335
 DIST freecell-solver-5.22.0.tar.xz 421612 BLAKE2B 0608faf0a7995a3808cf37fde5a40d24b2c7c64a5d18e3fa7b9e211cc8980b967dfb3e2b53e61bb3819395440e5f5c56b6533a86eb8779e905d5c870e2ed6693 SHA512 0d50289f894e907abd3ce68207ddedee84153b18f6aff981b28f6a39909fed474f375fec0adcb8b448f66029127668667d54e1ba68eb3bc64c8a3947bd2398a0

diff --git a/dev-games/freecell-solver/files/freecell-solver-5.20.1-cmake.patch b/dev-games/freecell-solver/files/freecell-solver-5.20.1-cmake.patch
deleted file mode 100644
index ad90727b60f..00000000000
--- a/dev-games/freecell-solver/files/freecell-solver-5.20.1-cmake.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Package wants to install all kinds of doc files. It does not help us.
-
---- a/CMakeLists.txt	2019-09-12 23:04:19.628187073 +0200
-+++ b/CMakeLists.txt	2019-09-12 23:06:38.928231282 +0200
-@@ -858,14 +858,6 @@
-     INSTALL_MAN ("${fc_solve_manpage}" 6)
- ENDIF ()
- 
--INSTALL(
--    FILES
--        ${docs_to_install}
--        "README.win32.txt"
--    DESTINATION
--        "share/doc/freecell-solver-5.20.1"
--)
--
- SET (dest "include/freecell-solver")
- INSTALL(
-     FILES

diff --git a/dev-games/freecell-solver/files/freecell-solver-5.20.1-pkgconfig.patch b/dev-games/freecell-solver/files/freecell-solver-5.20.1-pkgconfig.patch
deleted file mode 100644
index 967cd1139e9..00000000000
--- a/dev-games/freecell-solver/files/freecell-solver-5.20.1-pkgconfig.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From f5801e70d0ade110e23595d00c62221f6dcd8845 Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Thu, 26 Mar 2020 13:28:29 +0100
-Subject: [PATCH] Fix pkgconfig libdir path
-
-Needs to respect LIB_SUFFIX to work.
----
- libfreecell-solver.pc.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libfreecell-solver.pc.in b/libfreecell-solver.pc.in
-index 2eb1fe68f..4fc3c7fbb 100644
---- a/libfreecell-solver.pc.in
-+++ b/libfreecell-solver.pc.in
-@@ -1,6 +1,6 @@
- prefix="@CMAKE_INSTALL_PREFIX@"
- exec_prefix=${prefix}
--libdir=${exec_prefix}/lib
-+libdir=${exec_prefix}/lib@LIB_SUFFIX@
- includedir=${prefix}/include
- 
- Name:  Freecell Solver
--- 
-2.26.0
-

diff --git a/dev-games/freecell-solver/freecell-solver-5.20.1.ebuild b/dev-games/freecell-solver/freecell-solver-5.20.1.ebuild
deleted file mode 100644
index f038e398acc..00000000000
--- a/dev-games/freecell-solver/freecell-solver-5.20.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# 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}-cmake.patch"
-	"${FILESDIR}/${P}-pkgconfig.patch"
-)
-
-src_prepare() {
-	sed -i -e "s|share/doc/freecell-solver/|share/doc/${P}|" CMakeLists.txt || die
-
-	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
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/, dev-games/freecell-solver/files/
@ 2020-04-14 20:21 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2020-04-14 20:21 UTC (permalink / raw
  To: gentoo-commits

commit:     cff55883ca1af2c6b37751696513e205aded5d5a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 14 17:57:39 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=cff55883

dev-games/freecell-solver: Drop 5.22.0

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.0-docs.patch        | 31 -------------
 .../freecell-solver/freecell-solver-5.22.0.ebuild  | 51 ----------------------
 3 files changed, 83 deletions(-)

diff --git a/dev-games/freecell-solver/Manifest b/dev-games/freecell-solver/Manifest
index ee8327587e8..4cf4cd90626 100644
--- a/dev-games/freecell-solver/Manifest
+++ b/dev-games/freecell-solver/Manifest
@@ -1,3 +1,2 @@
 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.0-docs.patch b/dev-games/freecell-solver/files/freecell-solver-5.22.0-docs.patch
deleted file mode 100644
index c2cdb97bfcb..00000000000
--- a/dev-games/freecell-solver/files/freecell-solver-5.22.0-docs.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 672147174c4c0198b04039db83fe3a0f9f6f181b Mon Sep 17 00:00:00 2001
-From: Andreas Sturmlechner <asturm@gentoo.org>
-Date: Sun, 12 Apr 2020 17:27:52 +0200
-Subject: [PATCH] Don't unconditionally install README.win32.txt
-
----
- fc-solve/source/CMakeLists.txt | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index cefe77ad1..4e2ad4789 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -902,10 +902,13 @@ IF (UNIX AND FCS_BUILD_DOCS)
-     INSTALL_MAN ("${fc_solve_manpage}" 6)
- ENDIF ()
- 
-+IF(WIN32)
-+    SET (docs_to_install ${docs_to_install} README.win32.txt)
-+ENDIF ()
-+
- INSTALL(
-     FILES
-         ${docs_to_install}
--        "README.win32.txt"
-     DESTINATION
-         "${CMAKE_INSTALL_DOCDIR}"
- )
--- 
-2.26.0
-

diff --git a/dev-games/freecell-solver/freecell-solver-5.22.0.ebuild b/dev-games/freecell-solver/freecell-solver-5.22.0.ebuild
deleted file mode 100644
index 057b5b96e09..00000000000
--- a/dev-games/freecell-solver/freecell-solver-5.22.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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}-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
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/, dev-games/freecell-solver/files/
@ 2020-04-14 20:21 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2020-04-14 20:21 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-14 20:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-14 20:21 [gentoo-commits] repo/gentoo:master commit in: dev-games/freecell-solver/, dev-games/freecell-solver/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2020-04-14 20:21 Andreas Sturmlechner
2020-04-12 16:02 Andreas Sturmlechner
2019-11-20 15:38 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox