Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, games-rpg/dragonhunt/
Date: Mon, 03 Feb 2020 06:36:45
Message-Id: 1580711781.635c8cd173bdc84f2e565cdfab27c93b0842fa8a.mgorny@gentoo
1 commit: 635c8cd173bdc84f2e565cdfab27c93b0842fa8a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 3 06:17:52 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 3 06:36:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=635c8cd1
7
8 games-rpg/dragonhunt: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/703792
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 games-rpg/dragonhunt/Manifest | 1 -
14 games-rpg/dragonhunt/dragonhunt-3.56-r2.ebuild | 86 --------------------------
15 games-rpg/dragonhunt/metadata.xml | 8 ---
16 profiles/package.mask | 5 --
17 4 files changed, 100 deletions(-)
18
19 diff --git a/games-rpg/dragonhunt/Manifest b/games-rpg/dragonhunt/Manifest
20 deleted file mode 100644
21 index 55bdd533dd1..00000000000
22 --- a/games-rpg/dragonhunt/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST Dragon_Hunt-3.56.tar.gz 2170718 BLAKE2B 4d5b16921867bb7e0b14991184fc4f7a90ca7dbc6c87f4565a4626fb26d413cd4805099bb4973b45fde3758de4845489898c89b5981d34af7e8d03b2874286a5 SHA512 86ca32436088e8cda8993e21ebe6180f8361eb8bf5e052b3744a1db50073826118d1db657d713c7d75cd78c50c78c940caaf7adc5d31ad895d02a44f82b1e72a
26
27 diff --git a/games-rpg/dragonhunt/dragonhunt-3.56-r2.ebuild b/games-rpg/dragonhunt/dragonhunt-3.56-r2.ebuild
28 deleted file mode 100644
29 index e908b7b2814..00000000000
30 --- a/games-rpg/dragonhunt/dragonhunt-3.56-r2.ebuild
31 +++ /dev/null
32 @@ -1,86 +0,0 @@
33 -# Copyright 1999-2016 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -PYTHON_COMPAT=( python2_7 )
38 -inherit eutils python-single-r1
39 -
40 -MY_P="Dragon_Hunt-${PV}"
41 -DESCRIPTION="A simple graphical RPG"
42 -HOMEPAGE="http://emhsoft.com/dh.html"
43 -SRC_URI="http://emhsoft.com/dh/${MY_P}.tar.gz"
44 -
45 -LICENSE="GPL-2 CC-SA-1.0"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE=""
49 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 -
51 -DEPEND="${PYTHON_DEPS}"
52 -RDEPEND="${DEPEND}
53 - dev-python/pygame[${PYTHON_USEDEP}]"
54 -
55 -S=${WORKDIR}/${MY_P}
56 -
57 -pkg_setup() {
58 - python-single-r1_pkg_setup
59 -}
60 -
61 -src_prepare() {
62 - default
63 -
64 - # Where to look for modules to load.
65 - sed -i "s:\.\./modules/:/usr/share/${PN}/:" \
66 - code/g.py \
67 - code/map_editor.py \
68 - code/rpg.py || die
69 -
70 - # Where to look for keybinding
71 - sed -i "s:\.\./settings:/etc/${PN}/settings:" \
72 - code/g.py || die
73 -
74 - # Save games in ~/.${PN}/.
75 - sed -i \
76 - -e "s:^\(from os import.*\):\1\, environ:" \
77 - -e "s:g.mod_dir.*\"/saves/\?\":environ[\"HOME\"] + \"/.${PN}/\":" \
78 - code/g.py code/loadgame.py || die
79 -
80 - # Save maps in ~/.
81 - sed -i \
82 - -e "s:^\(from os import.*\):\1\, environ:" \
83 - -e "s:g.mod_dir.*\"map\.txt\":environ[\"HOME\"]\ +\ \"/dh_map.txt\":" \
84 - code/map_editor.py || die
85 -}
86 -
87 -src_install() {
88 - insinto /usr/share/${PN}
89 - doins -r modules/*
90 -
91 - insinto /etc/${PN}
92 - doins settings.txt
93 -
94 - insinto /usr/$(get_libdir)/${PN}
95 - doins code/*.py
96 -
97 - make_wrapper ${PN} "${EPYTHON} ./rpg.py" /usr/$(get_libdir)/${PN}
98 - make_wrapper ${PN}-mapeditor "${EPYTHON} ./map_editor.py" \
99 - /usr/$(get_libdir)/${PN}
100 -
101 - newicon modules/default/images/buttons/icon.png ${PN}.png
102 - make_desktop_entry ${PN} "Dragon Hunt"
103 - make_desktop_entry ${PN}-mapeditor "Dragon Hunt - Editor"
104 -
105 - dodoc README.txt docs/{Changelog,Items.txt,example_map.txt,tiles.txt}
106 - dodoc -r docs/*.html
107 -
108 - python_optimize "${ED}/usr/$(get_libdir)"/${PN} \
109 - "${ED}/usr/share/${PN}/Dark Ages/data/make_map.py"
110 -}
111 -
112 -pkg_postinst() {
113 - echo
114 - elog "If you use the map editor then note that maps will be saved as"
115 - elog "~/dh_map.txt and must be move to the correct module directory"
116 - elog "(within /usr/share/${PN}) by hand."
117 - echo
118 -}
119
120 diff --git a/games-rpg/dragonhunt/metadata.xml b/games-rpg/dragonhunt/metadata.xml
121 deleted file mode 100644
122 index 78274e0fa55..00000000000
123 --- a/games-rpg/dragonhunt/metadata.xml
124 +++ /dev/null
125 @@ -1,8 +0,0 @@
126 -<?xml version="1.0" encoding="UTF-8"?>
127 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
128 -<pkgmetadata>
129 -<maintainer type="project">
130 - <email>games@g.o</email>
131 - <name>Gentoo Games Project</name>
132 -</maintainer>
133 -</pkgmetadata>
134
135 diff --git a/profiles/package.mask b/profiles/package.mask
136 index 4af73e15102..570df81ef74 100644
137 --- a/profiles/package.mask
138 +++ b/profiles/package.mask
139 @@ -728,11 +728,6 @@ dev-ruby/jeweler
140 # Removal in 30 days. Bug #703196.
141 media-libs/libclalsadrv
142
143 -# David Seifert <soap@g.o> (2019-12-25)
144 -# Py2 only, dead upstream, no py3 port in sight.
145 -# Removal in 30 days. Bug #703792.
146 -games-rpg/dragonhunt
147 -
148 # Tomáš Mózes <hydrapolic@g.o> (2019-12-19)
149 # Needs more testing.
150 =app-emulation/xen-4.13.0