Version bump ebuilds for libtpclient-py, libtpproto-py, and
authorAaron Mavrinac <mavrinac@gmail.com>
Thu, 9 Jul 2009 17:07:40 +0000 (13:07 -0400)
committerAaron Mavrinac <mavrinac@gmail.com>
Thu, 9 Jul 2009 17:07:40 +0000 (13:07 -0400)
tpclient-pywx.

dev-games/libtpclient-py/ChangeLog
dev-games/libtpclient-py/Manifest
dev-games/libtpclient-py/libtpclient-py-0.3.2.ebuild [new file with mode: 0644]
dev-games/libtpproto-py/ChangeLog
dev-games/libtpproto-py/Manifest
dev-games/libtpproto-py/libtpproto-py-0.2.5.ebuild [new file with mode: 0644]
games-strategy/tpclient-pywx/ChangeLog
games-strategy/tpclient-pywx/Manifest
games-strategy/tpclient-pywx/tpclient-pywx-0.3.2.ebuild [new file with mode: 0644]

index 7ca76f8..c1219d8 100644 (file)
@@ -2,6 +2,11 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*libtpclient-py-0.3.2 (09 Jul 2009)
+
+  09 Jul 2009; Aaron Mavrinac <mavrinac@gmail.com> libtpclient-py-0.3.2.ebuild:
+  Version bump
+
   20 Feb 2009; Aaron Mavrinac <mavrinac@gmail.com> libtpclient-py-0.3.1-r1.ebuild:
   Removed .pth file annoyance
 
index 3067bad..eb6dca9 100644 (file)
@@ -1,4 +1,6 @@
 DIST libtpclient-py-0.3.1.1.tar.bz2 46902 RMD160 954ddccdfd633aa63183cf6974438dd49f414e3f SHA1 5d1fddfd87b70ed0fb07dc1b7c7ab2b78980f26b SHA256 c52cc2dfeb5c396c086c201f144e41678c7fa23bae81de47e4974b9096ad0824
+DIST libtpclient-py-0.3.2.tar.bz2 61502 RMD160 32fe461d7afc28d808dcf169d5e705b6ae992685 SHA1 03f73790e6a2038ed2a9a953442ce1d03c624443 SHA256 db1573d8fcc6379a4f023e7ed98746ba1d454a801c95e1fc26533bdd25ae717f
 EBUILD libtpclient-py-0.3.1-r1.ebuild 676 RMD160 aa5a19811cb2899c178a97c3f781d63ea43f0484 SHA1 3071d9b088ef7a8f2576c8d63fa7d1453e122306 SHA256 77e27b2450af81a77144dbf183c122d63068a4ebfe3b273a454ac31d5482b8ed
-MISC ChangeLog 757 RMD160 56d07b91fdafc9a7d189270d097ef684d4b6b269 SHA1 a6ffed1e39161f39290c9a056799156e8c022063 SHA256 002d189d5b22f39c5093ea171909b302a0de39ec3b13adf86536e2e0888ac237
+EBUILD libtpclient-py-0.3.2.ebuild 672 RMD160 5b7c925183b14b3ca4951057f63a8512aee06938 SHA1 f41bda8f69d11e1eae5a7d327e88e980d45b5627 SHA256 622b6a96ac21e5aecdf72dccc970717541a3a07887d4844fdaa7a910af914bf4
+MISC ChangeLog 890 RMD160 a46a57344cda5b87150b6e5251cf0fdbe27762a0 SHA1 e0a38e5f7e948cea1f3b5cd56ca653a3ac4a692d SHA256 4dc0ae067a0c76cdec248849779f472bf9aa674634dc496e6b9480ccfa2a6535
 MISC metadata.xml 371 RMD160 c93c57c6700be28144da76711ee319c13d82349a SHA1 7a85f048686abbb460d4acab40773ae782378b48 SHA256 9a56915c69ed58cbb6d6745b205855ebe7b178765e4d41790c54977ac9632c92
