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
This commit is contained in:
Robin H. Johnson
2015-08-08 13:49:04 -07:00
commit 56bd759df1
97532 changed files with 3536859 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pychecker-0.8.19.tar.gz 99783 SHA256 44fb26668f74aca3738f02d072813762a37ce1242f50dbff573720fa2e953279 SHA512 50f3d87a0ea80235761eb0ff078dc7e815848c356cea2bdf12bb699edc6d3301252acebaf6ab6aa961849d740dc38bc9b6deb7cfe956e7fff83a104750adfa18 WHIRLPOOL 1bf382babfed78a4dbe2805ce3d2c1c0acf38a3f5dc1638c2788d77a3825a1c34714b1a7c256221fec2a1d21cf16d12ecb95f6c3875fcadddcae8044bdb4b292

View File

@@ -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,
}

View File

@@ -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

View File

@@ -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

View File

@@ -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__',

View File

@@ -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>

View File

@@ -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
}