summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hammill <mike@kth.se>2011-04-02 13:12:59 +0200
committerMike Hammill <mike@kth.se>2011-04-02 13:12:59 +0200
commit9b39b618a00f969d10dfed625500243103d304d0 (patch)
tree5faa2b7e9f089b25e74451d2a71bd6b2225ac115
parentApply Simon Wilkinson's kext patch and remove incompatibilities. (diff)
downloadmhammill-9b39b618a00f969d10dfed625500243103d304d0.tar.gz
mhammill-9b39b618a00f969d10dfed625500243103d304d0.tar.bz2
mhammill-9b39b618a00f969d10dfed625500243103d304d0.zip
Modify pychecker 0.8.18 ebuild to work with pychecker 0.8.19.
Pychecker 0.8.19 is required if working in python 2.7.
-rw-r--r--dev-python/pychecker/ChangeLog186
-rw-r--r--dev-python/pychecker/Manifest8
-rw-r--r--dev-python/pychecker/files/pychecker-0.8.17-no-data-files.patch15
-rw-r--r--dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch11
-rw-r--r--dev-python/pychecker/metadata.xml5
-rw-r--r--dev-python/pychecker/pychecker-0.8.18.ebuild31
-rw-r--r--dev-python/pychecker/pychecker-0.8.19.ebuild33
7 files changed, 289 insertions, 0 deletions
diff --git a/dev-python/pychecker/ChangeLog b/dev-python/pychecker/ChangeLog
new file mode 100644
index 0000000..32f2af2
--- /dev/null
+++ b/dev-python/pychecker/ChangeLog
@@ -0,0 +1,186 @@
+# ChangeLog for dev-python/pychecker
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/ChangeLog,v 1.47 2009/10/25 14:00:33 arfrever Exp $
+
+ 02 Apr 2011; Mike Hammill <michael@hammill.name>
+ pychecker-0.8.19.ebuild:
+ x86_64 no-multilib tested working for python2.7
+
+ 25 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pychecker-0.8.18.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
+
+ 11 Oct 2009; Fabian Groffen <grobian@gentoo.org> pychecker-0.8.18.ebuild:
+ Merge from Prefix
+
+ 23 Jul 2009; Raúl Porcel <armin76@gentoo.org> pychecker-0.8.18.ebuild:
+ alpha/ia64 stable wrt #278174
+
+ 22 Jul 2009; Jeremy Olexa <darkside@gentoo.org> pychecker-0.8.18.ebuild:
+ amd64 stable, bug 278174
+
+ 21 Jul 2009; Christian Faulhammer <fauli@gentoo.org>
+ pychecker-0.8.18.ebuild:
+ stable x86, bug 278174
+
+ 17 Jul 2009; nixnut <nixnut@gentoo.org> pychecker-0.8.18.ebuild:
+ ppc stable #278174
+
+ 17 Jul 2009; Ferris McCormick <fmccor@gentoo.org> pychecker-0.8.18.ebuild:
+ Sparc stable, Bug #278174.
+
+ 17 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ pychecker-0.8.18.ebuild:
+ Fix path in /usr/bin/pychecker (bug #265384).
+
+*pychecker-0.8.18 (04 Jan 2009)
+
+ 04 Jan 2009; Patrick Lauer <patrick@gentoo.org>
+ +files/pychecker-0.8.18-pychecker2.patch, +pychecker-0.8.18.ebuild:
+ Bump to 0.8.18, fixes part of #216970, thanks to Frank Richter
+
+*pychecker-0.8.17-r1 (01 Sep 2008)
+
+ 01 Sep 2008; Ali Polatel <hawking@gentoo.org>
+ +files/pychecker-0.8.17-no-data-files.patch, +pychecker-0.8.17-r1.ebuild:
+ Revision bump. Add patch by René 'Necoro' Neumann not to install data
+ files under site-packages, #236365
+
+ 17 Feb 2008; Santiago M. Mola <coldwind@gentoo.org>
+ pychecker-0.8.17.ebuild:
+ amd64 stable wrt bug #204472
+
+ 17 Feb 2008; Raúl Porcel <armin76@gentoo.org> pychecker-0.8.17.ebuild:
+ alpha/ia64 stable wrt #204472
+
+ 16 Feb 2008; Markus Meier <maekke@gentoo.org> pychecker-0.8.17.ebuild:
+ x86 stable, bug #204472
+
+ 15 Feb 2008; nixnut <nixnut@gentoo.org> pychecker-0.8.17.ebuild:
+ Stable on ppc wrt bug 204472
+
+ 15 Feb 2008; Ferris McCormick <fmccor@gentoo.org> pychecker-0.8.17.ebuild:
+ Sparc stable, Bug #204472.
+
+ 21 Feb 2007; Lukasz Strzygowski <lucass@gentoo.org>
+ files/digest-pychecker-0.8.14, files/digest-pychecker-0.8.16, Manifest:
+ Convert to Manifest2.
+
+ 08 Feb 2006; Lukasz Strzygowski <lucass@gentoo.org>
+ -pychecker-0.8.12.ebuild, -pychecker-0.8.13.ebuild:
+ Removed older releases.
+
+*pychecker-0.8.17 (08 Feb 2006)
+
+ 08 Feb 2006; Lukasz Strzygowski <lucass@gentoo.org>
+ +pychecker-0.8.17.ebuild:
+ Version bump. Fixed not to install docs in site-packages.
+
+*pychecker-0.8.16 (05 Dec 2005)
+
+ 05 Dec 2005; Marien Zwart <marienz@gentoo.org> +pychecker-0.8.16.ebuild:
+ Version bump.
+
+ 02 Oct 2005; Aron Griffis <agriffis@gentoo.org> pychecker-0.8.14.ebuild:
+ Mark 0.8.14 stable on ia64
+
+ 26 Aug 2005; Aron Griffis <agriffis@gentoo.org> pychecker-0.8.14.ebuild:
+ add ~ia64
+
+ 07 Aug 2005; Michael Hanselmann <hansmi@gentoo.org>
+ pychecker-0.8.14.ebuild:
+ Stable on ppc.
+
+ 02 Jul 2005; Bryan Østergaard <kloeri@gentoo.org>
+ pychecker-0.8.14.ebuild:
+ Stable on alpha.
+
+ 22 May 2005; Jason Wever <weeve@gentoo.org> pychecker-0.8.14.ebuild:
+ Stable on SPARC.
+
+ 14 May 2005; Heinrich Wendel <lanius@gentoo.org> pychecker-0.8.14.ebuild:
+ stable on amd64 / x86
+
+ 23 Apr 2005; Bryan Østergaard <kloeri@gentoo.org>
+ pychecker-0.8.14.ebuild:
+ Remove RESTRICT="nomirror".
+
+ 30 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> pychecker-0.8.14.ebuild:
+ keywords ~amd64; closes #60997.
+
+ 20 Aug 2004; Jason Wever <weeve@gentoo.org> pychecker-0.8.13.ebuild:
+ Stable on sparc.
+
+ 12 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> -pychecker-0.8.11.ebuild,
+ pychecker-0.8.13.ebuild:
+ Stable on x86, remove old ebuild.
+
+*pychecker-0.8.14 (07 Jun 2004)
+
+ 07 Jun 2004; Lukasz Strzygowski <lucass@gentoo.org> pychecker-0.8.14.ebuild:
+ Version bump. Marked testing on ~alpha, added RESTRICT='nomirror' and
+ replaced mydocs with DOCS.
+
+ 02 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> pychecker-0.8.13.ebuild:
+ Stable on alpha.
+
+ 24 May 2004; David Holm <dholm@gentoo.org> pychecker-0.8.13.ebuild:
+ Added to ~ppc.
+
+ 04 May 2004; Bryan Østergaard <kloeri@gentoo.org> pychecker-0.8.11.ebuild,
+ pychecker-0.8.12.ebuild, pychecker-0.8.13.ebuild:
+ Add missing IUSE.
+
+*pychecker-0.8.13 (29 Feb 2004)
+
+ 29 Feb 2004; <kloeri@gentoo.org> pychecker-0.8.13.ebuild:
+ Version bump.
+
+ 26 Feb 2004; Sven Blumenstein <bazik@gentoo.org> pychecker-0.8.12.ebuild:
+ Stable on sparc.
+
+*pychecker-0.8.12 (04 Apr 2003)
+
+ 04 Apr 2003; Alastair Tse <liquidx@gentoo.org> pychecker-0.8.12.ebuild:
+ version bump
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*pychecker-0.8.11 (24 Sep 2002)
+ 24 Sep 2002; Jon Nelson <jnelson@gentoo.org> pychecker-0.8.11.ebuild:
+
+ Update to 0.8.11 to resolve 8278
+ Use distutils eclass
+
+*pychecker-0.8.10-r1 (28 Apr 2002)
+
+ 29 Jul 2002; George Shapovalov <george@gentoo.org> pychecker-0.8.3.ebuild, pychecker-0.8.7.ebuild, pychecker-0.8.10.ebuild, pychecker-0.8.10-r1.ebuild :
+
+ Added KEYWORDS,SLOT,LICENSE
+
+ 28 Apr 2002; Jon Nelson <jnelson@gentoo.org> pychecker-0.8.10-r1.ebuild :
+
+ Use '--root=' instead of --prefix for proper install via DistUtils
+ Allows unmasking of pychecker
+
+*pychecker-0.8.10 (13 Apr 2002)
+
+ 13 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> pychecker-0.8.3.ebuild files/digest-pychecker-0.8.3 pychecker-0.8.7.ebuild files/digest-pychecker-0.8.7 pychecker-0.8.10.ebuild files/digest-pychecker-0.8.10 :
+
+ New upstream version.
+
+ Removed old versions.
+
+*pychecker-0.8.7 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/dev-python/pychecker/Manifest b/dev-python/pychecker/Manifest
new file mode 100644
index 0000000..1e0e78c
--- /dev/null
+++ b/dev-python/pychecker/Manifest
@@ -0,0 +1,8 @@
+AUX pychecker-0.8.17-no-data-files.patch 683 RMD160 c27905b3ceb11a917d17337c88675dc6095169d1 SHA1 b4922f581e6ff027c12185e064ac5877194f5123 SHA256 44c7aebc4e436c61961fd308447c88a4c0c57f0b44e23b96dac60d3da6a9a7b9
+AUX pychecker-0.8.18-pychecker2.patch 599 RMD160 f2ac793a3e2d04cac5f28df6850f57dc9c1cd8a9 SHA1 1d7275fd7464fbc9157c645209f0c7d8f6a709bb SHA256 8f294af0029cad0acbfa9a3a7a3778f8205cf0097fe3ba397e0f676cec08d551
+DIST pychecker-0.8.18.tar.gz 145784 RMD160 e3d30443c955757cb67353888df41a10f8e8eece SHA1 fae410ab70523dfc8077eeb0fbf4ad11dee4a5f5 SHA256 6495fe464659b175cefce20b187de6904b97b065fd609445b932d9c49a75a024
+DIST pychecker-0.8.19.tar.gz 99783 RMD160 7c401f3d2025dec1438c623b161359ef9721d0bf SHA1 acbc469b4ecde0182e9be42dceeae5375a923ff3 SHA256 44fb26668f74aca3738f02d072813762a37ce1242f50dbff573720fa2e953279
+EBUILD pychecker-0.8.18.ebuild 963 RMD160 4059a4969208000672c5c24127d4c6f8ddc2459b SHA1 7268b2c33b797b4b1dea78da22411eaedbc00262 SHA256 aaae169721cb02a9f4cc4c53beecc41705878a4768d9f60ef6c03ade4dd1ec41
+EBUILD pychecker-0.8.19.ebuild 1051 RMD160 0c9bd3100c4bd76b40636ac25b87f48f078ea191 SHA1 4d1911ab08c5417dfa0a22cda5c4a6c94c836a8e SHA256 02729b792d40ee0267a73a03c9974e54ef3fdae14485087f6f089a9737d9ec34
+MISC ChangeLog 6277 RMD160 3ce3508e6a796ceae26e46574ac11ad1188cb9cc SHA1 dbb429c5a8895d1382f87f66ba9c496461833495 SHA256 6eb39a55214f86965b6ed91b03819d9fd27cbb69a7e2d334bf170c791ac32f95
+MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/pychecker/files/pychecker-0.8.17-no-data-files.patch b/dev-python/pychecker/files/pychecker-0.8.17-no-data-files.patch
new file mode 100644
index 0000000..aeaaa1a
--- /dev/null
+++ b/dev-python/pychecker/files/pychecker-0.8.17-no-data-files.patch
@@ -0,0 +1,15 @@
+=== modified file 'setup.py'
+--- setup.py 2008-09-01 16:31:56 +0000
++++ setup.py 2008-09-01 16:33:28 +0000
+@@ -255,7 +255,9 @@
+ 'url' : "http://pychecker.sourceforge.net/",
+ 'packages' : [ 'pychecker', ],
+ 'scripts' : [ "pychecker" ], # note: will be replaced by customized action
+- 'data_files' : [ ( "pychecker", DATA_FILES, ) ],
++ # Gentoo Modification: Do not install data files into site-packages
++ # use DOCS variable in ebuild instead
++ #'data_files' : [ ( "pychecker", DATA_FILES, ) ],
+ 'long_description' : LONG_DESCRIPTION,
+ 'cmdclass' : CUSTOMIZED_ACTIONS,
+ }
+
diff --git a/dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch b/dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch
new file mode 100644
index 0000000..e225d1a
--- /dev/null
+++ b/dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch
@@ -0,0 +1,11 @@
+--- setup.py 2008-11-09 17:43:10.928105449 +0100
++++ setup.py 2008-11-09 17:38:52.000000000 +0100
+@@ -258,7 +258,7 @@
+ 'author' : "Neal Norwitz",
+ 'author_email' : "nnorwitz@gmail.com",
+ 'url' : "http://pychecker.sourceforge.net/",
+- 'packages' : [ 'pychecker', ],
++ 'packages' : [ 'pychecker', 'pychecker2' ],
+ 'scripts' : [ "pychecker" ], # note: will be replaced by customized action
+ # Gentoo Modification: Do not install data files into site-packages
+ # use DOCS variable in ebuild instead
diff --git a/dev-python/pychecker/metadata.xml b/dev-python/pychecker/metadata.xml
new file mode 100644
index 0000000..de483c5
--- /dev/null
+++ b/dev-python/pychecker/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>
diff --git a/dev-python/pychecker/pychecker-0.8.18.ebuild b/dev-python/pychecker/pychecker-0.8.18.ebuild
new file mode 100644
index 0000000..9c23973
--- /dev/null
+++ b/dev-python/pychecker/pychecker-0.8.18.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild,v 1.9 2009/10/25 14:00:33 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+DESCRIPTION="Tool for finding common bugs in python source code"
+SRC_URI="mirror://sourceforge/pychecker/${P}.tar.gz"
+HOMEPAGE="http://pychecker.sourceforge.net/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+RESTRICT_PYTHON_ABIS="3.*"
+
+PYTHON_MODNAME="pychecker pychecker2"
+DOCS="pycheckrc"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}"/pychecker-0.8.17-no-data-files.patch
+ epatch "${FILESDIR}"/pychecker-0.8.18-pychecker2.patch
+ sed -e 's:root = self\.distribution\.get_command_obj("install")\.root:&\.rstrip("/"):' -i setup.py || die "sed setup.py failed"
+}
diff --git a/dev-python/pychecker/pychecker-0.8.19.ebuild b/dev-python/pychecker/pychecker-0.8.19.ebuild
new file mode 100644
index 0000000..193aa64
--- /dev/null
+++ b/dev-python/pychecker/pychecker-0.8.19.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pychecker/pychecker-0.8.18.ebuild,v 1.9 2009/10/25 14:00:33 arfrever Exp $
+# 0.8.18.ebuild modified by mhammill for use with 0.8.19
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+DESCRIPTION="Tool for finding common bugs in python source code"
+SRC_URI="mirror://sourceforge/pychecker/${P}.tar.gz"
+HOMEPAGE="http://pychecker.sourceforge.net/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+RESTRICT_PYTHON_ABIS="3.*"
+
+# PYTHON_MODNAME="pychecker pychecker2"
+PYTHON_MODNAME="pychecker"
+DOCS="pycheckrc"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}"/pychecker-0.8.17-no-data-files.patch
+ # epatch "${FILESDIR}"/pychecker-0.8.18-pychecker2.patch
+ sed -e 's:root = self\.distribution\.get_command_obj("install")\.root:&\.rstrip("/"):' -i setup.py || die "sed setup.py failed"
+}