diff --git a/dev-games/libtpclient-py/libtpclient-py-0.3.2.ebuild b/dev-games/libtpclient-py/libtpclient-py-0.3.2.ebuild
new file mode 100644 (file)
index 0000000..5a2dcf2
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit distutils eutils
+
+DESCRIPTION="A Python library for development of Thousand Parsec game clients"
+HOMEPAGE="http://www.thousandparsec.net/tp/"
+SRC_URI="mirror://sourceforge/thousandparsec/${P}.tar.bz2
+               http://www.thousandparsec.net/tp/downloads/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.3
+                >=dev-games/libtpproto-py-0.2.5"
+DEPEND="${RDEPEND}
+           dev-python/setuptools"
+
+src_install() {
+       distutils_src_install
+       rm -f "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/*.pth
+}
index 1f6d222..775cdb2 100644 (file)
@@ -2,6 +2,11 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*libtpproto-py-0.2.5 (09 Jul 2009)
+
+  09 Jul 2009; Aaron Mavrinac <mavrinac@gmail.com> libtpproto-py-0.2.5.ebuild:
+  Version bump
+
   20 Feb 2009; Aaron Mavrinac <mavrinac@gmail.com> libtpproto-py-0.2.4.ebuild:
   Removed .pth file annoyance
 
index c0ffd0e..38040e3 100644 (file)
@@ -1,4 +1,7 @@
 DIST libtpproto-py-0.2.4.tar.bz2 49328 RMD160 f969168edd1cd36b78dd59f3c0513ba6c612041c SHA1 c2c21decbbd3e1cb454300dbccfbb8791de94368 SHA256 69704bd707f5e237ee0e82cbfa498a70295fe764c2cc438ec5ef9499f08fa8ed
+DIST libtpproto-py-0.2.5.tar.bz2 49584 RMD160 881023840c97520a5258e420e266e70b9503e184 SHA1 5ab8263f948d2a8a2158f97854c2447f60aecb72 SHA256 21bde4d3f69a45d967641151d9e8e03832a03a0224e68b870f1f60fa964b54e4
 EBUILD libtpproto-py-0.2.4.ebuild 767 RMD160 92529ed21246e71cbe97323e5097d5783cacfbf2 SHA1 5a881e615650ee680221e56c6423f825e982430c SHA256 02c5d9a0203a08430f2a58e64cad0a24839feb0316804cc73832323282596b63
-MISC ChangeLog 607 RMD160 cf02079292dd2ba3f4c9c8fd54e6b58ae01b35af SHA1 cfb484b5231bd4a98c5c9638cac3704642f3b280 SHA256 501e575aab7f9e1f83ca2cfdd500fc65bf51612d3b14eb065fbc0a7b80f0bb50
+EBUILD libtpproto-py-0.2.5.ebuild 767 RMD160 92529ed21246e71cbe97323e5097d5783cacfbf2 SHA1 5a881e615650ee680221e56c6423f825e982430c SHA256 02c5d9a0203a08430f2a58e64cad0a24839feb0316804cc73832323282596b63
+MISC ' 767 RMD160 92529ed21246e71cbe97323e5097d5783cacfbf2 SHA1 5a881e615650ee680221e56c6423f825e982430c SHA256 02c5d9a0203a08430f2a58e64cad0a24839feb0316804cc73832323282596b63
+MISC ChangeLog 738 RMD160 726e1b0e5b8b542fc53cff832e355ba8c896cb22 SHA1 48782f55f219bbba9954ff577994f5af27587a2c SHA256 5a42c2eed54d22b776244ff191524a220cb3a17da7a6f2014ad5f148e211caa4
 MISC metadata.xml 375 RMD160 9a3a066e62cdbfcb7fb2f14b35a482f375e4ed33 SHA1 648c02c63f450ca1080f13c9a2caa20178a7e9d7 SHA256 7a74f92bc3e30cc68545f4b8e0bec8188a1c9d2bf580e49b9d158cd052930718
