diff options
author | Justin Lecher <jlec@gentoo.org> | 2014-10-23 12:15:30 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2014-10-23 12:15:30 +0000 |
commit | d1c2874c9e423b0ca8156cb0dcab693e9c62cfde (patch) | |
tree | 9bb20dd064197d491aaa7fb41fed9650c42b7f14 /dev-python | |
parent | Version bump (diff) | |
download | gentoo-2-d1c2874c9e423b0ca8156cb0dcab693e9c62cfde.tar.gz gentoo-2-d1c2874c9e423b0ca8156cb0dcab693e9c62cfde.tar.bz2 gentoo-2-d1c2874c9e423b0ca8156cb0dcab693e9c62cfde.zip |
dev-python/pychecker: Bump to new python eclass
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pychecker/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pychecker/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/pychecker/pychecker-0.8.19-r1.ebuild | 44 |
3 files changed, 53 insertions, 3 deletions
diff --git a/dev-python/pychecker/ChangeLog b/dev-python/pychecker/ChangeLog index 414e4f50a2f1..60265425206a 100644 --- a/dev-python/pychecker/ChangeLog +++ b/dev-python/pychecker/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pychecker -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.59 2013/10/22 14:18:24 grobian Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.60 2014/10/23 12:15:30 jlec Exp $ + +*pychecker-0.8.19-r1 (23 Oct 2014) + + 23 Oct 2014; Justin Lecher <jlec@gentoo.org> +pychecker-0.8.19-r1.ebuild, + metadata.xml: + Bump to new python eclass 22 Oct 2013; Fabian Groffen <grobian@gentoo.org> pychecker-0.8.19.ebuild: Marked ~x64-macos, bug #487670 diff --git a/dev-python/pychecker/metadata.xml b/dev-python/pychecker/metadata.xml index de483c53568f..ee7e8b2450a8 100644 --- a/dev-python/pychecker/metadata.xml +++ b/dev-python/pychecker/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>python</herd> + <herd>python</herd> </pkgmetadata> diff --git a/dev-python/pychecker/pychecker-0.8.19-r1.ebuild b/dev-python/pychecker/pychecker-0.8.19-r1.ebuild new file mode 100644 index 000000000000..774de2582c30 --- /dev/null +++ b/dev-python/pychecker/pychecker-0.8.19-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.19-r1.ebuild,v 1.1 2014/10/23 12:15:30 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Python source code checking tool" +HOMEPAGE="http://pychecker.sourceforge.net/ http://pypi.python.org/pypi/PyChecker" +SRC_URI="mirror://sourceforge/pychecker/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="" + +DOCS=( pycheckrc ChangeLog KNOWN_BUGS MAINTAINERS NEWS README TODO ) + +PATCHES=( + "${FILESDIR}"/${P}-version.patch + "${FILESDIR}"/${P}-create_script.patch + ) + +python_prepare_all() { + sed \ + -e '1d' \ + -i pychecker/checker.py \ + || die + + # Disable installation of unneeded files. + sed \ + -e "/'data_files' :/d" \ + -i setup.py || die "sed failed" + + # Strip final "/" from root. + sed \ + -e 's:root = self\.distribution\.get_command_obj("install")\.root:&\.rstrip("/"):' \ + -i setup.py || die "sed failed" + + distutils-r1_python_prepare_all +} |