Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/dbusmock/, dev-python/dbusmock/files/
Date: Sat, 03 Feb 2018 19:40:19
Message-Id: 1517686722.0c5751081595a053ab37e645b0543a9be19f3b52.leio@gentoo
1 commit: 0c5751081595a053ab37e645b0543a9be19f3b52
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 3 19:22:01 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 3 19:38:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c575108
7
8 dev-python/dbusmock: remove old
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 dev-python/dbusmock/Manifest | 1 -
13 dev-python/dbusmock/dbusmock-0.16.7.ebuild | 45 ----------------------
14 .../files/0.16.7-disable-pyflakes-test.patch | 20 ----------
15 3 files changed, 66 deletions(-)
16
17 diff --git a/dev-python/dbusmock/Manifest b/dev-python/dbusmock/Manifest
18 index c096ceb5b61..2cc87933222 100644
19 --- a/dev-python/dbusmock/Manifest
20 +++ b/dev-python/dbusmock/Manifest
21 @@ -1,2 +1 @@
22 -DIST dbusmock-0.16.7.tar.gz 70544 BLAKE2B 4b7bcf4207362b61cdabce7752db07e76f8ab1e2ac96d1c9415a143ba6e8f8cfd51ff1bb0d051d58df5f7fddd96c6b871c10e377f975984cd83f2e2f9c7efdac SHA512 749728b966b1e067a0a8bd61ee64c1c7ff22751ccb48e15096d041e78c6e779d787160ee191e90daa3177b92c0ee45c66af74b2dd4e4bcb570892b431ec13467
23 DIST dbusmock-0.16.9.tar.gz 71014 BLAKE2B d1c0853cfd06848f1d10afdd8de764814054a44080b44e1ac2ef3a1658a538f1e4c7f5936d65658c16da33ccbc2e94f35d2746f200fc6791f645e1eccc55f6fd SHA512 3aa91f6ede054ed3d3a69f68f3886094e881d266a8f09c7d08a34d10b080a77facde8aae01e75232472c2e643574fe897dae2c3588f5ad9ecf4ec4e67f404f54
24
25 diff --git a/dev-python/dbusmock/dbusmock-0.16.7.ebuild b/dev-python/dbusmock/dbusmock-0.16.7.ebuild
26 deleted file mode 100644
27 index dbb59680d73..00000000000
28 --- a/dev-python/dbusmock/dbusmock-0.16.7.ebuild
29 +++ /dev/null
30 @@ -1,45 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
37 -PYTHON_REQ_USE="xml(+)"
38 -
39 -inherit distutils-r1
40 -
41 -MY_PN="python-${PN}"
42 -MY_P="${MY_PN}-${PV}"
43 -S="${WORKDIR}/${MY_P}"
44 -
45 -DESCRIPTION="Easily create mock objects on D-Bus for software testing"
46 -HOMEPAGE="https://github.com/martinpitt/python-dbusmock"
47 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="LGPL-3+"
50 -SLOT="0"
51 -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64"
52 -IUSE="test"
53 -
54 -RDEPEND="
55 - dev-python/dbus-python[${PYTHON_USEDEP}]
56 - dev-python/pygobject:3[${PYTHON_USEDEP}]"
57 -DEPEND="${RDEPEND}
58 - >=dev-python/setuptools-17.1[${PYTHON_USEDEP}]
59 - test? (
60 - dev-python/nose[${PYTHON_USEDEP}]
61 - )"
62 -
63 -PATCHES=(
64 - "${FILESDIR}"/${PV}-disable-pyflakes-test.patch
65 -)
66 -
67 -python_test() {
68 - nosetests --verbose || die "tests fail under ${EPYTHON}"
69 -}
70 -
71 -python_install_all() {
72 - local DOCS=( NEWS README.rst )
73 -
74 - distutils-r1_python_install_all
75 -}
76
77 diff --git a/dev-python/dbusmock/files/0.16.7-disable-pyflakes-test.patch b/dev-python/dbusmock/files/0.16.7-disable-pyflakes-test.patch
78 deleted file mode 100644
79 index 160003ce5ea..00000000000
80 --- a/dev-python/dbusmock/files/0.16.7-disable-pyflakes-test.patch
81 +++ /dev/null
82 @@ -1,20 +0,0 @@
83 -https://github.com/martinpitt/python-dbusmock/issues/28
84 -
85 ---- a/tests/test_code.orig
86 -+++ b/tests/test_code.py
87 -@@ -17,6 +17,7 @@
88 -
89 -
90 - class StaticCodeTests(unittest.TestCase):
91 -+ """
92 - @unittest.skipIf(subprocess.call(['which', 'pyflakes'],
93 - stdout=subprocess.PIPE) != 0,
94 - 'pyflakes not installed')
95 -@@ -25,6 +26,7 @@
96 - universal_newlines=True)
97 - (out, err) = pyflakes.communicate()
98 - self.assertEqual(pyflakes.returncode, 0, out)
99 -+ """
100 -
101 - @unittest.skipIf(subprocess.call(['which', 'pep8'],
102 - stdout=subprocess.PIPE) != 0,