From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pysolfc/
Date: Tue, 24 Aug 2021 15:10:22 +0000 (UTC) [thread overview]
Message-ID: <1629817775.c1997c5e08bca98affb3d52e9b6340323aaa0105.ionen@gentoo> (raw)
commit: c1997c5e08bca98affb3d52e9b6340323aaa0105
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 24 13:44:18 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 15:09:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1997c5e
games-board/pysolfc: add 2.12.0 with revamped ebuild + tests
Using intended /usr/share/PySolFC data directory to remove need
for workarounds (works fine on prefix with all cardsets too)
Closes: https://bugs.gentoo.org/725948
Closes: https://bugs.gentoo.org/750101
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-board/pysolfc/Manifest | 4 ++
games-board/pysolfc/pysolfc-2.12.0.ebuild | 66 +++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/games-board/pysolfc/Manifest b/games-board/pysolfc/Manifest
index f3084ac40b3..9e23433799f 100644
--- a/games-board/pysolfc/Manifest
+++ b/games-board/pysolfc/Manifest
@@ -1,3 +1,7 @@
+DIST PySolFC-2.12.0.tar.xz 3816376 BLAKE2B c37388873fcfc665f237ce7cae21d7d263b95f96efea118c6660f2d2fd18b4b5b2e935519b1318ec3f444085ec12dcfb65dc70a43937a9ec3dd7199f59c8edac SHA512 893012e93ca1cba72fac5f9f428c548af3aa59fa094aa9d027ed6740c91b34c5be62972e6522fb89264d1eb0f887234ddb07fa67a765573e105dbc25d885d1c5
DIST PySolFC-Cardsets--Minimal-2.0.1.tar.xz 1450064 BLAKE2B 629318963ee9bf82f6ab0de03f1b59047b896f7528d0f9f5be973fb550b496b523238b9ef8fcdc034f53b5a7adc4c3b56326e912bb83fcfa7e7ad2f9dec8be6b SHA512 56c9ad3c1f9231c6f3866366d694eb6be6036b1b46c8a1ffbd6f7a243a19ab377d30ee4ccaae34f13e35727357d4168db7d9bc044562ec2d86445fb8aec84e4a
+DIST PySolFC-Cardsets--Minimal-2.0.2.tar.xz 6969096 BLAKE2B 50e87073cf4ab69031e1e4116115ddb1771197da176ac609c09e2f5fab1cc48ccb6f3ba40d7b581f67013835893106f7ab579a2cbc744aad98095944fbd2d5d9 SHA512 5317866d6259b154219ec6efea349af3f9cb0fe9309a895ee55f7be87ebc8c34df12b81a08e1dee907a3f475f4e623c3609fdbd7e357890c2ade418ec5d68cb2
DIST PySolFC-Cardsets-2.0.tar.bz2 30687905 BLAKE2B f17f5095a05cf42ea9eb3e7a3a7fefe055cc3452882bf96db82bb4d1bebb2307ffc2d0fd8836f7414bfcd93b1d8de52adb43ef22701a0806f2c6c036d9306501 SHA512 24275cd3656024e268a49487ac75e1e67e61ec20e0a9f88e2d1c287f91314a1a9343856d1202ce468f8863f4e9a9bf27526fbb1979a7d765718b38e64ca0cfc8
+DIST PySolFC-Cardsets-2.1PRE.tar.bz2 34399177 BLAKE2B 12f577e67e858b96e9d76bb3aceafaaf1cb267b1805c91f36a51ae0b92652cc265d675543bc16923b216b125142b36aee858b54c2dc8f2eeccdd0d6c3e435fe7 SHA512 7fb83450fb3579d9a4e3e0ec1404d5da779c3e99d0ceaaad9d35adf599e2d9ef173f9d2bbf272ff08dc3c3e043a5dda78ae054c95c6fad828e80dff4c9011314
+DIST pysol-music-4.50.tar.xz 2144764 BLAKE2B ce6203441efa4525633b22b289be1d20aaa3107baf2127f96a46df19ba43d4ddbe62ccb6e68488d9845de91678aed0b87d93524b97615def63940b738a32d005 SHA512 ef281db180d28ccdeada3124d8a2451011fceedacd7cde8bb29305953438081839cb9ec48f51cb44f2bebf7828e940d79993fd026844983cf270ba1d7c839a85
DIST pysolfc-2.6.4.tar.gz 7380668 BLAKE2B d172a5d69ab2d9ca2c2c56327111b564bcdaf4800f0903051bd5a4f06e22be7ca5630f7f8b9b70b7ebfcb7ad88cc5fea2357e13a9f0bb791edb6edd42f210127 SHA512 da127a2859315eba72b6affe8210068b3b8bf16837ba106a268e0de84b908528aef1a97d5fc63cecfa89317e3bef815758e44007c50d772fb96a1f62045e5906
diff --git a/games-board/pysolfc/pysolfc-2.12.0.ebuild b/games-board/pysolfc/pysolfc-2.12.0.ebuild
new file mode 100644
index 00000000000..c234eda859a
--- /dev/null
+++ b/games-board/pysolfc/pysolfc-2.12.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_SINGLE_IMPL=1
+PYTHON_REQ_USE="tk"
+
+inherit distutils-r1 xdg
+
+MY_PN="PySolFC"
+MY_P="${MY_PN}-${PV}"
+PS_CARD_P="${MY_PN}-Cardsets-2.1PRE"
+PS_CARD_MIN_P="${MY_PN}-Cardsets--Minimal-2.0.2"
+PS_MUSIC_P="pysol-music-4.50"
+
+DESCRIPTION="Exciting collection of more than 1000 solitaire card games"
+HOMEPAGE="https://pysolfc.sourceforge.io/"
+SRC_URI="mirror://sourceforge/pysolfc/${MY_P}.tar.xz
+ extra-cardsets? ( mirror://sourceforge/pysolfc/${PS_CARD_P}.tar.bz2 )
+ !extra-cardsets? ( mirror://sourceforge/pysolfc/${PS_CARD_MIN_P}.tar.xz )
+ sound? ( mirror://sourceforge/pysolfc/${PS_MUSIC_P}.tar.xz )"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+ GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~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}]
+ dev-python/six[${PYTHON_USEDEP}]
+ !minimal? (
+ dev-python/pillow[jpeg,tk,${PYTHON_USEDEP}]
+ dev-tcltk/tktable
+ )
+ sound? (
+ dev-python/pygame[${PYTHON_USEDEP}]
+ media-libs/sdl2-mixer[mod]
+ )
+ ')"
+
+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})/.
+
+ if use sound; then
+ insinto /usr/share/${MY_PN}/music
+ doins ../${PS_MUSIC_P}/data/music/*.{it,mod,s3m}
+ fi
+
+ # html files are used at runtime, keep at default location
+ dosym -r /usr/share/{${MY_PN},doc/${PF}}/html
+}
next reply other threads:[~2021-08-24 15:10 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-24 15:10 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-16 8:42 [gentoo-commits] repo/gentoo:master commit in: games-board/pysolfc/ Ionen Wolkens
2024-11-24 11:01 Ionen Wolkens
2024-07-07 14:36 Michał Górny
2024-04-27 12:11 Ionen Wolkens
2024-04-06 21:09 Ionen Wolkens
2024-03-22 7:28 Arthur Zamarin
2023-07-11 5:25 Ionen Wolkens
2023-05-11 17:01 Ionen Wolkens
2023-04-24 3:43 Ionen Wolkens
2023-01-17 6:03 Ionen Wolkens
2022-10-20 13:34 Ionen Wolkens
2022-10-11 11:06 Ionen Wolkens
2022-05-26 6:07 Ionen Wolkens
2022-05-12 13:38 Ionen Wolkens
2022-04-29 11:23 Ionen Wolkens
2022-04-09 3:36 Ionen Wolkens
2021-12-16 19:11 Ionen Wolkens
2021-12-11 20:27 Ionen Wolkens
2021-11-14 0:45 Ionen Wolkens
2021-09-24 18:45 Ionen Wolkens
2021-09-22 22:26 Ionen Wolkens
2021-09-20 23:17 Ionen Wolkens
2021-08-30 9:04 Ionen Wolkens
2019-07-29 22:24 James Le Cuirot
2019-01-27 12:24 Andrey Grozin
2019-01-27 12:22 Andrey Grozin
2018-09-19 17:31 Bernard Cafarelli
2018-06-21 11:27 Andrey Grozin
2016-09-06 19:17 David Seifert
2016-09-06 4:16 Austin English
2016-08-02 17:55 Austin English
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=1629817775.c1997c5e08bca98affb3d52e9b6340323aaa0105.ionen@gentoo \
--to=ionen@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