diff --git a/dev-games/libtpproto-py/libtpproto-py-0.2.5.ebuild b/dev-games/libtpproto-py/libtpproto-py-0.2.5.ebuild
new file mode 100644 (file)
index 0000000..9305302
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit distutils eutils
+
+DESCRIPTION="A Python protocol library for Thousand Parsec game clients/servers"
+HOMEPAGE="http://www.thousandparsec.net/tp/"
+SRC_URI="mirror://sourceforge/thousandparsec/${P}.tar.bz2
+               http://www.thousandparsec.net/tp/downloads/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc ssl"
+
+RDEPEND=">=dev-lang/python-2.3
+                ssl? ( dev-python/pyopenssl )"
+DEPEND="${RDEPEND}
+           dev-python/setuptools"
+
+src_install() {
+       distutils_src_install
+       rm -f "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/*.pth
+       # evil fix
+       touch "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/tp/__init__.py
+}
index 189bdd0..0e25ea1 100644 (file)
@@ -2,6 +2,11 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*tpclient-pywx-0.3.2 (09 Jul 2009)
+
+  09 Jul 2009; Aaron Mavrinac <mavrinac@gmail.com> tpclient-pywx-0.3.2.ebuild:
+  Version bump
+
 *tpclient-pywx-0.3.1.1 (18 Oct 2008)
 
   18 Oct 2008; Aaron Mavrinac <mavrinac@gmail.com> tpclient-pywx-0.3.1.1.ebuild:
index adf7f3b..92e5d28 100644 (file)
@@ -2,8 +2,10 @@ AUX tpclient-pywx-0.3.0-installed-script.patch 847 RMD160 d1dfb7db1bca63cc7ed847
 DIST tpclient-pywx-0.3.0.tar.bz2 1612379 RMD160 de06ab7c77a733003beb2eeef5b322ee85af8934 SHA1 b81dfa066e3067dba6363429a6005276e30d10e3 SHA256 aa3ad886b9d823e55edcb4adf8fef113f83a2cc481e986e9c82638cef35f76e9
 DIST tpclient-pywx-0.3.1.1.tar.bz2 1626883 RMD160 0c73db950aac5cd172795a7ac51c3e3c5d2467b3 SHA1 71c2a650aad7179f2d7f3de7e7458323be3d56ab SHA256 f6ee88a76ce5b28b174177fff2fa3d069d4eef1ed1041f445ab597a961e4caeb
 DIST tpclient-pywx-0.3.1.tar.bz2 1627088 RMD160 7c9f2ad21221ab10f4ba7b7a9a610d630043c62a SHA1 b97142c5e68a98bccbd86da70acc85692808c6db SHA256 75b5143ba272aa34f4867c32636802b3b3529c8c7f4c1066939a1702559109ae
+DIST tpclient-pywx-0.3.2.tar.bz2 1628357 RMD160 1c012b0635c1ada08678c2490775431fb49065f1 SHA1 5ffd8764743aad67a96389f45259c9dde5d8625d SHA256 a5cac153583cc566d42f65b86b5f6540fbf41a218da727731b2d3b0f1449bd30
 EBUILD tpclient-pywx-0.3.0.ebuild 1660 RMD160 52a35c41677e736b152dee373e72cc45e5688eb5 SHA1 64327e7f7ff98d37b1b4fe8206a483ebf22f93e2 SHA256 90845f0ef448864432f2c827fb2b167979940d12a9ec0cd46c1349241bdb746c
 EBUILD tpclient-pywx-0.3.1.1.ebuild 1916 RMD160 b63d31dc7e6a4358d3beae7a4b54b5b91af71366 SHA1 f8b275524a249035801d1db576b32b94b92a3a53 SHA256 df82f153513e08b7e3c1f5727d2972087a5a22927744f79b067fc80f8ef6d75e
 EBUILD tpclient-pywx-0.3.1.ebuild 1913 RMD160 44e945f1dd515cbd63963e6d99d90985334f980d SHA1 543a39e9f715015ffd84c5f052da6e18edb91b1b SHA256 e4d713abdfa63afa185875e409db5917a6373de31e04f610276e48d4251ae2de
