summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2021-11-13 16:45:51 -0500
committerIonen Wolkens <ionen@gentoo.org>2021-11-13 19:44:13 -0500
commit1dfc6f782485e30660bcbb93fa6cd5d1895795aa (patch)
treebda3e12a4664874a3ab3fe2d15a1b3aac3b25c1c /games-puzzle
parentgames-puzzle/monsterz: add 0.7.1_p12, revamp ebuild, enable py3.10 (diff)
downloadgentoo-1dfc6f782485e30660bcbb93fa6cd5d1895795aa.tar.gz
gentoo-1dfc6f782485e30660bcbb93fa6cd5d1895795aa.tar.bz2
gentoo-1dfc6f782485e30660bcbb93fa6cd5d1895795aa.zip
games-puzzle/monsterz: drop 0.7.1_p11
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/monsterz/Manifest1
-rw-r--r--games-puzzle/monsterz/files/monsterz-0.7.1-gentoo-r1.patch11
-rw-r--r--games-puzzle/monsterz/monsterz-0.7.1_p11.ebuild57
3 files changed, 0 insertions, 69 deletions
diff --git a/games-puzzle/monsterz/Manifest b/games-puzzle/monsterz/Manifest
index 5bddc541b674..b58cca358ec5 100644
--- a/games-puzzle/monsterz/Manifest
+++ b/games-puzzle/monsterz/Manifest
@@ -1,3 +1,2 @@
DIST monsterz-0.7.1.tar.gz 1879537 BLAKE2B e1ad9f17a64bcbb07005eb61d951dbf756997a6e6bd76c48d88bb634c9b3167c9fd41ef32032925b219153eb607dc238af76b44c3ef6c47aab753d59c61958e1 SHA512 62de125251a74e7ff237c90ad88e10a4953b8841251dfec45cc6b77f416677ef6d68cf4308c3190f65896b5bb1312934abd5e438f0341f08c02884585f0e4787
-DIST monsterz_0.7.1-11.debian.tar.xz 13688 BLAKE2B 2274b6d18b2f03200e09468243bae7ede94b81bd7595f65a73fd33bc9ccc7302fbea3a4876b5bbf6cf98735652742b1cf76b3c288fc6c005f9566c04b4a4f277 SHA512 c172355667db29de949de07745469552d62dc226120f38ff76a288b14018424338f27b6a562de215b7194b8b09c6346d29e9088c8a0edb0fe915f915b8577a4b
DIST monsterz_0.7.1-12.debian.tar.xz 14196 BLAKE2B ec4f425da3502afa175e0e3772a47ed24cd5d5857a04e4627cbcc7491df70f3aa718b82aae25f36a67868ba114075dabb215cc9d1ecd3b97ad2d7ab401cdd528 SHA512 3111363010ee10952fa93c456ce2db015ef1a516bde8bba55b5cd3f2ea4c50d71bb1a81c0207cd89960c47b4e2eb10693782bdc72d7439163720bf686e389cb3
diff --git a/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo-r1.patch b/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo-r1.patch
deleted file mode 100644
index bd8a825c3c46..000000000000
--- a/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo-r1.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/monsterz.py.old 2019-12-25 20:25:16.680365172 +0100
-+++ b/monsterz.py 2019-12-25 20:25:50.606666122 +0100
-@@ -1991,7 +1991,7 @@
- global system, data, settings, fonter, monsterz
- override = {}
- scorefile = None
-- sharedir = dirname(argv[0])
-+ sharedir = "GENTOO_DATADIR"
- outfd = None
- try:
- long = ['help', 'version', 'music', 'sound', 'fullscreen',
diff --git a/games-puzzle/monsterz/monsterz-0.7.1_p11.ebuild b/games-puzzle/monsterz/monsterz-0.7.1_p11.ebuild
deleted file mode 100644
index dff0f0c80f77..000000000000
--- a/games-puzzle/monsterz/monsterz-0.7.1_p11.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-inherit desktop python-r1
-
-DESCRIPTION="A little puzzle game, similar to the famous Bejeweled or Zookeeper"
-HOMEPAGE="http://sam.zoy.org/projects/monsterz/"
-SRC_URI="
- http://sam.zoy.org/projects/monsterz/${P/_p*}.tar.gz
- mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.debian.tar.xz
-"
-
-LICENSE="GPL-1+ LGPL-2+ WTFPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
- dev-python/pygame[${PYTHON_USEDEP}]
- media-libs/sdl-image[png]
- media-libs/sdl-mixer[mod]
-"
-DEPEND="${RDEPEND}"
-BDEPEND=""
-
-S="${WORKDIR}/${P/_p*}"
-
-src_prepare() {
- default
-
- # Debian fixes
- for p in $(<"${WORKDIR}"/debian/patches/series) ; do
- eapply -p1 "${WORKDIR}/debian/patches/${p}"
- done
-
- eapply "${FILESDIR}"/${PN}-0.7.1-gentoo-r1.patch
- sed -i \
- -e "s:GENTOO_DATADIR:/usr/share/${PN}:" \
- monsterz.py || die "sed failed"
-
- rm Makefile || die
-}
-
-src_install() {
- insinto /usr/share/${PN}
- doins -r graphics sound
- newbin monsterz.py ${PN}
- newicon graphics/icon.png ${PN}.png
- make_desktop_entry ${PN} Monsterz
- einstalldocs
- python_replicate_script "${ED}"/usr/bin/monsterz
-}