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,2 @@
DIST Epsilon-0.6.0.tar.gz 96243 SHA256 2be3a6ef877c4e17ca9dadd6b484fe31bdf16c20b949ec6a8b15677e08c512fa SHA512 0ce7ba2eb86811dc50a0e86b9f3d85be1a4f930f86659c2381a1d80455e1e86362b8719c92ae2ad951a34264e5d0649ec5de96f1179734c7fab6c3abc6fb037b WHIRLPOOL 6aa363b44a42f29ec836cf46b2fdfe3bb57541a9fe282b57ea888f4906b9c438c9eb99d5a0876cb11108b7337a0691c45810a3e44579023f0b660e8752952120
DIST Epsilon-0.7.0.tar.gz 81218 SHA256 81419d50b17a20efd75440d43e4b07fe3c2a5e6d619f39318dab9031a0680032 SHA512 d1927ca431df3233a94296ca9e1f5dd70d6d61091d23f77df2222c6472d9a5f7b55c5c8dd2a75d0fead41af862c9e3a6a0ea9a31e21447459d5182f0d677d9b2 WHIRLPOOL 8cbab28e5e05b44b521c5f66494de1e2f4bee7713487cfb9d87bfcc108dc05b6534919934fd53cb1b0dc7aee633187351973b78cfdabf0584d6b294104a05a57

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit twisted-r1 eutils
DESCRIPTION="Epsilon is a Python utilities package, most famous for its Time class"
HOMEPAGE="http://divmod.org/trac/wiki/DivmodEpsilon http://pypi.python.org/pypi/Epsilon"
SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE=""
DEPEND="dev-python/twisted-core[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/epsilon_plugincache_portagesandbox.patch" )
# epsilon doesn't install any plugins, so override the default
TWISTED_PLUGINS=()
python_prepare_all() {
# Rename to avoid file-collisions
mv bin/benchmark bin/epsilon-benchmark
sed -i \
-e "s#bin/benchmark#bin/epsilon-benchmark#" \
setup.py || die "sed failed"
#These test are removed upstream
rm -f epsilon/test/test_sslverify.py epsilon/sslverify.py || die
#See bug 357157 comment 5 for Ian Delaney's explanation of this fix
sed -e 's:month) 2004 9:month) 2004 14:' \
-i epsilon/test/test_extime.py || die
# Release tests need DivmodCombinator.
rm -f epsilon/test/test_release.py* epsilon/release.py || die
distutils-r1_python_prepare_all
}
python_install_all() {
dodoc NAME.txt NEWS.txt
distutils-r1_python_install_all
}

View File

@@ -0,0 +1,56 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit twisted-r1 eutils
DESCRIPTION="Epsilon is a Python utilities package, most famous for its Time class"
HOMEPAGE="http://divmod.org/trac/wiki/DivmodEpsilon http://pypi.python.org/pypi/Epsilon"
SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE="test"
RDEPEND=">=dev-python/twisted-core-13.2.0[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
${DEPEND}"
PATCHES=( "${FILESDIR}/epsilon_plugincache_portagesandbox.patch" )
# epsilon doesn't install any plugins, so override the default
TWISTED_PLUGINS=()
python_prepare_all() {
# Rename to avoid file-collisions
mv bin/benchmark bin/epsilon-benchmark
sed -i \
-e "s#bin/benchmark#bin/epsilon-benchmark#" \
setup.py || die "sed failed"
#These test are removed upstream
rm -f epsilon/test/test_sslverify.py epsilon/sslverify.py || die
#See bug 357157 comment 5 for Ian Delaney's explanation of this fix
sed -e 's:month) 2004 9:month) 2004 14:' \
-i epsilon/test/test_extime.py || die
# Release tests need DivmodCombinator.
rm -f epsilon/test/test_release.py* epsilon/release.py || die
distutils-r1_python_prepare_all
}
python_install_all() {
dodoc NAME.txt NEWS.txt
distutils-r1_python_install_all
}
#Lets run some tests, having prepped them
python_test() {
# No testrunner seems stipulated within the source; pytest and nosetests both work
nosetests ${PN}/test || die "testsuite failed under ${EPYTHON}"
}

View File

@@ -0,0 +1,12 @@
--- epsilon/setuphelper.py.orig 2009-02-11 08:15:39.000000000 +0100
+++ epsilon/setuphelper.py 2009-02-11 08:18:56.000000000 +0100
@@ -21,6 +21,9 @@
def _regeneratePluginCache(pluginPackages):
print 'Regenerating cache with path: ',
pprint.pprint(sys.path)
+ if os.getenv("PORTAGE_PLUGINCACHE_NOOP") != None:
+ print 'Not regenerating plugin cache for portage sandbox usage.'
+ return
from twisted import plugin
for pluginModule in pluginModules([
p + ".plugins" for p in pluginPackages]):

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<longdescription lang="en">A small utility package that depends on tools too recent for Twisted
(like datetime in python2.4) but performs generic enough functions
that it can be used in projects that don't want to share Divmod's
other projects' large footprint.</longdescription>
<upstream>
<remote-id type="pypi">Epsilon</remote-id>
</upstream>
</pkgmetadata>