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 /app-portage/mirrorselect | |
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 'app-portage/mirrorselect')
8 files changed, 217 insertions, 0 deletions
diff --git a/app-portage/mirrorselect/Manifest b/app-portage/mirrorselect/Manifest new file mode 100644 index 000000000000..582e919961cd --- /dev/null +++ b/app-portage/mirrorselect/Manifest @@ -0,0 +1,3 @@ +DIST mirrorselect-2.2.0.1.tar.gz 13138 SHA256 029a09073d6a4363f060912d257f8f118bb3a061c05db532bde1c05816affab1 SHA512 08216c381b70856dd56e903a208bc0ed202826b89136dd0b1cf69bd7cf2afa2df608ac2a0aed5161a56f51cf4bcb51f3826ad55b3a26e671ba2c68490c9cffad WHIRLPOOL 6925c4dc514fdd5f7c50427627b1ef6babba99c4e98d00d7144489ba16c3740ba967461847d99cd080805e6aebd44ca51ca85bd117ffdb52ba3cdf511fac0c69 +DIST mirrorselect-2.2.2.tar.gz 15964 SHA256 343089675448e8928ccc74f0eed285f3034a9252de4d1b8980cacf3047cca20f SHA512 91ce16d236418ba186c447c6497684c4138afd4279a0ba95ee0f069309e8ce086a5a4ce4715ef21275362b7c3772924d422d7711d188d40c1e0b90f773765cf9 WHIRLPOOL 0625ac6f01ebdbf6e78a1c1f42a960afb8b2911297b07ca735dcf51615697a3a3926f3dc62925501b8fce6170d94785f6df57147280011b3643746200fb6001d +DIST mirrorselect-test 102403 SHA256 add93012c44824626a7e05eed2186dcfb60e0b696d4ad7910fdb9eb31c93d3b5 SHA512 f43d92e9bf7e77c8f04449a786cb659bdfc07257892caca842ab4a63eb9c5351fa48130c2e163857f3233a595cea7b83f5ea9fa879b782e15b73beb62f0e5e27 WHIRLPOOL ca9be67338986403d87db7de04d3d1b3ecd483f2a104668a7c23e8e2ef1141a31394d12d3cd4121ec25436c967aac960f3652c20f20d2c89fdde6dd547cd9f8a diff --git a/app-portage/mirrorselect/files/mirrorselect-2.2.2-Add-outputmodefunctionassignment.patch b/app-portage/mirrorselect/files/mirrorselect-2.2.2-Add-outputmodefunctionassignment.patch new file mode 100644 index 000000000000..d170103a4657 --- /dev/null +++ b/app-portage/mirrorselect/files/mirrorselect-2.2.2-Add-outputmodefunctionassignment.patch @@ -0,0 +1,24 @@ +From e9dea3a98aa5031fecf1c7115de77e948e8d07ca Mon Sep 17 00:00:00 2001 +From: Brian Dolbec <dolsen@gentoo.org> +Date: Tue, 27 Jan 2015 10:19:05 -0800 +Subject: [PATCH] Add missed output mode function assignment. + +--- + mirrorselect/extractor.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/mirrorselect/extractor.py b/mirrorselect/extractor.py +index 59efad1..06dce6c 100644 +--- a/mirrorselect/extractor.py ++++ b/mirrorselect/extractor.py +@@ -107,6 +107,7 @@ class Extractor(object): + # setup the ssl-fetch ouptut map + connector_output = { + 'info':self.output.write, ++ 'debug': self.output.write, + 'error': self.output.print_err, + 'kwargs-info': {'level': 2}, + 'kwargs-debug': {'level':2}, +-- +2.2.2 + diff --git a/app-portage/mirrorselect/files/mirrorselect-2.2.2-Update-for-ssl-fetch-api-change.patch b/app-portage/mirrorselect/files/mirrorselect-2.2.2-Update-for-ssl-fetch-api-change.patch new file mode 100644 index 000000000000..2e5fd93c09cb --- /dev/null +++ b/app-portage/mirrorselect/files/mirrorselect-2.2.2-Update-for-ssl-fetch-api-change.patch @@ -0,0 +1,24 @@ +From 9ec1e9649c980d32d23aab40eff3cac5e8f6f555 Mon Sep 17 00:00:00 2001 +From: Brian Dolbec <dolsen@gentoo.org> +Date: Mon, 26 Jan 2015 18:23:05 -0800 +Subject: [PATCH] Update for ssl-fetch api change + +--- + mirrorselect/extractor.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/mirrorselect/extractor.py b/mirrorselect/extractor.py +index ec5f299..59efad1 100644 +--- a/mirrorselect/extractor.py ++++ b/mirrorselect/extractor.py +@@ -109,6 +109,7 @@ class Extractor(object): + 'info':self.output.write, + 'error': self.output.print_err, + 'kwargs-info': {'level': 2}, ++ 'kwargs-debug': {'level':2}, + 'kwargs-error': {'level':0}, + } + +-- +2.2.2 + diff --git a/app-portage/mirrorselect/metadata.xml b/app-portage/mirrorselect/metadata.xml new file mode 100644 index 000000000000..413349cad7cb --- /dev/null +++ b/app-portage/mirrorselect/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>tools-portage</herd> + <longdescription lang="en"> + This utility is used to select the fastest mirror (distfiles) and + provide a nicer front-end for mirror selection + (both rsync + distfiles) to a user. + </longdescription> +</pkgmetadata> diff --git a/app-portage/mirrorselect/mirrorselect-2.2.0.1.ebuild b/app-portage/mirrorselect/mirrorselect-2.2.0.1.ebuild new file mode 100644 index 000000000000..6305d869df21 --- /dev/null +++ b/app-portage/mirrorselect/mirrorselect-2.2.0.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="xml" + +inherit eutils distutils-r1 prefix + +DESCRIPTION="Tool to help select distfiles mirrors for Gentoo" +HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml" +SRC_URI="http://dev.gentoo.org/~dolsen/distfiles/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux" + +RDEPEND=" + dev-util/dialog + net-analyzer/netselect + " + +python_prepare_all() { + python_export_best + eprefixify setup.py mirrorselect/main.py + echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version + VERSION="${PVR}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed" + distutils-r1_python_prepare_all +} diff --git a/app-portage/mirrorselect/mirrorselect-2.2.2-r2.ebuild b/app-portage/mirrorselect/mirrorselect-2.2.2-r2.ebuild new file mode 100644 index 000000000000..83dc918bf7c2 --- /dev/null +++ b/app-portage/mirrorselect/mirrorselect-2.2.2-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="xml" + +inherit eutils distutils-r1 prefix + +DESCRIPTION="Tool to help select distfiles mirrors for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Mirrorselect" +SRC_URI="http://dev.gentoo.org/~dolsen/releases/mirrorselect/${P}.tar.gz + http://dev.gentoo.org/~dolsen/releases/mirrorselect/mirrorselect-test + " + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" + +RDEPEND=" + dev-util/dialog + net-analyzer/netselect + >=dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}] + " + +PATCHES=( + "${FILESDIR}/mirrorselect-2.2.2-Update-for-ssl-fetch-api-change.patch" + "${FILESDIR}/mirrorselect-2.2.2-Add-outputmodefunctionassignment.patch" +) + +python_prepare_all() { + python_setup + eprefixify setup.py mirrorselect/main.py + echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version + VERSION="${PVR}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed" + distutils-r1_python_prepare_all +} diff --git a/app-portage/mirrorselect/mirrorselect-2.2.2.ebuild b/app-portage/mirrorselect/mirrorselect-2.2.2.ebuild new file mode 100644 index 000000000000..3cc5d7750e88 --- /dev/null +++ b/app-portage/mirrorselect/mirrorselect-2.2.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="xml" + +inherit eutils distutils-r1 prefix + +DESCRIPTION="Tool to help select distfiles mirrors for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Mirrorselect" +SRC_URI="http://dev.gentoo.org/~dolsen/releases/mirrorselect/${P}.tar.gz + http://dev.gentoo.org/~dolsen/releases/mirrorselect/mirrorselect-test + " + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd" + +RDEPEND=" + dev-util/dialog + net-analyzer/netselect + >=dev-python/ssl-fetch-0.2[${PYTHON_USEDEP}] + <dev-python/ssl-fetch-0.3[${PYTHON_USEDEP}] + " + +python_prepare_all() { + python_export_best + eprefixify setup.py mirrorselect/main.py + echo Now setting version... VERSION="${PVR}" "${PYTHON}" setup.py set_version + VERSION="${PVR}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed" + distutils-r1_python_prepare_all +} diff --git a/app-portage/mirrorselect/mirrorselect-9999.ebuild b/app-portage/mirrorselect/mirrorselect-9999.ebuild new file mode 100644 index 000000000000..a5cd0ebe6440 --- /dev/null +++ b/app-portage/mirrorselect/mirrorselect-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="xml" + +inherit eutils distutils-r1 git-2 prefix + +EGIT_REPO_URI="git://anongit.gentoo.org/proj/mirrorselect.git" +EGIT_MASTER="master" + +DESCRIPTION="Tool to help select distfiles mirrors for Gentoo" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Mirrorselect" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +KEYWORDS="" + +RDEPEND=" + dev-util/dialog + net-analyzer/netselect + =dev-python/ssl-fetch-9999[${PYTHON_USEDEP}] + " + +python_prepare_all() { + python_export_best + eprefixify setup.py mirrorselect/main.py + echo Now setting version... VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version + VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version || die "setup.py set_version failed" + distutils-r1_python_prepare_all +} + +pkg_postinst() { + distutils-r1_pkg_postinst + + einfo "This is a development version." + einfo "Please report any bugs you encounter to:" + einfo "https://bugs.gentoo.org/" +} |