summaryrefslogtreecommitdiff
path: root/dev-python/python-dbusmock
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-12-01 07:36:14 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-12-01 07:36:14 +0000
commitb4574f67df4ff55d575b2afd9673782865f02308 (patch)
tree87acb96e6454406fc5e64c60d28859e4f0ff27b7 /dev-python/python-dbusmock
parent8013b23acdcb5a9a4d06a8281630dbc0f0157810 (diff)
downloadbaldeagleos-repo-b4574f67df4ff55d575b2afd9673782865f02308.tar.gz
baldeagleos-repo-b4574f67df4ff55d575b2afd9673782865f02308.tar.xz
baldeagleos-repo-b4574f67df4ff55d575b2afd9673782865f02308.zip
Adding metadata
Diffstat (limited to 'dev-python/python-dbusmock')
-rw-r--r--dev-python/python-dbusmock/Manifest1
-rw-r--r--dev-python/python-dbusmock/python-dbusmock-0.28.6-r1.ebuild (renamed from dev-python/python-dbusmock/python-dbusmock-0.28.4.ebuild)13
-rw-r--r--dev-python/python-dbusmock/python-dbusmock-0.28.6.ebuild40
3 files changed, 8 insertions, 46 deletions
diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest
index c358d742dea7..bb116387f441 100644
--- a/dev-python/python-dbusmock/Manifest
+++ b/dev-python/python-dbusmock/Manifest
@@ -1,2 +1 @@
-DIST python-dbusmock-0.28.4.gh.tar.gz 86900 BLAKE2B af6ca30e15e803e66aec63d40d56d121c93e9fe253d7640111104c8e8c0ea5e0491b53f551d6b454ae7370cbbb7f8fb14c07b5be92a8425efa39e04f962311f5 SHA512 f388425ebb68c20b5110a831879bee0d7d0a3941687fd61c9975c4aaa9950b05709e7fc2a9b885c89935a915f473bb7a9b97e93ca79cf3dc6769911a66aeaea7
DIST python-dbusmock-0.28.6.gh.tar.gz 90579 BLAKE2B 12b4ee02ae6b828b908b203a351f5b88d25193bb1250a0d25bc90b0ac2a244c4ef577bdacb2dbbb9220ba93d785791d900c9035d8d5c3a21aa744b5f850d16c9 SHA512 1efc1a42fc5cc56d683f0f4d022877020f15d81a557c54f47619c704ca2f67716c1fbdb890f987d01f78b7786528a71de8dbfe84228baa41351eb751fc4cce61
diff --git a/dev-python/python-dbusmock/python-dbusmock-0.28.4.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.28.6-r1.ebuild
index cf6dfc0fe4b6..a10a63ef16c9 100644
--- a/dev-python/python-dbusmock/python-dbusmock-0.28.4.ebuild
+++ b/dev-python/python-dbusmock/python-dbusmock-0.28.6-r1.ebuild
@@ -28,13 +28,16 @@ RDEPEND="
dev-python/pygobject:3[${PYTHON_USEDEP}]
"
-distutils_enable_tests unittest
+distutils_enable_tests pytest
-src_prepare() {
- # needed for unittest discovery
- > tests/__init__.py || die
+EPYTEST_IGNORE=(
# linter tests, fragile to newer linter versions
- rm tests/test_code.py || die
+ 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
}
diff --git a/dev-python/python-dbusmock/python-dbusmock-0.28.6.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.28.6.ebuild
deleted file mode 100644
index cf6dfc0fe4b6..000000000000
--- a/dev-python/python-dbusmock/python-dbusmock-0.28.6.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{7,8,9,10,11} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit distutils-r1
-
-DESCRIPTION="Easily create mock objects on D-Bus for software testing"
-HOMEPAGE="
- https://github.com/martinpitt/python-dbusmock/
- https://pypi.org/project/python-dbusmock/
-"
-SRC_URI="
- https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="LGPL-3+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
-"
-
-distutils_enable_tests unittest
-
-src_prepare() {
- # needed for unittest discovery
- > tests/__init__.py || die
- # linter tests, fragile to newer linter versions
- rm tests/test_code.py || die
-
- distutils-r1_src_prepare
-}