summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-02-25 03:29:32 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-02-25 03:29:32 +0000
commitd34d8a46ad11597371fef3f91c5a420fcbcecbf7 (patch)
tree07880e519d5e61ace7375fa4657f6d6b688b43f7 /games-puzzle/londonlaw
parentStable on x86; bug #123646 (diff)
downloadgentoo-2-d34d8a46ad11597371fef3f91c5a420fcbcecbf7.tar.gz
gentoo-2-d34d8a46ad11597371fef3f91c5a420fcbcecbf7.tar.bz2
gentoo-2-d34d8a46ad11597371fef3f91c5a420fcbcecbf7.zip
version bump
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'games-puzzle/londonlaw')
-rw-r--r--games-puzzle/londonlaw/ChangeLog10
-rw-r--r--games-puzzle/londonlaw/Manifest23
-rw-r--r--games-puzzle/londonlaw/files/digest-londonlaw-0.2.13
-rw-r--r--games-puzzle/londonlaw/files/londonlaw-0.2.1-setup.py.patch37
-rw-r--r--games-puzzle/londonlaw/londonlaw-0.2.1.ebuild45
5 files changed, 114 insertions, 4 deletions
diff --git a/games-puzzle/londonlaw/ChangeLog b/games-puzzle/londonlaw/ChangeLog
index 796f33f29d10..8726569f7264 100644
--- a/games-puzzle/londonlaw/ChangeLog
+++ b/games-puzzle/londonlaw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-puzzle/londonlaw
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/londonlaw/ChangeLog,v 1.4 2005/08/23 20:04:37 wolf31o2 Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/londonlaw/ChangeLog,v 1.5 2006/02/25 03:29:32 mr_bones_ Exp $
+
+*londonlaw-0.2.1 (25 Feb 2006)
+
+ 25 Feb 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/londonlaw-0.2.1-setup.py.patch, +londonlaw-0.2.1.ebuild:
+ version bump
24 Aug 2005; Chris Gianelloni <wolf31o2@gentoo.org>
londonlaw-0.2.0.ebuild:
diff --git a/games-puzzle/londonlaw/Manifest b/games-puzzle/londonlaw/Manifest
index 2ae32f29a5bc..5beb0669b000 100644
--- a/games-puzzle/londonlaw/Manifest
+++ b/games-puzzle/londonlaw/Manifest
@@ -1,5 +1,24 @@
MD5 3ac155346612a4a46e391d5c37c317f7 ChangeLog 757
-MD5 3f4dce10dad68fe79b94704b484c9833 londonlaw-0.2.0.ebuild 1152
-MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 b5c6213a626c57baa9f22cba2b9a77399d0a70f6 ChangeLog 757
+SHA256 11fe016efbd413e6c8abd84a1bf74a32449246c816dfddd72f62b8903d7e11cd ChangeLog 757
MD5 0fbd9c9d50f0f69bf3ad3df8f615e080 files/digest-londonlaw-0.2.0 68
+RMD160 9bfbd400226f5617c700b0f45fe044059ba74639 files/digest-londonlaw-0.2.0 68
+SHA256 6f63e79a47337bfb1991d66b213b1383035eb322f84afcd5bce3b0a36e2c7e4e files/digest-londonlaw-0.2.0 68
+MD5 d964eb68baba150320fe8920d92397ba files/digest-londonlaw-0.2.1 250
+RMD160 1a9e3a50fd083390627412b4b06a06d7b4ed0d49 files/digest-londonlaw-0.2.1 250
+SHA256 829ffde21f69f5d6025062f0f9536ae67a0bdfd7c23251a90822367543b5e2b6 files/digest-londonlaw-0.2.1 250
MD5 5f414ab1da49789f7e521e0af4ac1c73 files/londonlaw-0.2.0-setup.py.patch 1528
+RMD160 4d59b71a4414d34aa7b16a75b34528ad2754e173 files/londonlaw-0.2.0-setup.py.patch 1528
+SHA256 a1db2a03caaeee25a7df02ed95a93de722cdde3550179fae0e1c68bcab3256b1 files/londonlaw-0.2.0-setup.py.patch 1528
+MD5 5f414ab1da49789f7e521e0af4ac1c73 files/londonlaw-0.2.1-setup.py.patch 1528
+RMD160 4d59b71a4414d34aa7b16a75b34528ad2754e173 files/londonlaw-0.2.1-setup.py.patch 1528
+SHA256 a1db2a03caaeee25a7df02ed95a93de722cdde3550179fae0e1c68bcab3256b1 files/londonlaw-0.2.1-setup.py.patch 1528
+MD5 3f4dce10dad68fe79b94704b484c9833 londonlaw-0.2.0.ebuild 1152
+RMD160 d3b619daf522492b687b7f0fb206fbf4b304ae2f londonlaw-0.2.0.ebuild 1152
+SHA256 e975992b9b15f450caed2dec064653f3dd43eec58287b4922f504280e2cae01e londonlaw-0.2.0.ebuild 1152
+MD5 3f4dce10dad68fe79b94704b484c9833 londonlaw-0.2.1.ebuild 1152
+RMD160 d3b619daf522492b687b7f0fb206fbf4b304ae2f londonlaw-0.2.1.ebuild 1152
+SHA256 e975992b9b15f450caed2dec064653f3dd43eec58287b4922f504280e2cae01e londonlaw-0.2.1.ebuild 1152
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
+SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
diff --git a/games-puzzle/londonlaw/files/digest-londonlaw-0.2.1 b/games-puzzle/londonlaw/files/digest-londonlaw-0.2.1
new file mode 100644
index 000000000000..8b788a0c232f
--- /dev/null
+++ b/games-puzzle/londonlaw/files/digest-londonlaw-0.2.1
@@ -0,0 +1,3 @@
+MD5 8e7b630de309c75edd07974ca2574c41 londonlaw-0.2.1.tar.gz 3139208
+RMD160 20a32d4b527b220a0ae0e261c5f84dd5563db7b2 londonlaw-0.2.1.tar.gz 3139208
+SHA256 e7453f2e261315384d991ecde31de16e0024fc5f14bacd4642e1daf5d9a4eb87 londonlaw-0.2.1.tar.gz 3139208
diff --git a/games-puzzle/londonlaw/files/londonlaw-0.2.1-setup.py.patch b/games-puzzle/londonlaw/files/londonlaw-0.2.1-setup.py.patch
new file mode 100644
index 000000000000..eef8059850bf
--- /dev/null
+++ b/games-puzzle/londonlaw/files/londonlaw-0.2.1-setup.py.patch
@@ -0,0 +1,37 @@
+--- setup.py 2005-02-18 04:51:06.000000000 +0100
++++ setup.py.1 2005-02-20 22:51:31.687411720 +0100
+@@ -10,20 +10,14 @@
+ # Read off the PREFIX value, so we can tell jools where to find its
+ # data files (FIXME: is there a clean way to handle this through distutils?
+ if 'sdist' not in sys.argv and 'clean' not in sys.argv:
+- PREFIX=os.path.normpath(sys.prefix) # default
++ DATA_PREFIX="" # default
+ for arg in sys.argv:
+- index = string.find(arg, "--prefix=")
++ index = string.find(arg, "--install-data=")
+ if index > -1:
+- PREFIX = os.path.normpath(arg[(index+len("--prefix=")):])
+-
+- ROOT = "/" # default
+- for arg in sys.argv:
+- index = string.find(arg, "--root=")
+- if index > -1:
+- ROOT = os.path.normpath(arg[(index+len("--root=")):])
++ DATA_PREFIX = os.path.normpath(arg[(index+len("--install-data=")):])
+
+ config = open("londonlaw/common/config.py", "w")
+- config.write("MEDIAROOT = \"" + os.path.join(PREFIX,"share/londonlaw/guiclient") + "\"\n")
++ config.write("MEDIAROOT = \"" + os.path.join(DATA_PREFIX,"londonlaw/guiclient") + "\"\n")
+ config.close()
+
+
+@@ -37,7 +31,8 @@
+ if os.path.isfile(fullFile):
+ newFiles.append(fullFile)
+ if newFiles != []:
+- installList.append( (os.path.join('share', dirname), newFiles) )
++# installList.append( (os.path.join('share', dirname), newFiles) )
++ installList.append( (dirname, newFiles) )
+
+
+ # Get all data files by walking through the proper directory trees
diff --git a/games-puzzle/londonlaw/londonlaw-0.2.1.ebuild b/games-puzzle/londonlaw/londonlaw-0.2.1.ebuild
new file mode 100644
index 000000000000..d13a0e5f618e
--- /dev/null
+++ b/games-puzzle/londonlaw/londonlaw-0.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/londonlaw/londonlaw-0.2.1.ebuild,v 1.1 2006/02/25 03:29:32 mr_bones_ Exp $
+
+inherit eutils python games
+
+DESCRIPTION="Clone of the famous Scotland Yard board game"
+HOMEPAGE="http://www.eecs.umich.edu/~pelzlpj/londonlaw/"
+SRC_URI="http://www.eecs.umich.edu/~pelzlpj/londonlaw/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.3
+ >=dev-python/wxpython-2.4
+ dev-python/twisted"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-setup.py.patch"
+}
+
+src_install() {
+ python_version
+ python setup.py install \
+ --root="${D}" \
+ --prefix="${GAMES_PREFIX}" \
+ --install-lib=/usr/lib/python${PYVER}/site-packages \
+ --install-data="${GAMES_DATADIR}" \
+ || die "install failed"
+ dodoc ChangeLog README
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ einfo "To play, first start the server (london-server), then connect"
+ einfo "with the client (london-client). At least two players are"
+ einfo "needed to play."
+ echo
+}