Fixed .pth file annoyance (there is probably a better way).
authorAaron Mavrinac <mavrinac@gmail.com>
Fri, 20 Feb 2009 17:08:25 +0000 (12:08 -0500)
committerAaron Mavrinac <mavrinac@gmail.com>
Fri, 20 Feb 2009 17:08:25 +0000 (12:08 -0500)
dev-games/libtpclient-py/ChangeLog
dev-games/libtpclient-py/Manifest
dev-games/libtpclient-py/libtpclient-py-0.3.0.ebuild [deleted file]
dev-games/libtpclient-py/libtpclient-py-0.3.1-r1.ebuild
dev-games/libtpproto-py/ChangeLog
dev-games/libtpproto-py/Manifest
dev-games/libtpproto-py/libtpproto-py-0.2.3.ebuild [deleted file]
dev-games/libtpproto-py/libtpproto-py-0.2.4.ebuild

index 0ecb255..7ca76f8 100644 (file)
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  20 Feb 2009; Aaron Mavrinac <mavrinac@gmail.com> libtpclient-py-0.3.1-r1.ebuild:
+  Removed .pth file annoyance
+
 *libtpclient-py-0.3.1-r1 (18 Oct 2008)
 
   18 Oct 2008; Aaron Mavrinac <mavrinac@gmail.com> libtpclient-py-0.3.1-r1.ebuild:
index abf570c..dea39f6 100644 (file)
@@ -1,6 +1,4 @@
-DIST libtpclient-py-0.3.0.tar.bz2 46506 RMD160 328a01c099b42680f39a323e5e203b197fcb3a4e SHA1 f72eadb75b89c76e57a9ab2b7eb1371dbb477c2f SHA256 208997c0d45cc8c3aca85c7eb267494755a1fa66ee99724fe5b01b059f4edeed
 DIST libtpclient-py-0.3.1.1.tar.bz2 46902 RMD160 954ddccdfd633aa63183cf6974438dd49f414e3f SHA1 5d1fddfd87b70ed0fb07dc1b7c7ab2b78980f26b SHA256 c52cc2dfeb5c396c086c201f144e41678c7fa23bae81de47e4974b9096ad0824
-EBUILD libtpclient-py-0.3.0.ebuild 593 RMD160 05d1ae74db41d48be70e80eef674b98d7d8d806a SHA1 076fb8ab6fa5e991a1593bc7301d9d94709a7ca2 SHA256 f69c9c7cec4cef99eb7cbd6904c1ea7368dae123918ad046f64a6d3f0839226a
-EBUILD libtpclient-py-0.3.1-r1.ebuild 597 RMD160 b3b3e5506d3aa5887cdf1e3966e0e94739c117d5 SHA1 81a8fdbd957f4dea45e5f0b497121f6ca440dd39 SHA256 bed8182bacc462cb91f65aa86d1f3d995f16b783ff0424082b451844d9062288
-MISC ChangeLog 643 RMD160 6aa546b3860c44d02ebf92a551520deccc4e0edb SHA1 18d4420c9c8abc920006f437fdd4b634fc29d7a1 SHA256 d61afaa3cbb6ddbf470b9a0446dd5bf3e19284287fd421f1b1c2c33821d65b5a
+EBUILD libtpclient-py-0.3.1-r1.ebuild 649 RMD160 fc6cd26dbe2a9b8c138fda18731e15f07a69a0b0 SHA1 88489c98fa0d493196d5dd4db7ab5bff345e7bda SHA256 f08e8d46616098e20f8c6b6c0e3dea280593aa56388b6b3632d55bfd4538c315
+MISC ChangeLog 757 RMD160 56d07b91fdafc9a7d189270d097ef684d4b6b269 SHA1 a6ffed1e39161f39290c9a056799156e8c022063 SHA256 002d189d5b22f39c5093ea171909b302a0de39ec3b13adf86536e2e0888ac237
 MISC metadata.xml 371 RMD160 c93c57c6700be28144da76711ee319c13d82349a SHA1 7a85f048686abbb460d4acab40773ae782378b48 SHA256 9a56915c69ed58cbb6d6745b205855ebe7b178765e4d41790c54977ac9632c92
diff --git a/dev-games/libtpclient-py/libtpclient-py-0.3.0.ebuild b/dev-games/libtpclient-py/libtpclient-py-0.3.0.ebuild
deleted file mode 100644 (file)
index ce5bb03..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-NEED_PYTHON=2.3
-
-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-games/libtpproto-py-0.2.3"
-DEPEND="${RDEPEND}
-       dev-python/setuptools"
-
-src_install() {
-       distutils_src_install
-}
index e72a0d2..bcc7068 100644 (file)
@@ -2,8 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-NEED_PYTHON=2.3
-
 inherit distutils eutils
 
 DESCRIPTION="A Python library for development of Thousand Parsec game clients"
