commit:     3aeac6c7b3c0f2e95e7bf6865da7271f3ec3fd36
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 19 05:29:42 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Sep 19 05:46:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aeac6c7

games-board/pysolfc: add 3.4.1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-board/pysolfc/Manifest             |  1 +
 games-board/pysolfc/pysolfc-3.4.1.ebuild | 61 ++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/games-board/pysolfc/Manifest b/games-board/pysolfc/Manifest
index a59d45be0505..5949de2e516e 100644
--- a/games-board/pysolfc/Manifest
+++ b/games-board/pysolfc/Manifest
@@ -1,3 +1,4 @@
 DIST PySolFC-3.4.0.tar.xz 32914516 BLAKE2B 
0994642fad2100658c922e3d1f79dff4d5c499aa3cb19d9d4e132f98b6f25153c1a07ea51dcddc1ee28e36e1585b5539370e3f85067a74438db5af77003d2ce0
 SHA512 
208e301cd8f8467e5078aace219a729097a851f09cd47d12ee9723e5b2127e951dfe779704ad0dedacd94c2a9a18553fcc06de8fa426d27a6794eb0d15ff128f
+DIST PySolFC-3.4.1.tar.xz 32915536 BLAKE2B 
12450a819a5364e85bb823cec9eabe702bcae2b53e7dc75dd369a0105cc3c4ae75c50dc3cbab6a5527b15b80a0ccb217660f228b71058e3eb2a6482b62fcb48e
 SHA512 
5371f50c2f46e48bb0a51ddada262e145a035955f45f2cc5777a1df79aae2c718f4d8a9ba65619158ddad8c6409dbfc03e3b036233af66f4687fa3c83fda8763
 DIST PySolFC-Cardsets--Minimal-3.1.0.tar.xz 25083116 BLAKE2B 
0c8d91c382cb51a52f25bc6aab9485b90b21aca2369b11848f40be2df80901bf367c4e8573a626564a3e754c04c0f5918fcf657c85d5a39d405960155f42caa4
 SHA512 
dc03e79490576c53e398df691f59a3c3b886c5dd20feef3f525828c2a49339537db303464a3782101e76d682cbf0345619d84e4a1d116bbb9879cd489ebe6637
 DIST PySolFC-Cardsets-3.1.tar.bz2 82706375 BLAKE2B 
7fdf91e971437bec69430ab98810bbccab72bc3072c7a5bb3d9101efc2c86779e4aaca047a136bc174defb014865a3628633686dcb2e2b2ae6e9764b2ed6829a
 SHA512 
a06fd5dfc16c7cfde4a6612f925cc2829b06a55ccc6633ed7176508888557eded9d3c32a6d336eb2f8c5950d9e0e7b215e57211ee890cf59228ab5cb4874e716

diff --git a/games-board/pysolfc/pysolfc-3.4.1.ebuild 
b/games-board/pysolfc/pysolfc-3.4.1.ebuild
new file mode 100644
index 000000000000..079d1785eb58
--- /dev/null
+++ b/games-board/pysolfc/pysolfc-3.4.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+PYTHON_REQ_USE="tk"
+inherit distutils-r1 xdg
+
+MY_PN="PySolFC"
+MY_P="${MY_PN}-${PV}"
+PS_CARD_P="${MY_PN}-Cardsets-3.1"
+PS_CARD_MIN_P="${MY_PN}-Cardsets--Minimal-3.1.0"
+
+DESCRIPTION="Exciting collection of more than 1000 solitaire card games"
+HOMEPAGE="https://pysolfc.sourceforge.io/";
+SRC_URI="
+       https://downloads.sourceforge.net/pysolfc/${MY_P}.tar.xz
+       extra-cardsets? ( 
https://downloads.sourceforge.net/pysolfc/${PS_CARD_P}.tar.bz2 )
+       !extra-cardsets? ( 
https://downloads.sourceforge.net/pysolfc/${PS_CARD_MIN_P}.tar.xz )
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-3+ GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="extra-cardsets minimal +sound"
+
+RDEPEND="
+       $(python_gen_cond_dep '
+               dev-python/attrs[${PYTHON_USEDEP}]
+               dev-python/configobj[${PYTHON_USEDEP}]
+               dev-python/pysol-cards[${PYTHON_USEDEP}]
+               dev-python/random2[${PYTHON_USEDEP}]
+               sound? ( dev-python/pygame[${PYTHON_USEDEP}] )
+               !minimal? ( dev-python/pillow[jpeg,tk,${PYTHON_USEDEP}] )
+       ')
+       !minimal? ( dev-tcltk/tktable )
+"
+
+distutils_enable_tests unittest
+
+python_install_all() {
+       local DOCS=( AUTHORS.md NEWS.asciidoc README.md )
+       distutils-r1_python_install_all
+
+       doman docs/pysol{,fc}.6
+
+       insinto /usr/share/${MY_PN}
+       doins -r ../$(usex extra-cardsets ${PS_CARD_P} ${PS_CARD_MIN_P})/.
+
+       # html files are used at runtime, keep at default location
+       dosym -r /usr/share/{${MY_PN},doc/${PF}}/html
+
+       # russian translation is not currently displaying right?
+       # (please report if works fine for you and this should be reverted)
+       # https://forums.gentoo.org/viewtopic-t-1142910.html
+       rm -- "${ED}"/usr/share/locale/ru/LC_MESSAGES/pysol.mo || die
+}

Reply via email to