summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-07-25 20:36:00 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-07-25 20:36:00 +0000
commitfc5106bfa3eaae08dfd4a56e5b3da01418d1ef9d (patch)
tree12738d87969518254f3e8dc507b7507545689ac2
parentkde-misc/kate-projectmanager-plugin: Version bump to v0.1.2 (diff)
downloadsunrise-fc5106bfa3eaae08dfd4a56e5b3da01418d1ef9d.tar.gz
sunrise-fc5106bfa3eaae08dfd4a56e5b3da01418d1ef9d.tar.bz2
sunrise-fc5106bfa3eaae08dfd4a56e5b3da01418d1ef9d.zip
games-puzzle/pythonsudoku: Version bump to v0.12.1, uneeded patches removed
svn path=/sunrise/; revision=705
-rw-r--r--games-puzzle/pythonsudoku/ChangeLog5
-rw-r--r--games-puzzle/pythonsudoku/Manifest24
-rw-r--r--games-puzzle/pythonsudoku/files/0.12-pysdk_cfg-manual_install.patch37
-rw-r--r--games-puzzle/pythonsudoku/files/0.12.1-setup_py-various_fix.patch29
-rw-r--r--games-puzzle/pythonsudoku/files/digest-pythonsudoku-0.12.13
-rw-r--r--games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild36
6 files changed, 89 insertions, 45 deletions
diff --git a/games-puzzle/pythonsudoku/ChangeLog b/games-puzzle/pythonsudoku/ChangeLog
index 620b44d0d..7b7e600cb 100644
--- a/games-puzzle/pythonsudoku/ChangeLog
+++ b/games-puzzle/pythonsudoku/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Jul 2006; Tiziano Müller <gentoo@dev-zero.ch>
+ +files/0.12.1-setup_py-various_fix.patch, +pythonsudoku-0.12.1.ebuild,
+ -files/0.12-pysdk_cfg-manual_install.patch:
+ Version bump to v0.12.1, uneeded patches removed
+
01 Jul 2006; Tiziano Müller <gentoo@dev-zero.ch> ChangeLog:
New ebuild for bug 113932, thanks to Nick Devito for the initial
diff --git a/games-puzzle/pythonsudoku/Manifest b/games-puzzle/pythonsudoku/Manifest
index ca3874de6..466223399 100644
--- a/games-puzzle/pythonsudoku/Manifest
+++ b/games-puzzle/pythonsudoku/Manifest
@@ -1,20 +1,25 @@
-AUX 0.12-pysdk_cfg-manual_install.patch 1457 RMD160 eb308e5b88a612210cfb9c95cd09e3fc2550a6bc SHA1 26054688f8af40f241edfa754b043ddfeb4335e8 SHA256 f5141860ab0e1882590798b8d191b275c9e1da106cbc8c8f78f37e7812f843e6
-MD5 655b939fb85cbde3de2fa35699db49f0 files/0.12-pysdk_cfg-manual_install.patch 1457
-RMD160 eb308e5b88a612210cfb9c95cd09e3fc2550a6bc files/0.12-pysdk_cfg-manual_install.patch 1457
-SHA256 f5141860ab0e1882590798b8d191b275c9e1da106cbc8c8f78f37e7812f843e6 files/0.12-pysdk_cfg-manual_install.patch 1457
AUX 0.12-setup_py-various_fix.patch 1101 RMD160 6dd2fd12626c3dcf5b6776b96730efe98f75f703 SHA1 3c5fd4ae50eba4c47354b18789d42229a1095394 SHA256 f6740787793ce2e6026c5d94c6a9ea8f42aea1db6dfde0c92b658f8c216f42bc
MD5 7ce5842924946357c44d23d015a3c79c files/0.12-setup_py-various_fix.patch 1101
RMD160 6dd2fd12626c3dcf5b6776b96730efe98f75f703 files/0.12-setup_py-various_fix.patch 1101
SHA256 f6740787793ce2e6026c5d94c6a9ea8f42aea1db6dfde0c92b658f8c216f42bc files/0.12-setup_py-various_fix.patch 1101
+AUX 0.12.1-setup_py-various_fix.patch 1109 RMD160 4ea0e7bb4f2c76ebbc09c4ca5d3748df24f7eb53 SHA1 67d99accc8cf6e54dab2ef79190f48adcb87ffb7 SHA256 28f6871c344cbc22816514d33c8e87e340d9f398f8afd9dd3a6f2b70369a0eed
+MD5 344b4d0f34d6bc4299f8c6fe17351bb3 files/0.12.1-setup_py-various_fix.patch 1109
+RMD160 4ea0e7bb4f2c76ebbc09c4ca5d3748df24f7eb53 files/0.12.1-setup_py-various_fix.patch 1109
+SHA256 28f6871c344cbc22816514d33c8e87e340d9f398f8afd9dd3a6f2b70369a0eed files/0.12.1-setup_py-various_fix.patch 1109
+DIST pythonsudoku-0.12.1.zip 413646 RMD160 7310ef8f86be999d22cdfab71f65e3c0f3346a02 SHA1 14144e8015f08a48c0106e45e8e7e5244a8b1f73 SHA256 8aa726dbccdc1b44017730dc0064aadf5b08bb950424a037a4d69c945451b518
DIST pythonsudoku-0.12.zip 413249 RMD160 7e7371b2f4fb3fd8a1fb3750efa107f5ad939849 SHA1 bb5f7d525272394637458c11af47ebcb8e9ad2dc SHA256 bd7c0ba0c79a21d8702edb2d30f2feecb6f22945efad14c123ab6db340301eb4
+EBUILD pythonsudoku-0.12.1.ebuild 850 RMD160 ec0f7d6b955d9f2b0389aba8ac3eb4f46c952abb SHA1 cb176a5ff01e20a280db7b49d32a9d1fc65e6949 SHA256 3fa1fd21c339dc6381b0c8b26d7217857478de52c1a9c29f09144fdd130ca92f
+MD5 5cc7bbf83253516407eccc83a7a1f47f pythonsudoku-0.12.1.ebuild 850
+RMD160 ec0f7d6b955d9f2b0389aba8ac3eb4f46c952abb pythonsudoku-0.12.1.ebuild 850
+SHA256 3fa1fd21c339dc6381b0c8b26d7217857478de52c1a9c29f09144fdd130ca92f pythonsudoku-0.12.1.ebuild 850
EBUILD pythonsudoku-0.12.ebuild 850 RMD160 ec0f7d6b955d9f2b0389aba8ac3eb4f46c952abb SHA1 cb176a5ff01e20a280db7b49d32a9d1fc65e6949 SHA256 3fa1fd21c339dc6381b0c8b26d7217857478de52c1a9c29f09144fdd130ca92f
MD5 5cc7bbf83253516407eccc83a7a1f47f pythonsudoku-0.12.ebuild 850
RMD160 ec0f7d6b955d9f2b0389aba8ac3eb4f46c952abb pythonsudoku-0.12.ebuild 850
SHA256 3fa1fd21c339dc6381b0c8b26d7217857478de52c1a9c29f09144fdd130ca92f pythonsudoku-0.12.ebuild 850
-MISC ChangeLog 257 RMD160 8f4ffa720f5f3cd74de9d41a60d76df1756b719b SHA1 e5c1ff2d049938cb594ba28eb499339ac566cf5a SHA256 a7150d393696501024021eab6d22e75daa2c98512414dccfd30396a5435df160
-MD5 3388bd3560d8f2b34a3f783f8b70c11a ChangeLog 257
-RMD160 8f4ffa720f5f3cd74de9d41a60d76df1756b719b ChangeLog 257
-SHA256 a7150d393696501024021eab6d22e75daa2c98512414dccfd30396a5435df160 ChangeLog 257
+MISC ChangeLog 480 RMD160 0dfb0c3e8951f014c95a0d564f19e75fa4a076f6 SHA1 ba93dfa47d5bf0ec42b4a35be3702558865bab05 SHA256 3ab7af59877fb15f26a9c12d95b2bb7fcbea2f5e2102a7ab72f4a922b3040fdc
+MD5 ac331bf8b3aabc7e3947ece08437fa78 ChangeLog 480
+RMD160 0dfb0c3e8951f014c95a0d564f19e75fa4a076f6 ChangeLog 480
+SHA256 3ab7af59877fb15f26a9c12d95b2bb7fcbea2f5e2102a7ab72f4a922b3040fdc ChangeLog 480
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
@@ -22,3 +27,6 @@ SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata
MD5 61686e288e1b2bb6a7df256b69bc2632 files/digest-pythonsudoku-0.12 244
RMD160 ca7a76cd541e0cae18d7c456e48d55e0f96c7902 files/digest-pythonsudoku-0.12 244
SHA256 2508876359537e0d3a8c8e3e42bc69c19556f13b4629c815a1fdfc130c2ce53e files/digest-pythonsudoku-0.12 244
+MD5 0998a1f9360cab52c78bd91c26a6ce94 files/digest-pythonsudoku-0.12.1 250
+RMD160 303985a47c9552dddac9a4e730c447033ab33812 files/digest-pythonsudoku-0.12.1 250
+SHA256 d2d3fda5dfc5f9372f024e0fb016eda9a32c60fd850ee60d8b7926e2d8cb4ca0 files/digest-pythonsudoku-0.12.1 250
diff --git a/games-puzzle/pythonsudoku/files/0.12-pysdk_cfg-manual_install.patch b/games-puzzle/pythonsudoku/files/0.12-pysdk_cfg-manual_install.patch
deleted file mode 100644
index e016d0eed..000000000
--- a/games-puzzle/pythonsudoku/files/0.12-pysdk_cfg-manual_install.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -Naur pythonsudoku-0.12/setup.py pythonsudoku-0.12.new/setup.py
---- pythonsudoku-0.12/setup.py 2006-05-31 14:10:57.000000000 +0200
-+++ pythonsudoku-0.12.new/setup.py 2006-07-01 22:23:09.000000000 +0200
-@@ -31,7 +31,7 @@
-
- # TODO: check for OS to set the default values
- if self.syscfg is None:
-- self.syscfg = "/etc/pysdk.cfg"
-+ self.syscfg = "/etc/games/pythonsudoku/pysdk.cfg"
- if self.usercfg is None:
- self.usercfg = "~/.pysdk.cfg"
- if self.localedir is None:
-@@ -83,8 +83,6 @@
- # searched
- data_files.append((get_python_lib(plat_specific=False) + "/pythonsudoku",
- ["pythonsudoku/platform.cfg"]))
-- data_files.append((os.path.dirname(config.get("paths", "syscfg")),
-- ["pysdk.cfg"]))
- data_files.append(("pythonsudoku", ["data/FreeSans.ttf"]))
-
- for lingua in linguas():
-diff -Naur pythonsudoku-0.12/test.sdk pythonsudoku-0.12.new/test.sdk
---- pythonsudoku-0.12/test.sdk 1970-01-01 01:00:00.000000000 +0100
-+++ pythonsudoku-0.12.new/test.sdk 2006-07-01 22:01:58.000000000 +0200
-@@ -0,0 +1,12 @@
-+# boardsize 3 x 3
-+ 1 0 0 0 0 8 0 9 0
-+ 0 0 0 0 0 0 0 0 8
-+ 0 0 0 0 2 0 7 6 0
-+
-+ 8 0 0 0 1 0 0 0 0
-+ 0 0 0 0 4 0 0 0 0
-+ 0 2 7 5 0 6 4 0 0
-+
-+ 0 0 3 2 0 0 0 0 5
-+ 5 0 0 4 0 0 0 0 6
-+ 0 8 9 0 0 0 3 2 0
diff --git a/games-puzzle/pythonsudoku/files/0.12.1-setup_py-various_fix.patch b/games-puzzle/pythonsudoku/files/0.12.1-setup_py-various_fix.patch
new file mode 100644
index 000000000..e57969010
--- /dev/null
+++ b/games-puzzle/pythonsudoku/files/0.12.1-setup_py-various_fix.patch
@@ -0,0 +1,29 @@
+diff -Naur pythonsudoku-0.12.1/setup.py pythonsudoku-0.12.1.new/setup.py
+--- pythonsudoku-0.12.1/setup.py 2006-05-31 14:10:57.000000000 +0200
++++ pythonsudoku-0.12.1.new/setup.py 2006-07-01 22:29:22.000000000 +0200
+@@ -31,7 +31,7 @@
+
+ # TODO: check for OS to set the default values
+ if self.syscfg is None:
+- self.syscfg = "/etc/pysdk.cfg"
++ self.syscfg = "/etc/games/pythonsudoku/pysdk.cfg"
+ if self.usercfg is None:
+ self.usercfg = "~/.pysdk.cfg"
+ if self.localedir is None:
+@@ -83,8 +83,6 @@
+ # searched
+ data_files.append((get_python_lib(plat_specific=False) + "/pythonsudoku",
+ ["pythonsudoku/platform.cfg"]))
+- data_files.append((os.path.dirname(config.get("paths", "syscfg")),
+- ["pysdk.cfg"]))
+ data_files.append(("pythonsudoku", ["data/FreeSans.ttf"]))
+
+ for lingua in linguas():
+@@ -105,7 +103,6 @@
+ url="http://pythonsudoku.sf.net",
+ download_url="",
+
+- scripts=["pysdk.py"],
+ packages=["pythonsudoku"],
+ data_files=get_data_files(),
+
diff --git a/games-puzzle/pythonsudoku/files/digest-pythonsudoku-0.12.1 b/games-puzzle/pythonsudoku/files/digest-pythonsudoku-0.12.1
new file mode 100644
index 000000000..3ea7ae870
--- /dev/null
+++ b/games-puzzle/pythonsudoku/files/digest-pythonsudoku-0.12.1
@@ -0,0 +1,3 @@
+MD5 9e748f0bab01ab3b1938d6c58e1f7b43 pythonsudoku-0.12.1.zip 413646
+RMD160 7310ef8f86be999d22cdfab71f65e3c0f3346a02 pythonsudoku-0.12.1.zip 413646
+SHA256 8aa726dbccdc1b44017730dc0064aadf5b08bb950424a037a4d69c945451b518 pythonsudoku-0.12.1.zip 413646
diff --git a/games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild b/games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild
new file mode 100644
index 000000000..af659ca51
--- /dev/null
+++ b/games-puzzle/pythonsudoku/pythonsudoku-0.12.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit games distutils
+
+DESCRIPTION="A graphical and text-based sudoku game"
+HOMEPAGE="http://pythonsudoku.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-python/pygtk
+ dev-python/reportlab
+ dev-python/imaging"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${PV}-setup_py-various_fix.patch"
+ sed -i -e 's#syscfg = pysdk.cfg#syscfg = /etc/games/pythonsudoku/pysdk.cfg#' \
+ "${S}/pythonsudoku/platform.cfg" || die "fixing configfile path failed"
+}
+
+src_install() {
+ newgamesbin pysdk.py pythonsudoku || die "newgamesbin failed"
+ distutils_src_install
+ dohtml -r doc/*
+ prepgamesdirs
+
+ insinto /etc/games/pythonsudoku
+ doins pysdk.cfg
+} \ No newline at end of file