diff options
author | Ali Polatel <hawking@gentoo.org> | 2007-04-26 09:26:20 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2007-04-26 09:26:20 +0000 |
commit | a8ad0b1c1feb31a9329ccf7b975f234f9930e906 (patch) | |
tree | ee74380f268c09ae525eab5216ef739f8b5658d2 /dev-python/path/path-2.2.ebuild | |
parent | dev-python/mother: version bump (diff) | |
download | sunrise-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/path/path-2.2.ebuild')
-rw-r--r-- | dev-python/path/path-2.2.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
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" +} + |