-MISC ChangeLog 642 RMD160 bc46431907bf215e1f3e3a9de6f2596e03059a6b SHA1 5d3974fa00c05f79cd90c0443f769ce3d467980a SHA256 526c5aa465ab91439532f4a0ec5eb717d5a0a2e32b822316c75b0af01c9d43e2
+EBUILD tpclient-pywx-0.3.2.ebuild 1913 RMD160 673d160dfb4ffd33f08446d22bfe45f2bd2d5c5c SHA1 c7aa7d7fce74ca10d03e7b6a612ddca3799c84ac SHA256 11ff15108848682761e16c51c89709dabeb8da63b08a1f5a2e1c4ba094e7a017
+MISC ChangeLog 773 RMD160 e6ae63d277ff41ccccb0442b2fd967e2e57406d8 SHA1 730c4578c9150a0584bbdb24a29144caa3146d2c SHA256 48ecdf6473f56d49450387e16684a8108b4cf16311e10579b6ab2dd41aa91f0b
 MISC metadata.xml 330 RMD160 684eee9bb5b3eedf21c6a93f1518b86831e9abe3 SHA1 5b83d402b84f4f4a87aa7087dfb54cdbcec0ff6d SHA256 91458868890b9ba7882ae250aa5a2d803f6246ee54c2e46d667e4d9c7bd24fac
diff --git a/games-strategy/tpclient-pywx/tpclient-pywx-0.3.2.ebuild b/games-strategy/tpclient-pywx/tpclient-pywx-0.3.2.ebuild
new file mode 100644 (file)
index 0000000..2237d51
--- /dev/null
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+NEED_PYTHON=2.3
+
+inherit distutils eutils python games
+
+DESCRIPTION="A Python client for Thousand Parsec 4X strategy games"
+HOMEPAGE="http://www.thousandparsec.net/tp/"
+SRC_URI="mirror://sourceforge/thousandparsec/${P}.tar.bz2
+               http://www.thousandparsec.net/tp/downloads/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="gnome +pygame +imaging"
+
+DEPEND="virtual/python
+       dev-python/setuptools"
+RDEPEND="virtual/python
+       >=dev-games/libtpclient-py-0.3.2
+       >=dev-python/wxpython-2.8.0
+       dev-python/numpy
+       pygame? ( dev-python/pygame )
+       imaging? ( dev-python/imaging )
+       gnome? ( dev-python/gnome-python )"
+
+pkg_setup() {
+       games_pkg_setup
+}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       rm setup.py
+}
+
+src_install() {
+       exeinto "$(games_get_libdir)"/${PN}
+       doexe tpclient-pywx || die "doexe src failed"
+       insinto "$(games_get_libdir)"/${PN}
+       doins *.py || die "doins src failed"
+       insinto "$(games_get_libdir)"/${PN}/extra
+       doins -r extra/* || die "doins src failed"
+       insinto "$(games_get_libdir)"/${PN}/windows
+       doins -r windows/* || die "doins src failed"
+
+       insinto "${GAMES_DATADIR}"/${PN}/graphics
+       doins graphics/* || die "doins graphics failed"
+       insinto "${GAMES_DATADIR}"/${PN}/doc
+       doins doc/tips.txt || die "doins doc failed"
+
+       mv doc/tp-pywx-installed doc/tp-pywx-installed-t
+       sed s%..CODEPATH..%"$(games_get_libdir)"/${PN}%g doc/tp-pywx-installed-t | \
+       sed s%..GRAPHICSPATH..%"${GAMES_DATADIR}"/${PN}/graphics%g | \
+       sed s%..DOCPATH..%"${GAMES_DATADIR}"/${PN}/doc%g > doc/tp-pywx-installed
+       dogamesbin doc/tp-pywx-installed
+
+       dodoc AUTHORS README TODO
+       doicon graphics/tp-icon-32x32.png
+       prepgamesdirs
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       python_mod_optimize "${ROOT}$(games_get_libdir)"/${PN}
+}
+
+pkg_postrm() {
+       python_mod_cleanup "${ROOT}$(games_get_libdir)"/${PN}
+}