@@ -15,10 +13,11 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-RDEPEND=">=dev-games/libtpproto-py-0.2.4"
-DEPEND="${RDEPEND}
-       dev-python/setuptools"
+RDEPEND=">=dev-lang/python-2.3
+                >=dev-games/libtpproto-py-0.2.4"
+DEPEND="${RDEPEND}"
 
 src_install() {
        distutils_src_install
+       rm -f "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/*.pth
 }
index 448124d..1f6d222 100644 (file)
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  20 Feb 2009; Aaron Mavrinac <mavrinac@gmail.com> libtpproto-py-0.2.4.ebuild:
+  Removed .pth file annoyance
+
   27 Sep 2008; Aaron Mavrinac <mavrinac@gmail.com> libtpproto-py-0.2.4.ebuild:
   Stabilized release versions
 
index 3900f08..ad48992 100644 (file)
@@ -1,6 +1,4 @@
-DIST libtpproto-py-0.2.3.tar.bz2 49287 RMD160 8f284f1947ff45654091d67d6f020836fbdf3422 SHA1 c1b22235ed2103f8ec9eac089d8ea3fdfb9b17e5 SHA256 00de59b18ffdcb0862ac5bbd216edaafb10e177ec1a545ffb40e0b024d4ccb29
 DIST libtpproto-py-0.2.4.tar.bz2 49328 RMD160 f969168edd1cd36b78dd59f3c0513ba6c612041c SHA1 c2c21decbbd3e1cb454300dbccfbb8791de94368 SHA256 69704bd707f5e237ee0e82cbfa498a70295fe764c2cc438ec5ef9499f08fa8ed
-EBUILD libtpproto-py-0.2.3.ebuild 606 RMD160 4804675a24876139a43aa083fb8724d8058bcf71 SHA1 98328c7c35360a8ceb5228d496c7797350f9c44a SHA256 c190ca01f0dddd6eba705486268b447e76213c838bdfb63330728400a5d8640c
-EBUILD libtpproto-py-0.2.4.ebuild 606 RMD160 4804675a24876139a43aa083fb8724d8058bcf71 SHA1 98328c7c35360a8ceb5228d496c7797350f9c44a SHA256 c190ca01f0dddd6eba705486268b447e76213c838bdfb63330728400a5d8640c
-MISC ChangeLog 497 RMD160 c450049dc102c0960cf93a4ad78a6109cdb2f70c SHA1 449f19eeced1b00a3a4b67372fc7d0ac7e4c42f0 SHA256 a15d9ba7ee83bdf25bbbf7bc44e4227fececd09878357a79722c2b1230e2483b
+EBUILD libtpproto-py-0.2.4.ebuild 740 RMD160 d9406f59561af76bbf0b096149af8f9b7bf122ea SHA1 cf11c9aa1fab4feba17787d90b131cc874280f04 SHA256 50b92d513b22a1dbae8b672b46a55e28705f904b744cb0e651f656a7e3401072
+MISC ChangeLog 607 RMD160 cf02079292dd2ba3f4c9c8fd54e6b58ae01b35af SHA1 cfb484b5231bd4a98c5c9638cac3704642f3b280 SHA256 501e575aab7f9e1f83ca2cfdd500fc65bf51612d3b14eb065fbc0a7b80f0bb50
 MISC metadata.xml 375 RMD160 9a3a066e62cdbfcb7fb2f14b35a482f375e4ed33 SHA1 648c02c63f450ca1080f13c9a2caa20178a7e9d7 SHA256 7a74f92bc3e30cc68545f4b8e0bec8188a1c9d2bf580e49b9d158cd052930718
diff --git a/dev-games/libtpproto-py/libtpproto-py-0.2.3.ebuild b/dev-games/libtpproto-py/libtpproto-py-0.2.3.ebuild
deleted file mode 100644 (file)
index 2d81e98..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-NEED_PYTHON=2.3
-
-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="ssl? ( dev-python/pyopenssl )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools"
-
-src_install() {
-       distutils_src_install
-}
index 2d81e98..843766a 100644 (file)
@@ -2,8 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-NEED_PYTHON=2.3
-
 inherit distutils eutils
 
 DESCRIPTION="A Python protocol library for Thousand Parsec game clients/servers"
@@ -15,10 +13,13 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="doc ssl"
 
-RDEPEND="ssl? ( dev-python/pyopenssl )"
-DEPEND="${RDEPEND}
-       dev-python/setuptools"
+RDEPEND=">=dev-lang/python-2.3
+                ssl? ( dev-python/pyopenssl )"
+DEPEND="${RDEPEND}"
 
 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
 }