diff options
author | Mike Gilbert <floppym@gentoo.org> | 2013-01-18 06:03:09 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2013-01-18 06:03:09 +0000 |
commit | 13a301e8c714206958ce3520c31f7a608747e7f2 (patch) | |
tree | f749c34eb8d9dbf45da6718ce48b34d76e8b62ef /dev-python/chardet | |
parent | Convert to distutils-r1. (diff) | |
download | gentoo-2-13a301e8c714206958ce3520c31f7a608747e7f2.tar.gz gentoo-2-13a301e8c714206958ce3520c31f7a608747e7f2.tar.bz2 gentoo-2-13a301e8c714206958ce3520c31f7a608747e7f2.zip |
Simplify code a bit.
(Portage version: 2.2.0_alpha154/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/chardet')
-rw-r--r-- | dev-python/chardet/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/chardet/chardet-2.0.1-r1.ebuild | 15 |
2 files changed, 10 insertions, 10 deletions
diff --git a/dev-python/chardet/ChangeLog b/dev-python/chardet/ChangeLog index 780fcfb664e2..64bd077ef789 100644 --- a/dev-python/chardet/ChangeLog +++ b/dev-python/chardet/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/chardet # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/ChangeLog,v 1.24 2013/01/18 05:57:47 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/ChangeLog,v 1.25 2013/01/18 06:03:09 floppym Exp $ + + 18 Jan 2013; Mike Gilbert <floppym@gentoo.org> chardet-2.0.1-r1.ebuild: + Simplify code a bit. *chardet-2.0.1-r1 (18 Jan 2013) diff --git a/dev-python/chardet/chardet-2.0.1-r1.ebuild b/dev-python/chardet/chardet-2.0.1-r1.ebuild index f1ea8ece3fb5..581ed8b54955 100644 --- a/dev-python/chardet/chardet-2.0.1-r1.ebuild +++ b/dev-python/chardet/chardet-2.0.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/chardet-2.0.1-r1.ebuild,v 1.1 2013/01/18 05:57:47 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/chardet/chardet-2.0.1-r1.ebuild,v 1.2 2013/01/18 06:03:09 floppym Exp $ EAPI="5" PYTHON_COMPAT=( python{2_{5,6,7},3_{1,2,3}} pypy{1_9,2_0} ) @@ -27,21 +27,18 @@ push_sourcedir() { else pushd "${WORKDIR}/python2-${P}" || die fi + "$@" + popd } python_compile() { - push_sourcedir - distutils-r1_python_compile - popd + push_sourcedir distutils-r1_python_compile } python_install() { - push_sourcedir - distutils-r1_python_install - popd + push_sourcedir distutils-r1_python_install } python_install_all() { - push_sourcedir - dohtml -r docs/ + push_sourcedir dohtml -r docs/ } |