[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/, profiles/, dev-python/os-testr/, ...

2021-04-05 Thread Matthew Thode
commit: 685d37705575a73b51b8c9cf0feaa4980b807c54
Author: Matthew Thode  gentoo  org>
AuthorDate: Mon Apr  5 17:18:40 2021 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Mon Apr  5 17:19:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=685d3770

profiles/package.mask: remove os-testr and testrepository

Closes: https://bugs.gentoo.org/780021
Signed-off-by: Matthew Thode  gentoo.org>

 dev-python/os-testr/Manifest   |  1 -
 dev-python/os-testr/metadata.xml   | 13 
 dev-python/os-testr/os-testr-2.0.0.ebuild  | 40 
 dev-python/testrepository/Manifest |  1 -
 .../testrepository-0.0.20-test-backport.patch  | 71 --
 .../testrepository-0.0.20-test-backport1.patch | 22 ---
 .../testrepository-0.0.20-test-backport2.patch | 61 ---
 dev-python/testrepository/metadata.xml | 16 -
 .../testrepository/testrepository-0.0.20.ebuild| 50 ---
 profiles/package.mask  |  5 --
 10 files changed, 280 deletions(-)

diff --git a/dev-python/os-testr/Manifest b/dev-python/os-testr/Manifest
deleted file mode 100644
index fe0efc44a00..000
--- a/dev-python/os-testr/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST os-testr-2.0.0.tar.gz 46787 BLAKE2B 
ff1b862c24d1f88d0794ad9139a0d57e6da5d57404ad3c659a18d84316b0cb603ec5c3455cf89fd12183dabc060537f6b077cd09a9fe1f785c6cd56fc0c596b4
 SHA512 
0ee6a144a75f7742aaf6859161f7918fb908a6783180a022a8698ce4dffeac50bf453c208b47ec784687d88a55739fff822483f404f246f222c24245ed6845ea

diff --git a/dev-python/os-testr/metadata.xml b/dev-python/os-testr/metadata.xml
deleted file mode 100644
index 47721b633ef..000
--- a/dev-python/os-testr/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   prometheanf...@gentoo.org
-   Matthew Thode
-   
-   
-   
-   os-testr
-   openstack/os-testr
-   
-

diff --git a/dev-python/os-testr/os-testr-2.0.0.ebuild 
b/dev-python/os-testr/os-testr-2.0.0.ebuild
deleted file mode 100644
index c812c1aa60d..000
--- a/dev-python/os-testr/os-testr-2.0.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="A testr wrapper to provide functionality for OpenStack projects"
-HOMEPAGE="https://pypi.org/project/os-testr/ 
https://github.com/openstack/os-testr;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"
-RDEPEND="
-   ${CDEPEND}
-   >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
-   >=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
-   >=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]"
-DEPEND="
-   ${CDEPEND}
-   test? ( ${RDEPEND}
-   >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
-   !~dev-python/coverage-4.1[${PYTHON_USEDEP}]
-   >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
-   >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
-   >=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
-   >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
-   )"
-
-python_prepare_all() {
-   sed -i '/^hacking/d' test-requirements.txt || die
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/testrepository/Manifest 
b/dev-python/testrepository/Manifest
deleted file mode 100644
index 013694ad922..000
--- a/dev-python/testrepository/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST testrepository-0.0.20.tar.gz 84956 BLAKE2B 
9b9a8e0c21754fe8ba019b58024f137e72b4341cb368fb48dc48039f512b232ca4f03f16c2596aa34b428d69097db939e5776417a7d26f5a8508c8f0c1f1a5bf
 SHA512 
df14500e2b27b6f39d9d4c4f42961efd63dfe25186e561eb1678952a8ab9311f17c36b78819fea33e0ac879c47a33d45c31ff58be017609c8a6157905ee712d6

diff --git 
a/dev-python/testrepository/files/testrepository-0.0.20-test-backport.patch 
b/dev-python/testrepository/files/testrepository-0.0.20-test-backport.patch
deleted file mode 100644
index 7622c0abfa4..000
--- a/dev-python/testrepository/files/testrepository-0.0.20-test-backport.patch
+++ /dev/null
@@ -1,71 +0,0 @@
-From 8f8ab15fafdad6db850c84772323b32375b09285 Mon Sep 17 00:00:00 2001
-From: Robert Collins 
-Date: Tue, 10 Mar 2015 15:21:49 +1300
-Subject: [PATCH] Fixup tests with latest testtools.
-
-Testtools has started chunking exceptions (which is perhaps good,
-perhaps bad) - but we shouldn't depend on the exact behaviour in it
-for our tests.

- NEWS|  6 ++
- testrepository/tests/test_repository.py | 14 ++
- 2 files changed, 16 

[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/files/, dev-python/testrepository/

2020-03-29 Thread Michał Górny
commit: 874694cc0c739d6523047b4722b1b52b73a99fda
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 29 09:59:27 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 29 10:13:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874694cc

dev-python/testrepository: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/testrepository/Manifest |  1 -
 .../testrepository-0.0.18-test-backport.patch  | 41 --
 .../testrepository/testrepository-0.0.18-r1.ebuild | 49 --
 3 files changed, 91 deletions(-)

diff --git a/dev-python/testrepository/Manifest 
b/dev-python/testrepository/Manifest
index 7467dd1ed44..013694ad922 100644
--- a/dev-python/testrepository/Manifest
+++ b/dev-python/testrepository/Manifest
@@ -1,2 +1 @@
-DIST testrepository-0.0.18.tar.gz 84886 BLAKE2B 
b6c0161c55271722644eddd5d620ea67b67774e92d2de0117f645fc1016c9de209de6a9557862a27e08850a3ade5a2406ea5eaa410a2ce4d44fc26c8121ddecf
 SHA512 
4e90db6364f77f464ae063020b016367529588f581af001c2564bf4babb264fc37bb7231413725211c6d483a269360d86201f81d2b24d7eb162dca2463d13c92
 DIST testrepository-0.0.20.tar.gz 84956 BLAKE2B 
9b9a8e0c21754fe8ba019b58024f137e72b4341cb368fb48dc48039f512b232ca4f03f16c2596aa34b428d69097db939e5776417a7d26f5a8508c8f0c1f1a5bf
 SHA512 
df14500e2b27b6f39d9d4c4f42961efd63dfe25186e561eb1678952a8ab9311f17c36b78819fea33e0ac879c47a33d45c31ff58be017609c8a6157905ee712d6

diff --git 
a/dev-python/testrepository/files/testrepository-0.0.18-test-backport.patch 
b/dev-python/testrepository/files/testrepository-0.0.18-test-backport.patch
deleted file mode 100644
index 112b0299df5..000
--- a/dev-python/testrepository/files/testrepository-0.0.18-test-backport.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff --git a/testrepository/tests/test_repository.py 
b/testrepository/tests/test_repository.py
-index e2e5e05..4a8667b 100644
 a/testrepository/tests/test_repository.py
-+++ b/testrepository/tests/test_repository.py
-@@ -28,6 +28,7 @@
- from testresources import TestResource
- from testtools import (
- clone_test_with_new_id,
-+content,
- PlaceHolder,
- )
- import testtools
-@@ -103,19 +104,24 @@ class Case(ResourcedTestCase):
- def passing(self):
- pass
- 
--def failing(self):
--self.fail("oops")
--
- def unexpected_success(self):
- self.expectFailure("unexpected success", self.assertTrue, True)
- 
- 
-+class FailingCase:
-+
-+def run(self, result):
-+result.startTest(self)
-+result.addError(
-+self, None, details={'traceback': content.text_content("")})
-+result.stopTest(self)
-+
- def make_test(id, should_pass):
- """Make a test."""
- if should_pass:
- case = Case("passing")
- else:
--case = Case("failing")
-+case = FailingCase()
- return clone_test_with_new_id(case, id)
- 
- 

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
deleted file mode 100644
index 332e0dc0652..000
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python3_6 pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="A repository of test results"
-HOMEPAGE="https://launchpad.net/testscenarios;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 sparc 
x86 ~amd64-linux ~x86-linux"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   >=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
-   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-   dev-python/fixtures[${PYTHON_USEDEP}]"
-#bzr is listed but presumably req'd for a live repo test run
-
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( ${RDEPEND}
-   dev-python/testresources[${PYTHON_USEDEP}]
-   dev-python/testscenarios[${PYTHON_USEDEP}]
-   dev-python/pytz[${PYTHON_USEDEP}]
-   )"
-
-# Required for test phase
-DISTUTILS_IN_SOURCE_BUILD=1
-
-PATCHES=(
-   "${FILESDIR}"/${P}-test-backport.patch
-   "${FILESDIR}"/${PN}-0.0.20-test-backport1.patch
-)
-
-python_test() {
-   # some errors appear to have crept in the suite undert py3 since 
addition.
-   # Python2.7 now passes all.
-
-   ${PYTHON} testr init || die
-   ${PYTHON} testr run || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2020-03-28 Thread Michał Górny
commit: 4200c1704c7178217c2f40247625e249224f642b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 13:33:32 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 13:34:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4200c170

dev-python/testrepository: Remove redundant longdesc

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/testrepository/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/dev-python/testrepository/metadata.xml 
b/dev-python/testrepository/metadata.xml
index 257231c95ac..14e15bee946 100644
--- a/dev-python/testrepository/metadata.xml
+++ b/dev-python/testrepository/metadata.xml
@@ -9,9 +9,6 @@
openst...@gentoo.org
Openstack

-   
-   A repository of test results.
-   

testrepository
testscenarios



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2020-03-28 Thread Michał Górny
commit: 093fed8f265431000c631d91dc36da0461f2d5d4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 13:31:19 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 13:34:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=093fed8f

dev-python/testrepository: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/testrepository/testrepository-0.0.18-r1.ebuild | 2 +-
 dev-python/testrepository/testrepository-0.0.20.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index 4720ccea7f8..332e0dc0652 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
+PYTHON_COMPAT=( python3_6 pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
index 663ff410611..7602730f893 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2019-12-30 Thread Piotr Karbowski
commit: 4ec4248cc19bd22ae8d4cac1bfd8b34690e4f7c3
Author: Piotr Karbowski  gentoo  org>
AuthorDate: Mon Dec 30 21:07:36 2019 +
Commit: Piotr Karbowski  gentoo  org>
CommitDate: Mon Dec 30 21:54:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ec4248c

dev-python/testrepository-0.0.20: python 3.8 support added.

Signed-off-by: Piotr Karbowski  gentoo.org>

 dev-python/testrepository/testrepository-0.0.20.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
index 6b59ff42d96..7280d8ccf3b 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
 PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2018-10-14 Thread Mikle Kolyada
commit: ef0f184dd9db8eeb0fb48cad41cd81e9b1345ec0
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct 14 15:23:21 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct 14 15:23:21 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef0f184d

dev-python/testrepository: mark s390 stable

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-python/testrepository/testrepository-0.0.20.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
index 43149204533..c8ff46f 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc 
x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/, dev-python/testrepository/files/

2018-07-14 Thread Michał Górny
commit: 0cde98695d945cd046bd614535549b298cf1b768
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 14 15:38:13 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 14 15:46:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cde9869

dev-python/testrepository: Backport more test fixes

Closes: https://bugs.gentoo.org/648442

 .../testrepository-0.0.20-test-backport2.patch | 61 ++
 .../testrepository/testrepository-0.0.20.ebuild|  1 +
 2 files changed, 62 insertions(+)

diff --git 
a/dev-python/testrepository/files/testrepository-0.0.20-test-backport2.patch 
b/dev-python/testrepository/files/testrepository-0.0.20-test-backport2.patch
new file mode 100644
index 000..a0614b671e1
--- /dev/null
+++ b/dev-python/testrepository/files/testrepository-0.0.20-test-backport2.patch
@@ -0,0 +1,61 @@
+From e2f84ae6b2bcf89221613056d0c45dd308f46d62 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= 
+Date: Thu, 5 Apr 2018 01:02:40 +0100
+Subject: [PATCH] Fix the testrepository tests with newer versions of
+ testtools.
+
+---
+ testrepository/tests/commands/test_failing.py | 2 +-
+ testrepository/tests/test_repository.py   | 7 ---
+ 2 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/testrepository/tests/commands/test_failing.py 
b/testrepository/tests/commands/test_failing.py
+index 56c97ef..4e52f6a 100644
+--- a/testrepository/tests/commands/test_failing.py
 b/testrepository/tests/commands/test_failing.py
+@@ -90,7 +90,7 @@ class TestCommand(ResourcedTestCase):
+ finally:
+ log.stopTestRun()
+ self.assertEqual(
+-log._events, [
++[tuple(ev) for ev in log._events], [
+ ('startTestRun',),
+ ('status', 'failing', 'inprogress', None, True, None, None, False,
+  None, None, Wildcard),
+diff --git a/testrepository/tests/test_repository.py 
b/testrepository/tests/test_repository.py
+index 4a8667b..28d99bc 100644
+--- a/testrepository/tests/test_repository.py
 b/testrepository/tests/test_repository.py
+@@ -113,9 +113,10 @@ class FailingCase:
+ def run(self, result):
+ result.startTest(self)
+ result.addError(
+-self, None, details={'traceback': content.text_content("")})
++self, None, details={'traceback': content.text_content("tb")})
+ result.stopTest(self)
+ 
++
+ def make_test(id, should_pass):
+ """Make a test."""
+ if should_pass:
+@@ -409,7 +410,7 @@ class TestRepositoryContract(ResourcedTestCase):
+ finally:
+ log.stopTestRun()
+ self.assertEqual(
+-log._events, [
++[tuple(ev) for ev in log._events], [
+ ('startTestRun',),
+ ('status',
+  'testrepository.tests.test_repository.Case.method',
+@@ -465,7 +466,7 @@ class TestRepositoryContract(ResourcedTestCase):
+ finally:
+ log.stopTestRun()
+ self.assertEqual(
+-log._events,
++[tuple(ev) for ev in log._events],
+ [
+ ('startTestRun',),
+ ('status',
+-- 
+2.18.0
+

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
index 59fbcc1f08b..2c7ffaca0ff 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -37,6 +37,7 @@ DISTUTILS_IN_SOURCE_BUILD=1
 PATCHES=(
"${FILESDIR}"/${P}-test-backport.patch
"${FILESDIR}"/${P}-test-backport1.patch
+   "${FILESDIR}"/${P}-test-backport2.patch
 )
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2018-02-22 Thread Michał Górny
commit: c3729de7e439eb95abbadb48174b9c8dffd01120
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 22 18:06:28 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 22 18:06:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3729de7

dev-python/testrepository: Keyword ~amd64-fbsd

 dev-python/testrepository/testrepository-0.0.20.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
index 59b3cc0650d..53ebcd1c2db 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2017-07-29 Thread Matt Thode
commit: 3ebc67a47e45a5d833cff53cd7f09b18f9820470
Author: Matthew Thode  gentoo  org>
AuthorDate: Sat Jul 29 20:34:53 2017 +
Commit: Matt Thode  gentoo  org>
CommitDate: Sat Jul 29 20:38:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ebc67a4

dev-python/testrepository: 0.0.18-r1 stable arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/testrepository/metadata.xml| 4 ++--
 dev-python/testrepository/testrepository-0.0.18-r1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/testrepository/metadata.xml 
b/dev-python/testrepository/metadata.xml
index bd52306f827..257231c95ac 100644
--- a/dev-python/testrepository/metadata.xml
+++ b/dev-python/testrepository/metadata.xml
@@ -10,8 +10,8 @@
Openstack


-A repository of test results.
-  
+   A repository of test results.
+   

testrepository
testscenarios

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index 82218929964..c7997d9bb1f 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-11-11 Thread Justin Lecher
commit: 5711f02ccd9687d4dbb569af819f8c24f9f734aa
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Nov 11 17:24:15 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Nov 11 17:27:03 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5711f02c

dev-python/testrepository: Depend on threading support in python

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/testrepository/testrepository-0.0.18-r1.ebuild | 1 +
 dev-python/testrepository/testrepository-0.0.20.ebuild| 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index 684ec93..962ceca 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -5,6 +5,7 @@
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1
 

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
index f9e9774..0f29258 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -5,6 +5,7 @@
 EAPI=5
 
 PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+PYTHON_REQ_USE="threads(+)"
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-11-05 Thread Agostino Sarubbo
commit: 0f67ebe0d3c33833b19fab8c7bc01528b0024a66
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov  5 11:52:15 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov  5 11:52:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f67ebe0

dev-python/testrepository: sparc stable wrt bug #564588

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="sparc"

 dev-python/testrepository/testrepository-0.0.18-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index 0b287e8..684ec93 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-11-03 Thread Justin Lecher
commit: ec7eabe356b0393e53fae40ee59c74ca8fb5de50
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Nov  3 11:55:13 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Nov  3 12:16:57 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec7eabe3

dev-python/testrepository: Drop old

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/testrepository/Manifest |  1 -
 .../testrepository/testrepository-0.0.17-r1.ebuild | 40 -
 .../testrepository/testrepository-0.0.17-r2.ebuild | 42 --
 3 files changed, 83 deletions(-)

diff --git a/dev-python/testrepository/Manifest 
b/dev-python/testrepository/Manifest
index c43948e..982cbf5 100644
--- a/dev-python/testrepository/Manifest
+++ b/dev-python/testrepository/Manifest
@@ -1,3 +1,2 @@
-DIST testrepository-0.0.17.tar.gz 84255 SHA256 
70b70e0ba6aacb44036ed5dcbdbe36008816fc7098c2e3e4891734fc09ecd36e SHA512 
c5b7a0a0b6494166f85be86a85821d36922e754e02a487605b5e6cf2ae52ff1f9c37b48bd07f7acc1d9dc9450fcf17311f5ffb6bb8bd31d7a26f5c53de88f94d
 WHIRLPOOL 
0fe9a003af396462d9aa73a73da2f0253fd247e4025ae9dc0047e3fdf02d872189eaf96416750206612419d048eeeb49699a54c6cf1b95fa66cc444b5fbd05fe
 DIST testrepository-0.0.18.tar.gz 84886 SHA256 
ba15301c6ec6bf1b8e0dad10ac7313b11e17ceb8d28ec4a3625c9aaa766727fd SHA512 
4e90db6364f77f464ae063020b016367529588f581af001c2564bf4babb264fc37bb7231413725211c6d483a269360d86201f81d2b24d7eb162dca2463d13c92
 WHIRLPOOL 
c6ced39884ea731173b59a0cbd283d474b3a658e94e2f94a87b5b5e8461d82790cfda2d3e834d51e90b6e57299163cf2dc9ef2cb62440104ac6a046039196abb
 DIST testrepository-0.0.20.tar.gz 84956 SHA256 
752449bc98c20253ec4611c40564aea93d435a5bf3ff672208e01cc10e5858eb SHA512 
df14500e2b27b6f39d9d4c4f42961efd63dfe25186e561eb1678952a8ab9311f17c36b78819fea33e0ac879c47a33d45c31ff58be017609c8a6157905ee712d6
 WHIRLPOOL 
12be50a78a79b0c1aa43d4a2c97055a3956f85653e36ab56a9eedc0c2f80bf0860b702e62627055a72e9ddfe9812bd916e4c4adbe50df02bd94b911b9c0b7d0c

diff --git a/dev-python/testrepository/testrepository-0.0.17-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.17-r1.ebuild
deleted file mode 100644
index 7f8d670..000
--- a/dev-python/testrepository/testrepository-0.0.17-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# Although package supports alt. py impls, only works fully under py2.7
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1
-
-DESCRIPTION="A repository of test results"
-HOMEPAGE="https://launchpad.net/testscenarios;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="test"
-
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/subunit[${PYTHON_USEDEP}]
-   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/testresources[${PYTHON_USEDEP}]
-   dev-python/testscenarios[${PYTHON_USEDEP}]
-   dev-python/pytz[${PYTHON_USEDEP}]
-   )"
-#bzr is listed but presumably req'd for a live repo test run
-RDEPEND="
-   dev-python/subunit[${PYTHON_USEDEP}]
-   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-   dev-python/fixtures[${PYTHON_USEDEP}]"
-
-python_test() {
-   "${PYTHON}" ./testr init || die
-   "${PYTHON}" ./testr run || die "tests failed under python2.7"
-}

diff --git a/dev-python/testrepository/testrepository-0.0.17-r2.ebuild 
b/dev-python/testrepository/testrepository-0.0.17-r2.ebuild
deleted file mode 100644
index d66490e..000
--- a/dev-python/testrepository/testrepository-0.0.17-r2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# 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} )
-
-inherit distutils-r1
-
-DESCRIPTION="A repository of test results"
-HOMEPAGE="https://launchpad.net/testscenarios;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="test"
-
-#>=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
-#>=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-#dev-python/fixtures[${PYTHON_USEDEP}]
-#bzr is listed but presumably req'd for a live repo test run
-RDEPEND="
-   >=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
-   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-   dev-python/fixtures[${PYTHON_USEDEP}]"
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( ${RDEPEND}
-   dev-python/testresources[${PYTHON_USEDEP}]
-   dev-python/testscenarios[${PYTHON_USEDEP}]
-   dev-python/pytz[${PYTHON_USEDEP}]
-   )"
-
-# Required for test phase
-DISTUTILS_IN_SOURCE_BUILD=1
-
-python_test() {
-

[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/, dev-python/testrepository/files/

2015-11-03 Thread Justin Lecher
commit: ebc0f971f94ce78032b4bf3a20c3a9bce60095ee
Author: Justin Lecher  gentoo  org>
AuthorDate: Tue Nov  3 12:13:42 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Tue Nov  3 12:16:59 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc0f971

dev-python/testrepository: Backport test fixes

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=537536

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 .../testrepository-0.0.18-test-backport.patch  | 41 ++
 .../testrepository/testrepository-0.0.18-r1.ebuild |  8 -
 2 files changed, 48 insertions(+), 1 deletion(-)

diff --git 
a/dev-python/testrepository/files/testrepository-0.0.18-test-backport.patch 
b/dev-python/testrepository/files/testrepository-0.0.18-test-backport.patch
new file mode 100644
index 000..112b029
--- /dev/null
+++ b/dev-python/testrepository/files/testrepository-0.0.18-test-backport.patch
@@ -0,0 +1,41 @@
+diff --git a/testrepository/tests/test_repository.py 
b/testrepository/tests/test_repository.py
+index e2e5e05..4a8667b 100644
+--- a/testrepository/tests/test_repository.py
 b/testrepository/tests/test_repository.py
+@@ -28,6 +28,7 @@
+ from testresources import TestResource
+ from testtools import (
+ clone_test_with_new_id,
++content,
+ PlaceHolder,
+ )
+ import testtools
+@@ -103,19 +104,24 @@ class Case(ResourcedTestCase):
+ def passing(self):
+ pass
+ 
+-def failing(self):
+-self.fail("oops")
+-
+ def unexpected_success(self):
+ self.expectFailure("unexpected success", self.assertTrue, True)
+ 
+ 
++class FailingCase:
++
++def run(self, result):
++result.startTest(self)
++result.addError(
++self, None, details={'traceback': content.text_content("")})
++result.stopTest(self)
++
+ def make_test(id, should_pass):
+ """Make a test."""
+ if should_pass:
+ case = Case("passing")
+ else:
+-case = Case("failing")
++case = FailingCase()
+ return clone_test_with_new_id(case, id)
+ 
+ 

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index 3771a41..0b287e8 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -34,9 +34,15 @@ DEPEND="
 # Required for test phase
 DISTUTILS_IN_SOURCE_BUILD=1
 
+PATCHES=(
+   "${FILESDIR}"/${P}-test-backport.patch
+   "${FILESDIR}"/${PN}-0.0.20-test-backport1.patch
+)
+
 python_test() {
# some errors appear to have crept in the suite undert py3 since 
addition.
# Python2.7 now passes all.
 
-   esetup.py testr --coverage
+   ${PYTHON} testr init || die
+   ${PYTHON} testr run || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/, dev-python/testrepository/files/

2015-11-02 Thread Justin Lecher
commit: 0acc7960a2faa355787c072d073a891c2ac2c7a6
Author: Justin Lecher  gentoo  org>
AuthorDate: Mon Nov  2 08:06:32 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Nov  2 11:47:12 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0acc7960

dev-python/testrepository: Backport test fixes

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 .../testrepository-0.0.20-test-backport.patch  | 71 ++
 .../testrepository-0.0.20-test-backport1.patch | 22 +++
 .../testrepository/testrepository-0.0.20.ebuild|  6 +-
 3 files changed, 97 insertions(+), 2 deletions(-)

diff --git 
a/dev-python/testrepository/files/testrepository-0.0.20-test-backport.patch 
b/dev-python/testrepository/files/testrepository-0.0.20-test-backport.patch
new file mode 100644
index 000..7622c0a
--- /dev/null
+++ b/dev-python/testrepository/files/testrepository-0.0.20-test-backport.patch
@@ -0,0 +1,71 @@
+From 8f8ab15fafdad6db850c84772323b32375b09285 Mon Sep 17 00:00:00 2001
+From: Robert Collins 
+Date: Tue, 10 Mar 2015 15:21:49 +1300
+Subject: [PATCH] Fixup tests with latest testtools.
+
+Testtools has started chunking exceptions (which is perhaps good,
+perhaps bad) - but we shouldn't depend on the exact behaviour in it
+for our tests.
+---
+ NEWS|  6 ++
+ testrepository/tests/test_repository.py | 14 ++
+ 2 files changed, 16 insertions(+), 4 deletions(-)
+
+diff --git a/NEWS b/NEWS
+index e258b11..536308c 100644
+--- a/NEWS
 b/NEWS
+@@ -5,6 +5,12 @@ testrepository release notes
+ NEXT (In development)
+ +
+ 
++CHANGES
++---
++
++* Isolate the testrepository test suite from the chunking (or otherwise)
++  behaviour of testtools' exception handlers. (Robert Collins)
++
+ 0.0.20
+ ++
+ 
+diff --git a/testrepository/tests/test_repository.py 
b/testrepository/tests/test_repository.py
+index e2e5e05..4a8667b 100644
+--- a/testrepository/tests/test_repository.py
 b/testrepository/tests/test_repository.py
+@@ -28,6 +28,7 @@
+ from testresources import TestResource
+ from testtools import (
+ clone_test_with_new_id,
++content,
+ PlaceHolder,
+ )
+ import testtools
+@@ -103,19 +104,24 @@ class Case(ResourcedTestCase):
+ def passing(self):
+ pass
+ 
+-def failing(self):
+-self.fail("oops")
+-
+ def unexpected_success(self):
+ self.expectFailure("unexpected success", self.assertTrue, True)
+ 
+ 
++class FailingCase:
++
++def run(self, result):
++result.startTest(self)
++result.addError(
++self, None, details={'traceback': content.text_content("")})
++result.stopTest(self)
++
+ def make_test(id, should_pass):
+ """Make a test."""
+ if should_pass:
+ case = Case("passing")
+ else:
+-case = Case("failing")
++case = FailingCase()
+ return clone_test_with_new_id(case, id)
+ 
+ 

diff --git 
a/dev-python/testrepository/files/testrepository-0.0.20-test-backport1.patch 
b/dev-python/testrepository/files/testrepository-0.0.20-test-backport1.patch
new file mode 100644
index 000..193b91e
--- /dev/null
+++ b/dev-python/testrepository/files/testrepository-0.0.20-test-backport1.patch
@@ -0,0 +1,22 @@
+From d3d6cac4fd42f2067c0dd81be748853f81c348fc Mon Sep 17 00:00:00 2001
+From: Robert Collins 
+Date: Sun, 12 Jul 2015 21:37:34 +1200
+Subject: [PATCH] Fix 3.3+ tests with nested classnames.
+
+---
+ testrepository/tests/ui/test_cli.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/testrepository/tests/ui/test_cli.py 
b/testrepository/tests/ui/test_cli.py
+index 9ba11ad..e1f9b44 100644
+--- a/testrepository/tests/ui/test_cli.py
 b/testrepository/tests/ui/test_cli.py
+@@ -157,7 +157,7 @@ def method(self):
+ self.assertThat(ui._stdout.buffer.getvalue().decode('utf8'),
+ DocTestMatches("""\
+ ==
+-FAIL: testrepository.tests.ui.test_cli.Case.method
++FAIL: testrepository.tests.ui.test_cli...Case.method
+ --
+ ...Traceback (most recent call last):...
+   File "...test_cli.py", line ..., in method

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
index e1dba2e..f9e9774 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -34,8 +34,10 @@ DEPEND="
 # Required for test phase
 DISTUTILS_IN_SOURCE_BUILD=1
 
-# https://github.com/testing-cabal/testrepository/issues/18
-RESTRICT=test
+PATCHES=(
+   "${FILESDIR}"/${P}-test-backport.patch
+   "${FILESDIR}"/${P}-test-backport1.patch
+)
 
 python_test() {
# some errors appear to have crept in the suite 

[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-11-02 Thread Justin Lecher
commit: cff96997b7d381b1e081c02161c23772f8f6464e
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Nov  1 17:08:43 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Mon Nov  2 11:47:12 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff96997

dev-python/testrepository: Restrict tests

Github: testing-cabal/testrepository#18

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/testrepository/testrepository-0.0.20.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
index ae10b32..e1dba2e 100644
--- a/dev-python/testrepository/testrepository-0.0.20.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -34,9 +34,13 @@ DEPEND="
 # Required for test phase
 DISTUTILS_IN_SOURCE_BUILD=1
 
+# https://github.com/testing-cabal/testrepository/issues/18
+RESTRICT=test
+
 python_test() {
# some errors appear to have crept in the suite undert py3 since 
addition.
# Python2.7 now passes all.
 
-   esetup.py testr
+   ${PYTHON} testr init || die
+   ${PYTHON} testr run || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-10-15 Thread Justin Lecher
commit: 33fee5760889f67afc0a2cc10eef0a7218a4a112
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Oct 15 14:38:56 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Oct 15 14:41:21 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33fee576

dev-python/testrepository: Version Bump

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/testrepository/Manifest |  1 +
 .../testrepository/testrepository-0.0.20.ebuild| 42 ++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/testrepository/Manifest 
b/dev-python/testrepository/Manifest
index c040589..c43948e 100644
--- a/dev-python/testrepository/Manifest
+++ b/dev-python/testrepository/Manifest
@@ -1,2 +1,3 @@
 DIST testrepository-0.0.17.tar.gz 84255 SHA256 
70b70e0ba6aacb44036ed5dcbdbe36008816fc7098c2e3e4891734fc09ecd36e SHA512 
c5b7a0a0b6494166f85be86a85821d36922e754e02a487605b5e6cf2ae52ff1f9c37b48bd07f7acc1d9dc9450fcf17311f5ffb6bb8bd31d7a26f5c53de88f94d
 WHIRLPOOL 
0fe9a003af396462d9aa73a73da2f0253fd247e4025ae9dc0047e3fdf02d872189eaf96416750206612419d048eeeb49699a54c6cf1b95fa66cc444b5fbd05fe
 DIST testrepository-0.0.18.tar.gz 84886 SHA256 
ba15301c6ec6bf1b8e0dad10ac7313b11e17ceb8d28ec4a3625c9aaa766727fd SHA512 
4e90db6364f77f464ae063020b016367529588f581af001c2564bf4babb264fc37bb7231413725211c6d483a269360d86201f81d2b24d7eb162dca2463d13c92
 WHIRLPOOL 
c6ced39884ea731173b59a0cbd283d474b3a658e94e2f94a87b5b5e8461d82790cfda2d3e834d51e90b6e57299163cf2dc9ef2cb62440104ac6a046039196abb
+DIST testrepository-0.0.20.tar.gz 84956 SHA256 
752449bc98c20253ec4611c40564aea93d435a5bf3ff672208e01cc10e5858eb SHA512 
df14500e2b27b6f39d9d4c4f42961efd63dfe25186e561eb1678952a8ab9311f17c36b78819fea33e0ac879c47a33d45c31ff58be017609c8a6157905ee712d6
 WHIRLPOOL 
12be50a78a79b0c1aa43d4a2c97055a3956f85653e36ab56a9eedc0c2f80bf0860b702e62627055a72e9ddfe9812bd916e4c4adbe50df02bd94b911b9c0b7d0c

diff --git a/dev-python/testrepository/testrepository-0.0.20.ebuild 
b/dev-python/testrepository/testrepository-0.0.20.ebuild
new file mode 100644
index 000..ae10b32
--- /dev/null
+++ b/dev-python/testrepository/testrepository-0.0.20.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A repository of test results"
+HOMEPAGE="https://launchpad.net/testscenarios;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+   >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
+   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
+   dev-python/fixtures[${PYTHON_USEDEP}]"
+#bzr is listed but presumably req'd for a live repo test run
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( ${RDEPEND}
+   dev-python/testresources[${PYTHON_USEDEP}]
+   dev-python/testscenarios[${PYTHON_USEDEP}]
+   dev-python/pytz[${PYTHON_USEDEP}]
+   )"
+
+# Required for test phase
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_test() {
+   # some errors appear to have crept in the suite undert py3 since 
addition.
+   # Python2.7 now passes all.
+
+   esetup.py testr
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-10-14 Thread Justin Lecher
commit: 10e604faf6b035a4a6d921c9adf3180448bf2e88
Author: Justin Lecher  gentoo  org>
AuthorDate: Wed Oct 14 12:12:27 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Wed Oct 14 12:12:27 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e604fa

dev-python/testrepository: Keyword under ALLARCHES policy

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 dev-python/testrepository/testrepository-0.0.18-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index bc47c8c..3771a41 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-10-11 Thread Justin Lecher
commit: fef8f1c7a7af7394826752f34a585cfe037bb52d
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Oct 11 10:52:23 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Oct 11 11:24:29 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef8f1c7

dev-python/testrepository: Add python3.5 support

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 .../testrepository/testrepository-0.0.18-r2.ebuild | 42 ++
 1 file changed, 42 insertions(+)

diff --git a/dev-python/testrepository/testrepository-0.0.18-r2.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r2.ebuild
new file mode 100644
index 000..6cac013
--- /dev/null
+++ b/dev-python/testrepository/testrepository-0.0.18-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A repository of test results"
+HOMEPAGE="https://launchpad.net/testscenarios;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+   >=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
+   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
+   dev-python/fixtures[${PYTHON_USEDEP}]"
+#bzr is listed but presumably req'd for a live repo test run
+
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( ${RDEPEND}
+   dev-python/testresources[${PYTHON_USEDEP}]
+   dev-python/testscenarios[${PYTHON_USEDEP}]
+   dev-python/pytz[${PYTHON_USEDEP}]
+   )"
+
+# Required for test phase
+DISTUTILS_IN_SOURCE_BUILD=1
+
+python_test() {
+   # some errors appear to have crept in the suite undert py3 since 
addition.
+   # Python2.7 now passes all.
+
+   esetup.py testr --coverage
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-10-10 Thread Mikle Kolyada
commit: 49ef3cb18cfe6f63d7eb3da574fee5875c53fdac
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 10 18:37:16 2015 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 10 18:46:03 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49ef3cb1

dev-python/testrepository: Add ~sparc keywords wrt bug #70

Package-Manager: portage-2.2.20.1

 dev-python/testrepository/testrepository-0.0.18-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index a5d5209..8cdff6b 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-09-11 Thread Justin Lecher
commit: ac6755b2fdfe094c5bc18d97b973f4128e2d5d3a
Author: Justin Lecher  gentoo  org>
AuthorDate: Fri Sep 11 07:09:34 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Fri Sep 11 07:53:18 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac6755b2

dev-python/testrepository: Drop unnecessary die

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher  gentoo.org>

 .../testrepository/testrepository-0.0.17-r1.ebuild | 28 --
 .../testrepository/testrepository-0.0.17-r2.ebuild | 23 ++
 .../testrepository/testrepository-0.0.18-r1.ebuild |  2 +-
 3 files changed, 30 insertions(+), 23 deletions(-)

diff --git a/dev-python/testrepository/testrepository-0.0.17-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.17-r1.ebuild
index 54eebcd..7f8d670 100644
--- a/dev-python/testrepository/testrepository-0.0.17-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.17-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
+
 # Although package supports alt. py impls, only works fully under py2.7
 PYTHON_COMPAT=( python2_7 )
 
@@ -17,18 +18,21 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="test"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/subunit[${PYTHON_USEDEP}]
-   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-   dev-python/fixtures[${PYTHON_USEDEP}]
-   dev-python/testresources[${PYTHON_USEDEP}]
-   dev-python/testscenarios[${PYTHON_USEDEP}]
-   dev-python/pytz[${PYTHON_USEDEP}]
-   )"
-#bzr is listed but presumably req'd for a live repo test run
-RDEPEND="dev-python/subunit[${PYTHON_USEDEP}]
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/subunit[${PYTHON_USEDEP}]
>=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-   dev-python/fixtures[${PYTHON_USEDEP}]"
+   dev-python/fixtures[${PYTHON_USEDEP}]
+   dev-python/testresources[${PYTHON_USEDEP}]
+   dev-python/testscenarios[${PYTHON_USEDEP}]
+   dev-python/pytz[${PYTHON_USEDEP}]
+   )"
+#bzr is listed but presumably req'd for a live repo test run
+RDEPEND="
+   dev-python/subunit[${PYTHON_USEDEP}]
+   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
+   dev-python/fixtures[${PYTHON_USEDEP}]"
 
 python_test() {
"${PYTHON}" ./testr init || die

diff --git a/dev-python/testrepository/testrepository-0.0.17-r2.ebuild 
b/dev-python/testrepository/testrepository-0.0.17-r2.ebuild
index 78b8870..d66490e 100644
--- a/dev-python/testrepository/testrepository-0.0.17-r2.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.17-r2.ebuild
@@ -3,6 +3,7 @@
 # $Id$
 
 EAPI=5
+
 PYTHON_COMPAT=( python{2_7,3_3} )
 
 inherit distutils-r1
@@ -16,24 +17,26 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 IUSE="test"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( ${RDEPEND}
-   dev-python/testresources[${PYTHON_USEDEP}]
-   dev-python/testscenarios[${PYTHON_USEDEP}]
-   dev-python/pytz[${PYTHON_USEDEP}]
-   )"
 #>=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
 #>=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
 #dev-python/fixtures[${PYTHON_USEDEP}]
 #bzr is listed but presumably req'd for a live repo test run
-RDEPEND=">=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
-   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-   dev-python/fixtures[${PYTHON_USEDEP}]"
+RDEPEND="
+   >=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
+   >=dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
+   dev-python/fixtures[${PYTHON_USEDEP}]"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( ${RDEPEND}
+   dev-python/testresources[${PYTHON_USEDEP}]
+   dev-python/testscenarios[${PYTHON_USEDEP}]
+   dev-python/pytz[${PYTHON_USEDEP}]
+   )"
 
 # Required for test phase
 DISTUTILS_IN_SOURCE_BUILD=1
 
 python_test() {
"${PYTHON}" ./testr init || die
-   "${PYTHON}" setup.py testr --coverage || die "tests failed under 
${EPYTHON}"
+   esetup.py testr --coverage
 }

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index f2ea605..a5d5209 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -38,5 +38,5 @@ python_test() {
# some errors appear to have crept in the suite undert py3 since 
addition.
# Python2.7 now passes all.
 
-   esetup.py testr --coverage # || die "tests failed under 

[gentoo-commits] repo/gentoo:master commit in: dev-python/testrepository/

2015-08-24 Thread Justin Lecher
commit: 7669af3f33e1df2f39e4730b71cd31bc9c673d0a
Author: Justin Lecher jlec AT gentoo DOT org
AuthorDate: Mon Aug 24 06:22:20 2015 +
Commit: Justin Lecher jlec AT gentoo DOT org
CommitDate: Mon Aug 24 10:12:09 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7669af3f

dev-python/testrepository: Add pypy3 support

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher jlec AT gentoo.org

 .../testrepository/testrepository-0.0.18-r1.ebuild | 23 --
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild 
b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
index 411e30f..f2ea605 100644
--- a/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18-r1.ebuild
@@ -3,7 +3,8 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
 
 inherit distutils-r1
 
@@ -16,17 +17,19 @@ SLOT=0
 KEYWORDS=alpha amd64 arm hppa ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux
 IUSE=test
 
-RDEPEND==dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
-   =dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
-   dev-python/fixtures[${PYTHON_USEDEP}]
+RDEPEND=
+   =dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
+   =dev-python/testtools-0.9.30[${PYTHON_USEDEP}]
+   dev-python/fixtures[${PYTHON_USEDEP}]
 #bzr is listed but presumably req'd for a live repo test run
 
-DEPEND=dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( ${RDEPEND}
-   dev-python/testresources[${PYTHON_USEDEP}]
-   dev-python/testscenarios[${PYTHON_USEDEP}]
-   dev-python/pytz[${PYTHON_USEDEP}]
-   )
+DEPEND=
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( ${RDEPEND}
+   dev-python/testresources[${PYTHON_USEDEP}]
+   dev-python/testscenarios[${PYTHON_USEDEP}]
+   dev-python/pytz[${PYTHON_USEDEP}]
+   )
 
 # Required for test phase
 DISTUTILS_IN_SOURCE_BUILD=1