diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2012-03-01 15:56:07 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2012-03-01 15:56:07 +0000 |
commit | 64b9d2d85b0642524cef79c9ea89b49dfc788f25 (patch) | |
tree | ebcd9f655fc9f4afd7519b087a7965f031b792b6 /dev-python | |
parent | Remove some old versions. (diff) | |
download | gentoo-2-64b9d2d85b0642524cef79c9ea89b49dfc788f25.tar.gz gentoo-2-64b9d2d85b0642524cef79c9ea89b49dfc788f25.tar.bz2 gentoo-2-64b9d2d85b0642524cef79c9ea89b49dfc788f25.zip |
Version bump dulwich to 0.8.3 for bug 404173.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/dulwich/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/dulwich/dulwich-0.8.3.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-python/dulwich/ChangeLog b/dev-python/dulwich/ChangeLog index e6712acd9c25..c2b2f483ed84 100644 --- a/dev-python/dulwich/ChangeLog +++ b/dev-python/dulwich/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/dulwich # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.47 2012/03/01 15:52:04 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.48 2012/03/01 15:56:07 djc Exp $ + +*dulwich-0.8.3 (01 Mar 2012) + + 01 Mar 2012; Dirkjan Ochtman <djc@gentoo.org> +dulwich-0.8.3.ebuild: + Version bump to 0.8.3 for bug 404173 (thanks to Ian Delaney). 01 Mar 2012; Dirkjan Ochtman <djc@gentoo.org> -dulwich-0.7.1.ebuild, -dulwich-0.8.0.ebuild: diff --git a/dev-python/dulwich/dulwich-0.8.3.ebuild b/dev-python/dulwich/dulwich-0.8.3.ebuild new file mode 100644 index 000000000000..58ed067c74a6 --- /dev/null +++ b/dev-python/dulwich/dulwich-0.8.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/dulwich-0.8.3.ebuild,v 1.1 2012/03/01 15:56:07 djc Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils + +DESCRIPTION="Dulwich is a pure-Python implementation of the Git file formats and protocols." +HOMEPAGE="http://samba.org/~jelmer/dulwich/ http://pypi.python.org/pypi/dulwich" +SRC_URI="http://samba.org/~jelmer/dulwich/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND="dev-python/setuptools + test? ( || ( dev-lang/python:2.7 dev-python/unittest2 ) )" +RDEPEND="" + +src_prepare() { + distutils_src_prepare + sed -e "s/test_fetch_from_dulwich(/_&/" -i dulwich/tests/compat/server_utils.py +} + +distutils_src_test_pre_hook() { + local module + for module in _diff_tree _objects _pack; do + ln -fs "../$(ls -d build-${PYTHON_ABI}/lib.*)/dulwich/${module}.so" "dulwich/${module}.so" || die "Symlinking dulwich/${module}.so failed with $(python_get_implementation_and_version)" + done +} + +src_install() { + distutils_src_install + + delete_tests() { + rm -fr "${ED}$(python_get_sitedir)/dulwich/tests" + } + python_execute_function -q delete_tests +} |