Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/qct/files/, games-simulation/qct/
Date: Thu, 28 Jan 2016 05:50:43
Message-Id: 1453960204.6522475f9fd95622eaafe9f24a8f4273a0d2dd1e.mr_bones_@gentoo
1 commit: 6522475f9fd95622eaafe9f24a8f4273a0d2dd1e
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 28 05:45:38 2016 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 28 05:50:04 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6522475f
7
8 games-simulation/qct: games-simulation/qct is gone
9
10 games-simulation/qct/Manifest | 1 -
11 games-simulation/qct/files/qct-0.7-constant.patch | 21 ----------
12 games-simulation/qct/metadata.xml | 8 ----
13 games-simulation/qct/qct-0.7-r1.ebuild | 49 -----------------------
14 4 files changed, 79 deletions(-)
15
16 diff --git a/games-simulation/qct/Manifest b/games-simulation/qct/Manifest
17 deleted file mode 100644
18 index a16b1be..0000000
19 --- a/games-simulation/qct/Manifest
20 +++ /dev/null
21 @@ -1 +0,0 @@
22 -DIST qct-0.7.tar.gz 98126 SHA256 d24d72c594e0af188876622aa2f9ce46e5e288bb66826aedb3ee3244fe8dd87b SHA512 89784607be3420f62ee1c94610f0df1e2ef57e237aa24ca2bf6583c17470ded91e8b5eff4171d93471a35c99951a98721eba2e9facb0757461c4343fbffe8bac WHIRLPOOL 21f27e3590edecbcdeb40a3dcc0c72a2cfc7413d0f27f508387590429b3920344f5fc581b6cecc671fa4e4382ff231cf4e13a29da754a986685216d782d07faa
23
24 diff --git a/games-simulation/qct/files/qct-0.7-constant.patch b/games-simulation/qct/files/qct-0.7-constant.patch
25 deleted file mode 100644
26 index 43a01ea..0000000
27 --- a/games-simulation/qct/files/qct-0.7-constant.patch
28 +++ /dev/null
29 @@ -1,21 +0,0 @@
30 -Fix traceback from using wrong name.
31 -
32 -Patch by Peter `MathFox' Roozemaal.
33 -
34 -http://bugs.gentoo.org/97762
35 -http://sourceforge.net/tracker/index.php?func=detail&aid=801329&group_id=74836&atid=542163
36 -
37 ---- qct/specializations.py
38 -+++ qct/specializations.py
39 -@@ -131,9 +131,9 @@
40 - mods = self.getModsFor('incomeMod', employer)
41 - if resident:
42 - if resident.job == trainer:
43 -- return prospect.level * INCOMEMULT * mods
44 -+ return prospect.level * constants.INCOMEMULT * mods
45 - else:
46 -- return prospect.level * INCOMEMULT / 2 * mods
47 -+ return prospect.level * constants.INCOMEMULT / 2 * mods
48 - else:
49 - return 0
50 -
51
52 diff --git a/games-simulation/qct/metadata.xml b/games-simulation/qct/metadata.xml
53 deleted file mode 100644
54 index 78274e0..0000000
55 --- a/games-simulation/qct/metadata.xml
56 +++ /dev/null
57 @@ -1,8 +0,0 @@
58 -<?xml version="1.0" encoding="UTF-8"?>
59 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
60 -<pkgmetadata>
61 -<maintainer type="project">
62 - <email>games@g.o</email>
63 - <name>Gentoo Games Project</name>
64 -</maintainer>
65 -</pkgmetadata>
66
67 diff --git a/games-simulation/qct/qct-0.7-r1.ebuild b/games-simulation/qct/qct-0.7-r1.ebuild
68 deleted file mode 100644
69 index 0875470..0000000
70 --- a/games-simulation/qct/qct-0.7-r1.ebuild
71 +++ /dev/null
72 @@ -1,49 +0,0 @@
73 -# Copyright 1999-2015 Gentoo Foundation
74 -# Distributed under the terms of the GNU General Public License v2
75 -# $Id$
76 -
77 -EAPI=5
78 -PYTHON_COMPAT=( python2_7 )
79 -inherit eutils python-single-r1 games
80 -
81 -DESCRIPTION="Quiet Console Town puts you in the place of the mayor of a budding new console RPG city"
82 -HOMEPAGE="https://packages.gentoo.org/package/games-simulation/qct"
83 -SRC_URI="http://www.sourcefiles.org/Games/Role_Play/${P}.tar.gz"
84 -
85 -LICENSE="GPL-2"
86 -SLOT="0"
87 -KEYWORDS="amd64 ppc x86"
88 -IUSE=""
89 -
90 -DEPEND=">=dev-python/pygame-1.5.5[${PYTHON_USEDEP}]"
91 -RDEPEND=${RDEPEND}
92 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
93 -
94 -S=${WORKDIR}/${PN}
95 -
96 -src_prepare() {
97 - epatch "${FILESDIR}"/${P}-constant.patch
98 - python_fix_shebang .
99 -}
100 -
101 -src_install() {
102 - # Ug. Someone fix this to install in $(games_get_libdir)/${PN} instead
103 - local destdir="${GAMES_DATADIR}/${PN}"
104 - insinto "${destdir}"
105 - exeinto "${destdir}"
106 -
107 - dodoc README
108 - doins *.py *.png
109 - doexe qct.py
110 -
111 - python_optimize "${D}${GAMES_DATADIR}/${PN}"
112 -
113 - games_make_wrapper qct "./qct.py" "${destdir}"
114 -
115 - prepgamesdirs
116 -}
117 -
118 -pkg_setup() {
119 - python-single-r1_pkg_setup
120 - games_pkg_setup
121 -}