mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
dev-python/python-dbusmock: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST python_dbusmock-0.37.1.tar.gz 107458 BLAKE2B 0a7d2675c2f3fb9206b1826fa2ea2ca22340318ffdabd08cf1f4841502354833ac73537fa5f44e27002a80a0d7574a08a3e73cf817042497d33426560907f390 SHA512 ddaa5d99da0ee70a45c94077c1c9925b979c39c338ecb5856037c24121fe181884c7f7e5d8c032e764455d0628834d2075474a35346fe37de05fbbb548b690ff
|
||||
DIST python_dbusmock-0.37.2.tar.gz 107498 BLAKE2B cbc67d763be08b7010bab45b523b390c285f8c8f634140973b17f0d3be402da0d2bf12fe1365f8e2b3e9175c4cf62126ae002b215af479e36eac311702409cfd SHA512 f3f181ff8c883b884fe855e7475b219692c5ab0d2255a84036d313c49523a8b8e5dfae2ce72c19e8f79201951efe0204ea72a6441fc54a26dbd2e4dcd3c0ec64
|
||||
DIST python_dbusmock-0.37.2.tar.gz.provenance 9405 BLAKE2B c15a12443386b899acaa325ea5bb8df97cd5009c3750b600a48b19a5a75ea942ed0e03ed9b4ed1ca05687f72b725e8735e58cd3eca1e7cf480152880d576ed35 SHA512 281a0680d37c5bda6a80814012284a89b34f3aea1c4d623072a8a007fc70d96c767947a17ecede1f354ae62590ab784cd3bd44acad19fb3ca9b01d4e8b9e9681
|
||||
DIST python_dbusmock-0.38.1.tar.gz 108144 BLAKE2B fc0353759e4b69675af4edcf4d3824bee007ec77ae903508dcc03cee6df24f527e9fc819503ee4bdc67e880d215bb4fce71c183b5fc24fc2a0d38bc1739b7b1c SHA512 3bfd069f977171045338bd76862660a0e088e99aa000261fe2d447d8576cecdf249579162eae54ad21bdd4a1ad3421da13b5ee30e347d813990f55288c09b85e
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Easily create mock objects on D-Bus for software testing"
|
||||
HOMEPAGE="
|
||||
https://github.com/martinpitt/python-dbusmock/
|
||||
https://pypi.org/project/python-dbusmock/
|
||||
"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
sys-power/upower
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# linter tests, fragile to newer linter versions
|
||||
tests/test_code.py
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# dev-python/dbus-python uses autotools, so no .dist-info there
|
||||
sed -i '/dbus-python/d' pyproject.toml setup.cfg || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# tests are fragile to long socket paths
|
||||
local -x TMPDIR=/tmp
|
||||
# Tests break if XDG_DATA_DIRS is modified by flatpak install
|
||||
unset XDG_DATA_DIRS
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user