summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2007-04-26 09:26:20 +0000
committerAli Polatel <hawking@gentoo.org>2007-04-26 09:26:20 +0000
commita8ad0b1c1feb31a9329ccf7b975f234f9930e906 (patch)
treeee74380f268c09ae525eab5216ef739f8b5658d2 /dev-python
parentdev-python/mother: version bump (diff)
downloadsunrise-a8ad0b1c1feb31a9329ccf7b975f234f9930e906.tar.gz
sunrise-a8ad0b1c1feb31a9329ccf7b975f234f9930e906.tar.bz2
sunrise-a8ad0b1c1feb31a9329ccf7b975f234f9930e906.zip
dev-python/path: version bump
svn path=/sunrise/; revision=3539
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/path/ChangeLog4
-rw-r--r--dev-python/path/Manifest6
-rw-r--r--dev-python/path/path-2.1.ebuild33
-rw-r--r--dev-python/path/path-2.2.ebuild32
4 files changed, 39 insertions, 36 deletions
diff --git a/dev-python/path/ChangeLog b/dev-python/path/ChangeLog
index 80553c895..9b3a51b4c 100644
--- a/dev-python/path/ChangeLog
+++ b/dev-python/path/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 26 Apr 2007; Ali Polatel (hawking) <polatel@gmail.com> -path-2.1.ebuild,
+ +path-2.2.ebuild:
+ version bump
+
11 Mar 2007; David Grant (dgrant) <davidgrant@gmail.com> path-2.1.ebuild:
added python_mod_optimize and python_mod_cleanup calls
diff --git a/dev-python/path/Manifest b/dev-python/path/Manifest
index d2cd51d79..5790ab64c 100644
--- a/dev-python/path/Manifest
+++ b/dev-python/path/Manifest
@@ -1,4 +1,4 @@
-DIST path-2.1.zip 14204 RMD160 2051a0d5d6940d78beb06ff8fb8942824cb1ab4e SHA1 f5fdb1bacb47a9b68e135fda43d10f8a392ceb0d SHA256 b4032d166deac1f819a9485259031f29e6906411beb980c2d8f840b2e93afada
-EBUILD path-2.1.ebuild 745 RMD160 31569a22703524a184879963f69e2c8b498825ec SHA1 37087186305cb1626ce2dc7fed65886f3f79c7c0 SHA256 29c31747bf5b60d96f0852fd60bcacb39da8e0532992affc466e9de70ba15b59
-MISC ChangeLog 374 RMD160 30f5fe5a3dbcebdbe64f9714379c2bb02867a3e0 SHA1 e9442b23fbfa6ec8843eb2d7d6b2485be0640d02 SHA256 424689440425b23f45dd0bf5987680e86d1812a90e411ad8bd5c398c448f71b1
+DIST path-2.2.zip 14108 RMD160 dd377198d8a7bd9f326ecd544f081d2ecd90170d SHA1 8c331673a673390aa884e2fc686dfb9727fe55de SHA256 815f518a94f391d0988de0f361e5cd5661f2732a3a4557bc1392d071cf7ac550
+EBUILD path-2.2.ebuild 618 RMD160 707ab49be6572521b6022666c57ee2a2501c5041 SHA1 4cf3d43595f18eafc47bc1e238b413796e44ddfe SHA256 a0f0474eb68cbf8fb784d7650956f31da2d0bf3e2f1a1b6f655894ccd7f205ee
+MISC ChangeLog 485 RMD160 8fb9d9944c7b22d43eea50607175a0f538cb7e5f SHA1 4e949bacac34b91189538510afa85fe067af3725 SHA256 650fb4fc2e216f07880860a1df340d561e6e3d37df1f069f58af6706b07626ec
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-python/path/path-2.1.ebuild b/dev-python/path/path-2.1.ebuild
deleted file mode 100644
index b5f113f03..000000000
--- a/dev-python/path/path-2.1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit python multilib
-
-DESCRIPTION="Helpful python wrapper to the os.path module"
-HOMEPAGE="http://www.jorendorff.com/articles/python/path"
-SRC_URI="http://www.jorendorff.com/articles/python/path/${P}.zip"
-
-LICENSE="freedist"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=""
-
-DEPEND="app-arch/unzip"
-RDEPEND=""
-
-src_install() {
- python_version
- insinto /usr/$(get_libdir)/python${PYVER}/site-packages/
- doins path.py
-}
-
-pkg_postinst() {
- python_version
- python_mod_optimize ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages
-}
-
-pkg_postrm() {
- python_version
- python_mod_cleanup ${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages
-}
diff --git a/dev-python/path/path-2.2.ebuild b/dev-python/path/path-2.2.ebuild
new file mode 100644
index 000000000..33c7d6f90
--- /dev/null
+++ b/dev-python/path/path-2.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit distutils
+
+DESCRIPTION="Helpful python wrapper to the os.path module"
+HOMEPAGE="http://www.jorendorff.com/articles/python/path"
+SRC_URI="http://www.jorendorff.com/articles/python/${PN}/${P}.zip"
+
+LICENSE="freedist"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+src_test() {
+ ${python} test_path.py || die "test failed"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Don't install test_path.py
+ sed -i \
+ -e "s/, 'test_path'//" \
+ setup.py || die "sed failed"
+}
+