From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-python/paver/Manifest | 2 ++ .../paver/files/paver-1.2.0-skip-cog-tests.patch | 34 ++++++++++++++++++++++ dev-python/paver/metadata.xml | 9 ++++++ dev-python/paver/paver-1.2.3.ebuild | 31 ++++++++++++++++++++ dev-python/paver/paver-1.2.4.ebuild | 33 +++++++++++++++++++++ 5 files changed, 109 insertions(+) create mode 100644 dev-python/paver/Manifest create mode 100644 dev-python/paver/files/paver-1.2.0-skip-cog-tests.patch create mode 100644 dev-python/paver/metadata.xml create mode 100644 dev-python/paver/paver-1.2.3.ebuild create mode 100644 dev-python/paver/paver-1.2.4.ebuild (limited to 'dev-python/paver') diff --git a/dev-python/paver/Manifest b/dev-python/paver/Manifest new file mode 100644 index 000000000000..2b6912aa9dff --- /dev/null +++ b/dev-python/paver/Manifest @@ -0,0 +1,2 @@ +DIST Paver-1.2.3.tar.gz 365188 SHA256 85944a3c485707761a804131a29be07a63d799155583f7e6c6a9e519eea34053 SHA512 c45f6d6f898c679357b89273a078942ff3b199f72c86dd5422955f274a9eae09189a1e6d48d626c02417f7a2e7fbfa0d796448c812c7c838fd1dc0f918f10be1 WHIRLPOOL 039ea516e5e650d7a59a7beeba4ab2545af6cc6a9ddaaab9d06a3fe9e5dde1919acb22215c783e404d04ffc1216b4bcb6d7e34d6b68573f5f4a1e8b9326bcaf4 +DIST Paver-1.2.4.tar.gz 328794 SHA256 6e155686eda543f3a863ef1d4389bce389a9738468a02f8aefc4b8b71cf6777e SHA512 ba737f2da0582d4c3364b654a79d9868bb394fcbf1102feea3604821a65075631fbdb7b767ba8977f3231bcb6cf167abd994fb1dd9fd080046ea8bcfde8cdeb7 WHIRLPOOL 924380325dc63ffc9eb77742c7cb428a240c6d18c91977418492cbdb419c60f294c1313dfaeca86b4a78c97487f10cfc600454e0be147a2ad293a1038c6ff3cc diff --git a/dev-python/paver/files/paver-1.2.0-skip-cog-tests.patch b/dev-python/paver/files/paver-1.2.0-skip-cog-tests.patch new file mode 100644 index 000000000000..1ee339dd3bba --- /dev/null +++ b/dev-python/paver/files/paver-1.2.0-skip-cog-tests.patch @@ -0,0 +1,34 @@ +From 1b9641cd841fe5d22ba4c5ef4198e47995c74f04 Mon Sep 17 00:00:00 2001 +From: Almad +Date: Wed, 27 Feb 2013 02:56:12 +0100 +Subject: [PATCH] Skip cog tests if tests are not installed (refs #93) + +--- + paver/tests/test_doctools.py | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/paver/tests/test_doctools.py b/paver/tests/test_doctools.py +index bc0cf8c..6104b3f 100644 +--- a/paver/tests/test_doctools.py ++++ b/paver/tests/test_doctools.py +@@ -137,6 +137,8 @@ def test_include_lookup(): + """, "Second was '%s'" % (second) + + def test_cogging(): ++ if not paver.doctools.has_cog: ++ raise SkipTest("Cog must be installed for this test") + _no25() + env = tasks.Environment(doctools) + tasks.environment = env +@@ -159,6 +161,8 @@ def test_cogging(): + assert "print sys.path" not in data + + def test_cogging_with_markers_removed(): ++ if not paver.doctools.has_cog: ++ raise SkipTest("Cog must be installed for this test") + _no25() + env = tasks.Environment(doctools) + tasks.environment = env +-- +1.7.10 + diff --git a/dev-python/paver/metadata.xml b/dev-python/paver/metadata.xml new file mode 100644 index 000000000000..eacac6c8f0d0 --- /dev/null +++ b/dev-python/paver/metadata.xml @@ -0,0 +1,9 @@ + + + + python + + Paver + paver/paver + + diff --git a/dev-python/paver/paver-1.2.3.ebuild b/dev-python/paver/paver-1.2.3.ebuild new file mode 100644 index 000000000000..77472610bc07 --- /dev/null +++ b/dev-python/paver/paver-1.2.3.ebuild @@ -0,0 +1,31 @@ +# 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} pypy ) + +inherit distutils-r1 + +MY_PN=${PN/p/P} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python-based software project scripting tool along the lines of Make" +HOMEPAGE="http://www.blueskyonmars.com/projects/paver/ http://pypi.python.org/pypi/Paver" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" +IUSE="test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${MY_P} + +python_test() { + nosetests || die "Testing failed with ${EPYTHON}" +} diff --git a/dev-python/paver/paver-1.2.4.ebuild b/dev-python/paver/paver-1.2.4.ebuild new file mode 100644 index 000000000000..b47dad8249b6 --- /dev/null +++ b/dev-python/paver/paver-1.2.4.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} pypy ) + +inherit distutils-r1 + +MY_PN=${PN/p/P} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Python-based software project scripting tool along the lines of Make" +HOMEPAGE="http://www.blueskyonmars.com/projects/paver/ http://github.com/paver/paver" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${MY_P} + +python_test() { + # There is a regression in tests + # https://github.com/paver/paver/issues/143 + nosetests || die "Testing failed with ${EPYTHON}" +} -- cgit v1.2.3-18-g5258