summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-10 22:17:04 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-10 22:17:04 +0000
commit0e55480c2518eba488ccbd87388dde61637ed59e (patch)
treef6e5f4d042923d0aecfdf00420f1dc65dfe62721 /games-board
parentUse locks to avoid race conditions when merging (bug #449760). Use tar instea... (diff)
downloadhistorical-0e55480c2518eba488ccbd87388dde61637ed59e.tar.gz
historical-0e55480c2518eba488ccbd87388dde61637ed59e.tar.bz2
historical-0e55480c2518eba488ccbd87388dde61637ed59e.zip
migrate to distutils-r1
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pysolfc/ChangeLog9
-rw-r--r--games-board/pysolfc/Manifest21
-rw-r--r--games-board/pysolfc/pysolfc-2.0-r1.ebuild71
3 files changed, 96 insertions, 5 deletions
diff --git a/games-board/pysolfc/ChangeLog b/games-board/pysolfc/ChangeLog
index 2f0394bdc8c0..dad4bec2a79c 100644
--- a/games-board/pysolfc/ChangeLog
+++ b/games-board/pysolfc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-board/pysolfc
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/ChangeLog,v 1.5 2012/10/15 05:39:54 mr_bones_ Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/ChangeLog,v 1.6 2013/01/10 22:16:59 hasufell Exp $
+
+*pysolfc-2.0-r1 (10 Jan 2013)
+
+ 10 Jan 2013; Julian Ospald <hasufell@gentoo.org> +pysolfc-2.0-r1.ebuild:
+ migrate to distutils-r1
15 Oct 2012; Michael Sterrett <mr_bones_@gentoo.org> metadata.xml:
metadata fix (bug #438318)
diff --git a/games-board/pysolfc/Manifest b/games-board/pysolfc/Manifest
index 92cefd86a75c..e6c12b6d5951 100644
--- a/games-board/pysolfc/Manifest
+++ b/games-board/pysolfc/Manifest
@@ -1,5 +1,20 @@
-DIST PySolFC-2.0.tar.bz2 4208776 SHA256 dbcb8e7e6d0479c230745a2be91c0c9b9e8524407cd2075f2dae144e5d441b6c
-DIST PySolFC-Cardsets-2.0.tar.bz2 30687905 SHA256 c388d6360191b3b7e463d84e5a64260c4e3ed36e791a85227d7e8923f3f47ca7
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST PySolFC-2.0.tar.bz2 4208776 SHA256 dbcb8e7e6d0479c230745a2be91c0c9b9e8524407cd2075f2dae144e5d441b6c SHA512 ec5a11565bd43e097cf1854fe246b8f92acd74077c0b3b158c999f9dc45966e8f805c60a2cfbd815137d970e0e6409d0ae437b9807bac9c39353657cf596b6fc WHIRLPOOL 468d595ee1ae0a3a0129f9e822f9985cd0c7c9a00766dc711a5b8d202742bdd26393a676bc7515e39e1ddad71a3ef65d3d27ada0ec339212662126a42a07ad8c
+DIST PySolFC-Cardsets-2.0.tar.bz2 30687905 SHA256 c388d6360191b3b7e463d84e5a64260c4e3ed36e791a85227d7e8923f3f47ca7 SHA512 24275cd3656024e268a49487ac75e1e67e61ec20e0a9f88e2d1c287f91314a1a9343856d1202ce468f8863f4e9a9bf27526fbb1979a7d765718b38e64ca0cfc8 WHIRLPOOL ae779f1838d321e727c0661980c7f40ff368aa958a3fd1043448229d5b2a56ce94799f343b8527666081b043a469760f7f3b0a3e2d58263d69c16cb3456d7df5
+EBUILD pysolfc-2.0-r1.ebuild 1728 SHA256 889fa215346143de00c8e3ffc860139e24683e530219d92a8472750572dc8d08 SHA512 607c924ef1c2f0d4aa7a6ab95cca9c764faed68f99887a70a0598a3b679df0d649086eb5ecaddc0d26f4a693e6e2adba6e08c733d11240beb0a8e2eaa855bd06 WHIRLPOOL 0195e78f49768b7aa7f801840a55643fd3b5a08093155fdfe5cd63ae90a7503d9ae636d1f4ae3ad8228e8c765e7f3efefb80355413a07adfabb4617e9bd12760
EBUILD pysolfc-2.0.ebuild 1696 SHA256 2767c5c5d2dd850bb9f3c343285eb2e5657932099b91fea8d024d956936355cc SHA512 cf8201ce0daa433b667afac97f340010e3568c05a5432d63732f7f0f36df6a339ba0a503581e5b46488fe4149588725a1ac5027193b8020625457049b4f11817 WHIRLPOOL 196860397ffe67cff7a75d66e092e7b44ea45f65f7817802de7d7062c1c58d1c9b1b8f8510da2fc941b3a7435aa957ffd8250b2a7916b920a98e8be223712f7b
-MISC ChangeLog 932 SHA256 1ca4d9a4fa57a7c1babec28af978878d69a9febf87b66582786ea32b8b45d733 SHA512 d509dbd0a7c5d8c7602c18e20d5d5633db67609c71180c1f133e2e7edde9393c653b7331da13cf092c86711640bb6532f38538ddc08d71387e81a05f9e6ee422 WHIRLPOOL 5b061c6c6332b6488f1bf975da0f793354b3d25691a962c65ad1fb2a2a29879803a95677b6a17b46376d8f9487b0873bfff06b3bbab9b5484ebf72d89c8a1d81
+MISC ChangeLog 1064 SHA256 c1a4b0736c622df97e44e1fb6647b20f84f714ff86590cd0645e013fba065b10 SHA512 3928aad3825974bef76872b334414da9a81a4499faa1f7a82bd3c743b2b289a84e96ffbe47b31d42b7f7b7b36d44449fe11c8487c2ee2b5d6837fe494d7fa97f WHIRLPOOL 2782020f86bc6b03f593d2c857509f1d8a0987a9d89a2593f8723035b1fe8ac56dbeb73fcc616167b539fc90bb41324351fd6b12d1452035f11accf7f792af19
MISC metadata.xml 322 SHA256 5b8f03faf13d94e9bf017c1efa855dda0e0518b2d81b08df1027fb73142ad2d2 SHA512 032916f3e85f249445c0f5e9f005c0dc6e9b7263f1914cd3feb441536ec123435ae482bc7805827cc9c67c830a2e0fd239b0d014a365137bfe08049de7823270 WHIRLPOOL 444bbd40c624955a7014df915987824afe214949dae9ed85af2fbc39e66fb3739b52e3f15bc64c5b9d2dc1ed2b26a6abd3797fd9603727585e383fbe0e608c9d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQ7z3fAAoJEFpvPKfnPDWzzeYIAIYSCOVEsVymaK60qi19WTDu
+M8FvSDu8lgMtzOtnI4uK91LPRV5fTyh5nAwIhv0gWaTOQ8DfGp/a7nf4eHdcH2eK
+aQEEMqJ2wCVpv6j6Y3qwWKKjVsMFySC7qrK+pbbyNaGgKFg9toE2CeRIE43Krf4E
+C6rlKV5HgVJcoEiyLMYzjxzUjkWzrH/JEXBj2GRwRINfNW74Di4g6fvfN78y6SRq
+/FZB2SkWqQJrhr+UPP19B0lVP3/rBmrhcYf+DYD4F2mx6Jqq9XjoqidmSqEbPR2F
+8cZnfbggJxRiNQwYTW7dJcZi1d+xFEoNoazwwI9fVawbRBYqvHp3ShMRoJt91do=
+=TAoR
+-----END PGP SIGNATURE-----
diff --git a/games-board/pysolfc/pysolfc-2.0-r1.ebuild b/games-board/pysolfc/pysolfc-2.0-r1.ebuild
new file mode 100644
index 000000000000..add7e4b12387
--- /dev/null
+++ b/games-board/pysolfc/pysolfc-2.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pysolfc/pysolfc-2.0-r1.ebuild,v 1.1 2013/01/10 22:16:59 hasufell Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_6 python2_7 )
+PYTHON_REQ_USE="tk"
+
+# inherit base explicitly to avoid random overrides on distutils-r1
+inherit base eutils python-r1 distutils-r1 games
+
+MY_PN=PySolFC
+SOL_URI="mirror://sourceforge/${PN}"
+
+DESCRIPTION="An exciting collection of more than 1000 solitaire card games"
+HOMEPAGE="http://pysolfc.sourceforge.net/"
+SRC_URI="${SOL_URI}/${MY_PN}-${PV}.tar.bz2
+ extra-cardsets? ( ${SOL_URI}/${MY_PN}-Cardsets-${PV}.tar.bz2 )"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="extra-cardsets minimal +sound"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+RDEPEND="sound? ( dev-python/pygame )
+ !minimal? ( dev-python/imaging[tk]
+ dev-tcltk/tktable )"
+
+python_prepare_all() {
+ sed -i \
+ -e "/pysol.desktop/d" \
+ -e "s:share/icons:share/pixmaps:" \
+ -e "s:data_dir =.*:data_dir = \'share/games/${PN}\':" \
+ setup.py || die
+
+ # avoid installing pysol.py into /usr/bin
+ sed -i \
+ -e '/scripts/d' \
+ setup.py || die
+}
+
+# Avoid running emake on shipped Makefile
+src_compile() { :; }
+
+python_install_all() {
+ exeinto "${GAMES_DATADIR}"/${PN}
+ doexe pysol.py
+ python_replicate_script "${ED}${GAMES_DATADIR}"/${PN}/pysol.py
+
+ games_make_wrapper ${PN} ./pysol.py "${GAMES_DATADIR}"/${PN}
+
+ make_desktop_entry ${PN} "PySol Fan Club Edition" pysol01
+
+ if use extra-cardsets; then
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r "${WORKDIR}"/${MY_PN}-Cardsets-${PV}/*
+ fi
+
+ doman docs/*.6
+ dohtml docs/*.html
+
+ dodoc AUTHORS README
+
+ docinto docs
+ dodoc docs/README*
+
+ prepgamesdirs
+}