mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/dbusmock: remove old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST dbusmock-0.16.7.tar.gz 70544 BLAKE2B 4b7bcf4207362b61cdabce7752db07e76f8ab1e2ac96d1c9415a143ba6e8f8cfd51ff1bb0d051d58df5f7fddd96c6b871c10e377f975984cd83f2e2f9c7efdac SHA512 749728b966b1e067a0a8bd61ee64c1c7ff22751ccb48e15096d041e78c6e779d787160ee191e90daa3177b92c0ee45c66af74b2dd4e4bcb570892b431ec13467
|
||||
DIST dbusmock-0.16.9.tar.gz 71014 BLAKE2B d1c0853cfd06848f1d10afdd8de764814054a44080b44e1ac2ef3a1658a538f1e4c7f5936d65658c16da33ccbc2e94f35d2746f200fc6791f645e1eccc55f6fd SHA512 3aa91f6ede054ed3d3a69f68f3886094e881d266a8f09c7d08a34d10b080a77facde8aae01e75232472c2e643574fe897dae2c3588f5ad9ecf4ec4e67f404f54
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="python-${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DESCRIPTION="Easily create mock objects on D-Bus for software testing"
|
||||
HOMEPAGE="https://github.com/martinpitt/python-dbusmock"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-17.1[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-disable-pyflakes-test.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die "tests fail under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( NEWS README.rst )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
https://github.com/martinpitt/python-dbusmock/issues/28
|
||||
|
||||
--- a/tests/test_code.orig
|
||||
+++ b/tests/test_code.py
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
class StaticCodeTests(unittest.TestCase):
|
||||
+ """
|
||||
@unittest.skipIf(subprocess.call(['which', 'pyflakes'],
|
||||
stdout=subprocess.PIPE) != 0,
|
||||
'pyflakes not installed')
|
||||
@@ -25,6 +26,7 @@
|
||||
universal_newlines=True)
|
||||
(out, err) = pyflakes.communicate()
|
||||
self.assertEqual(pyflakes.returncode, 0, out)
|
||||
+ """
|
||||
|
||||
@unittest.skipIf(subprocess.call(['which', 'pep8'],
|
||||
stdout=subprocess.PIPE) != 0,
|
||||
Reference in New Issue
Block a user