diff options
author | 2014-03-21 07:00:31 +0000 | |
---|---|---|
committer | 2014-03-21 07:00:31 +0000 | |
commit | 1368690a503d446579d4dd813e189e04da72b2d4 (patch) | |
tree | 9d5d6ae5fb819cf6c42529a0bf44fff88ac982ef /dev-python/doit | |
parent | Fix bug in objdump handling with `scanelf -vT`. (diff) | |
download | gentoo-2-1368690a503d446579d4dd813e189e04da72b2d4.tar.gz gentoo-2-1368690a503d446579d4dd813e189e04da72b2d4.tar.bz2 gentoo-2-1368690a503d446579d4dd813e189e04da72b2d4.zip |
revbump; update deps, rm old patch, fix test phase, fixes Bug 503616 by eroen
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/doit')
-rw-r--r-- | dev-python/doit/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/doit/doit-0.23.0-r1.ebuild | 51 | ||||
-rw-r--r-- | dev-python/doit/files/doit-0.16.1-setup.py-encoding.patch | 13 |
3 files changed, 59 insertions, 15 deletions
diff --git a/dev-python/doit/ChangeLog b/dev-python/doit/ChangeLog index 24ed581075bd..15fe5fd1f059 100644 --- a/dev-python/doit/ChangeLog +++ b/dev-python/doit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/doit -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.6 2013/10/06 05:58:37 yngwin Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/ChangeLog,v 1.7 2014/03/21 07:00:31 idella4 Exp $ + +*doit-0.23.0-r1 (21 Mar 2014) + + 21 Mar 2014; Ian Delaney <idella4@gentoo.org> +doit-0.23.0-r1.ebuild, + -files/doit-0.16.1-setup.py-encoding.patch: + revbump; update deps, rm old patch, fix test phase, fixes Bug 503616 by eroen *doit-0.23.0 (06 Oct 2013) diff --git a/dev-python/doit/doit-0.23.0-r1.ebuild b/dev-python/doit/doit-0.23.0-r1.ebuild new file mode 100644 index 000000000000..79591be82f25 --- /dev/null +++ b/dev-python/doit/doit-0.23.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/doit/doit-0.23.0-r1.ebuild,v 1.1 2014/03/21 07:00:31 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 ) +inherit eutils distutils-r1 + +DESCRIPTION="Automation tool" +HOMEPAGE="http://python-doit.sourceforge.net/ http://pypi.python.org/pypi/doit" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +RDEPEND="dev-python/pyinotify[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DOCS=( AUTHORS CHANGES README TODO.txt dev_requirements.txt ) + +python_prepare_all() { + use test && DISTUTILS_IN_SOURCE_BUILD=1 + # Tests of this file fail due to setting of a tmp dir which can be fixed. + # This known spurious cause does not warrant halting a testsuite + rm -f tests/test_cmd_strace.py || die + + # These 2 tests succeed on running the suite a second time, so they are NOT broken + # A gentoo test phase is run only once, so these unbroken tests can be safely skipped. + sed -e s':testInit:_&:' -e s':testLoop:_&:' \ + -i tests/test_filewatch.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + # Testsuite is designed to be run by py.test, called by runtests.py + if [[ "${EPYTHON}" == 'pypy-c2.0' ]]; then + einfo "some tests are not supported by pypy" + else + "${PYTHON}" runtests.py + fi +} + +src_install() { + distutils-r1_src_install + + dodoc -r doc + docompress -x /usr/share/doc/${PF}/doc +} diff --git a/dev-python/doit/files/doit-0.16.1-setup.py-encoding.patch b/dev-python/doit/files/doit-0.16.1-setup.py-encoding.patch deleted file mode 100644 index 4fa9f82e308a..000000000000 --- a/dev-python/doit/files/doit-0.16.1-setup.py-encoding.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -r c996cf6da98a setup.py ---- a/setup.py Thu Jul 05 09:00:09 2012 +0800 -+++ b/setup.py Wed Aug 29 12:10:37 2012 +0200 -@@ -84,7 +84,8 @@ - scripts = scripts, - cmdclass = {'test': PyTest}, - install_requires = install_requires, -- long_description = open('doc/index.rst').read().split('Quick Start')[0], -+ long_description = open('doc/index.rst', 'rb' -+ ).read().decode('utf-8').split('Quick Start')[0], - **extra - ) - |