summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/paver')
-rw-r--r--dev-python/paver/Manifest2
-rw-r--r--dev-python/paver/files/paver-1.2.0-skip-cog-tests.patch34
-rw-r--r--dev-python/paver/metadata.xml9
-rw-r--r--dev-python/paver/paver-1.2.3.ebuild31
-rw-r--r--dev-python/paver/paver-1.2.4.ebuild33
5 files changed, 109 insertions, 0 deletions
diff --git a/dev-python/paver/Manifest b/dev-python/paver/Manifest
new file mode 100644
index 00000000000..2b6912aa9df
--- /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 00000000000..1ee339dd3bb
--- /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 <bugs@almad.net>
+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 00000000000..eacac6c8f0d
--- /dev/null
+++ b/dev-python/paver/metadata.xml
@@ -0,0 +1,9 @@
+<?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="pypi">Paver</remote-id>
+ <remote-id type="github">paver/paver</remote-id>
+ </upstream>
+</pkgmetadata>
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 00000000000..77472610bc0
--- /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 00000000000..b47dad8249b
--- /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}"
+}