diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/pychecker | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/pychecker')
-rw-r--r-- | dev-python/pychecker/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pychecker/files/pychecker-0.8.17-no-data-files.patch | 15 | ||||
-rw-r--r-- | dev-python/pychecker/files/pychecker-0.8.18-pychecker2.patch | 11 | ||||
-rw-r--r-- | dev-python/pychecker/files/pychecker-0.8.19-create_script.patch | 13 | ||||
-rw-r--r-- | dev-python/pychecker/files/pychecker-0.8.19-version.patch | 12 | ||||
-rw-r--r-- | dev-python/pychecker/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/pychecker/pychecker-0.8.19-r1.ebuild | 44 |
7 files changed, 104 insertions, 0 deletions
diff --git a/dev-python/pychecker/Manifest b/dev-python/pychecker/Manifest new file mode 100644 index 000000000000..e5f47a04f548 --- /dev/null +++ b/dev-python/pychecker/Manifest @@ -0,0 +1 @@ +DIST pychecker-0.8.19.tar.gz 99783 SHA256 44fb26668f74aca3738f02d072813762a37ce1242f50dbff573720fa2e953279 SHA512 50f3d87a0ea80235761eb0ff078dc7e815848c356cea2bdf12bb699edc6d3301252acebaf6ab6aa961849d740dc38bc9b6deb7cfe956e7fff83a104750adfa18 WHIRLPOOL 1bf382babfed78a4dbe2805ce3d2c1c0acf38a3f5dc1638c2788d77a3825a1c34714b1a7c256221fec2a1d21cf16d12ecb95f6c3875fcadddcae8044bdb4b292 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 000000000000..aeaaa1a98443 --- /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 000000000000..e225d1a06b14 --- /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/files/pychecker-0.8.19-create_script.patch b/dev-python/pychecker/files/pychecker-0.8.19-create_script.patch new file mode 100644 index 000000000000..ca4367591174 --- /dev/null +++ b/dev-python/pychecker/files/pychecker-0.8.19-create_script.patch @@ -0,0 +1,13 @@ +--- setup.py ++++ setup.py +@@ -221,7 +221,9 @@ + script_str = "%s %s %%*\n" % (sys.executable, checker_path) + else: + script_str = '#! /bin/sh\n\n%s %s "$@"\n' % (sys.executable, checker_path) +- open(script_path, "w").write(script_str) ++ script = open(script_path, "w") ++ script.write(script_str) ++ script.close() + except Exception, e: + print "ERROR: Unable to create %s: %s" % (script_path, e) + raise e diff --git a/dev-python/pychecker/files/pychecker-0.8.19-version.patch b/dev-python/pychecker/files/pychecker-0.8.19-version.patch new file mode 100644 index 000000000000..9fe8490175a8 --- /dev/null +++ b/dev-python/pychecker/files/pychecker-0.8.19-version.patch @@ -0,0 +1,12 @@ +diff -ur pychecker-0.8.19.orig/pychecker/Config.py pychecker-0.8.19/pychecker/Config.py +--- pychecker/Config.py 2013-02-01 12:06:10.669695876 +0800 ++++ pychecker/Config.py 2013-02-01 12:06:26.238695001 +0800 +@@ -33,7 +33,7 @@ + + _RC_FILE = ".pycheckrc" + CHECKER_VAR = '__pychecker__' +-_VERSION = '0.8.18' ++_VERSION = '0.8.19' + + _DEFAULT_BLACK_LIST = [ "Tkinter", "wxPython", "gtk", "GTK", "GDK", ] + _DEFAULT_VARIABLE_IGNORE_LIST = [ '__version__', '__warningregistry__', diff --git a/dev-python/pychecker/metadata.xml b/dev-python/pychecker/metadata.xml new file mode 100644 index 000000000000..1ed01a6dd62d --- /dev/null +++ b/dev-python/pychecker/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="sourceforge">pychecker</remote-id> + </upstream> +</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..e54b49fc5877 --- /dev/null +++ b/dev-python/pychecker/pychecker-0.8.19-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |