summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-03 07:17:52 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-03 07:36:21 +0100
commit635c8cd173bdc84f2e565cdfab27c93b0842fa8a (patch)
treeb26281b18b6e066ce55b09264c73b87c0cbf755a /games-rpg
parentgames-puzzle/jools: Remove last-rited pkg (diff)
downloadgentoo-635c8cd173bdc84f2e565cdfab27c93b0842fa8a.tar.gz
gentoo-635c8cd173bdc84f2e565cdfab27c93b0842fa8a.tar.bz2
gentoo-635c8cd173bdc84f2e565cdfab27c93b0842fa8a.zip
games-rpg/dragonhunt: Remove last-rited pkg
Closes: https://bugs.gentoo.org/703792 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/dragonhunt/Manifest1
-rw-r--r--games-rpg/dragonhunt/dragonhunt-3.56-r2.ebuild86
-rw-r--r--games-rpg/dragonhunt/metadata.xml8
3 files changed, 0 insertions, 95 deletions
diff --git a/games-rpg/dragonhunt/Manifest b/games-rpg/dragonhunt/Manifest
deleted file mode 100644
index 55bdd533dd1a..000000000000
--- a/games-rpg/dragonhunt/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Dragon_Hunt-3.56.tar.gz 2170718 BLAKE2B 4d5b16921867bb7e0b14991184fc4f7a90ca7dbc6c87f4565a4626fb26d413cd4805099bb4973b45fde3758de4845489898c89b5981d34af7e8d03b2874286a5 SHA512 86ca32436088e8cda8993e21ebe6180f8361eb8bf5e052b3744a1db50073826118d1db657d713c7d75cd78c50c78c940caaf7adc5d31ad895d02a44f82b1e72a
diff --git a/games-rpg/dragonhunt/dragonhunt-3.56-r2.ebuild b/games-rpg/dragonhunt/dragonhunt-3.56-r2.ebuild
deleted file mode 100644
index e908b7b28145..000000000000
--- a/games-rpg/dragonhunt/dragonhunt-3.56-r2.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python2_7 )
-inherit eutils python-single-r1
-
-MY_P="Dragon_Hunt-${PV}"
-DESCRIPTION="A simple graphical RPG"
-HOMEPAGE="http://emhsoft.com/dh.html"
-SRC_URI="http://emhsoft.com/dh/${MY_P}.tar.gz"
-
-LICENSE="GPL-2 CC-SA-1.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${DEPEND}
- dev-python/pygame[${PYTHON_USEDEP}]"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
- python-single-r1_pkg_setup
-}
-
-src_prepare() {
- default
-
- # Where to look for modules to load.
- sed -i "s:\.\./modules/:/usr/share/${PN}/:" \
- code/g.py \
- code/map_editor.py \
- code/rpg.py || die
-
- # Where to look for keybinding
- sed -i "s:\.\./settings:/etc/${PN}/settings:" \
- code/g.py || die
-
- # Save games in ~/.${PN}/.
- sed -i \
- -e "s:^\(from os import.*\):\1\, environ:" \
- -e "s:g.mod_dir.*\"/saves/\?\":environ[\"HOME\"] + \"/.${PN}/\":" \
- code/g.py code/loadgame.py || die
-
- # Save maps in ~/.
- sed -i \
- -e "s:^\(from os import.*\):\1\, environ:" \
- -e "s:g.mod_dir.*\"map\.txt\":environ[\"HOME\"]\ +\ \"/dh_map.txt\":" \
- code/map_editor.py || die
-}
-
-src_install() {
- insinto /usr/share/${PN}
- doins -r modules/*
-
- insinto /etc/${PN}
- doins settings.txt
-
- insinto /usr/$(get_libdir)/${PN}
- doins code/*.py
-
- make_wrapper ${PN} "${EPYTHON} ./rpg.py" /usr/$(get_libdir)/${PN}
- make_wrapper ${PN}-mapeditor "${EPYTHON} ./map_editor.py" \
- /usr/$(get_libdir)/${PN}
-
- newicon modules/default/images/buttons/icon.png ${PN}.png
- make_desktop_entry ${PN} "Dragon Hunt"
- make_desktop_entry ${PN}-mapeditor "Dragon Hunt - Editor"
-
- dodoc README.txt docs/{Changelog,Items.txt,example_map.txt,tiles.txt}
- dodoc -r docs/*.html
-
- python_optimize "${ED}/usr/$(get_libdir)"/${PN} \
- "${ED}/usr/share/${PN}/Dark Ages/data/make_map.py"
-}
-
-pkg_postinst() {
- echo
- elog "If you use the map editor then note that maps will be saved as"
- elog "~/dh_map.txt and must be move to the correct module directory"
- elog "(within /usr/share/${PN}) by hand."
- echo
-}
diff --git a/games-rpg/dragonhunt/metadata.xml b/games-rpg/dragonhunt/metadata.xml
deleted file mode 100644
index 78274e0fa550..000000000000
--- a/games-rpg/dragonhunt/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-</pkgmetadata>