From b4ef58ede68341d0e00d761505857e965e2b4231 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 12 Oct 2022 13:40:16 +0100 Subject: gentoo auto-resync : 12:10:2022 - 13:40:16 --- dev-python/python-dbusmock/Manifest | 2 ++ .../python-dbusmock/python-dbusmock-0.28.6.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dev-python/python-dbusmock/python-dbusmock-0.28.6.ebuild (limited to 'dev-python/python-dbusmock') diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index a15a79bf3ddd..4433eae654a7 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1,3 +1,5 @@ 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 EBUILD python-dbusmock-0.28.4.ebuild 947 BLAKE2B 6591f8f209ed1bfe25b271ec08ae8eb32d504897924556c5062c5308c2d6df2f9a249e40ed251af237a96e0609397d3278f0c6e73abd6c73df22edfb63731e29 SHA512 a6f95e9d34445f875d6374ae906f68f57b96aae002d1b3047a7071266991a28c3eb2660b8ac919ecb1a38978e1d51c32e65d859555e68cd459ea427d2d817450 +EBUILD python-dbusmock-0.28.6.ebuild 954 BLAKE2B 7ac8ad0e1d7bc2abb086a59679a6db0c4f60107d11bd3b05747a7f03329666cb2ab48ee4a57b7166c0b85ad82f4f27580bc4dbc9bc02557e567c807856a244ac SHA512 05a11e2cdc56efc68df83c55b98487be19f70371ba9ef03c9e40f1ee1290df617c901e63e0a4c104af282d3890d9cee1fd2ac548e00f606711bfedc764c25899 MISC metadata.xml 523 BLAKE2B 85fe2f51626a9c5de1376ebb88d908ea3c0a4e47d940f4a6730c72762f8e457b056a2ef080da519fec5ec15338eb2eb0d590cf5f20a7f711e40e7c97def84c51 SHA512 6718af48a4b968687e8eb1ddfefc1e21d4fda774d3e3d94e198c77c745761d3ab13e1bb4c34b65e6dff11c9a1b5f6018d53b113967784445bea71788fb3344b1 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.28.6.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.28.6.ebuild new file mode 100644 index 000000000000..39f9ae8e9046 --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.28.6.ebuild @@ -0,0 +1,40 @@ +# 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_{8..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 +} -- cgit v1.2.3