diff options
Diffstat (limited to 'dev-python/python-dbusmock')
-rw-r--r-- | dev-python/python-dbusmock/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-dbusmock/python-dbusmock-0.27.0.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/python-dbusmock/Manifest b/dev-python/python-dbusmock/Manifest index cf79268dc1e5..d41902121971 100644 --- a/dev-python/python-dbusmock/Manifest +++ b/dev-python/python-dbusmock/Manifest @@ -1,5 +1,7 @@ DIST python-dbusmock-0.25.0.tar.gz 86674 BLAKE2B 9a9f5aefece0f48725f8a453d298fde78e86c86901f5dd3c67032be41cbc52753b8b0da8e8ba3845772e68ba6dcf0938af405f961fc5425808017dd8b30e1419 SHA512 5d7c2f4ea75c7a0f2c6bf63b673c180f3a468239082e0248778441d8f07b78fa3786c1d37498f758954a4727bdb24dc83ffc0671bfc4b2956402aee52c363045 DIST python-dbusmock-0.26.1.tar.gz 87707 BLAKE2B 9f4761ab5f227e78dd5343f3ddd4b83d0494e77d3b381f719890447998baab8096b3bf817259b080dda78619f8407ad532044cb60aaf7a5280459f423754df0f SHA512 dcb46f6dbd17471e2135c0d8fb63cbaecbc9445ae7bf74691abb03b93d5283ab41ea71071ece03870aaac19eaedd546f01c0839116421047f1ac77619f2c73f3 +DIST python-dbusmock-0.27.0.tar.gz 89469 BLAKE2B b6fcdb5ded2b4f50d4c3edafecf028df57c3aae6e2a1e87d78c41f879f495d06ab097be0996b7b1781aebd4235a5ce7c6b58f48f5c74e2d4c2b49a3439ce9cae SHA512 4f3a7326b27d7b86d9a77019c419209077021a88994b8e5ae302686fcaa8b7c7736644ab26d9e3b5a2157634eb56a0b2dbe304a092d93104c94a13a43d53b5a1 EBUILD python-dbusmock-0.25.0.ebuild 833 BLAKE2B 63f487cc0082f793112dc4da582efdb98aed150387d4f18f1d16ce2929796181ce404f5f78795cd4e944251da212c97efc5708410d6840a03888f5ef7185b081 SHA512 492b3531f9aed8eef1b5245d2c2c838e38cb109d3d45bcdda2919c9402699ff66d1a5057fe3935c67bced404a6e3174c5608c8e2652409bc6b39c7d1cc8aa4b4 EBUILD python-dbusmock-0.26.1.ebuild 874 BLAKE2B 6365190ef0b6c86d3dd7a71afebb394cfd29cc52b87bde74f7f7128968137a66ce4534a9caa1f3ddbb4c145fd6b8d4eeb12d63bd8cabc5b1224fbd01810caf6a SHA512 1cbe9fcfb47a23e5b0cd446a1b6a260776959828ed311471463b91f315142b50a577b19e5a135e11053b1bb9bd8fad81c9eb785ff9124d3467c98cc55c400d93 +EBUILD python-dbusmock-0.27.0.ebuild 874 BLAKE2B 6365190ef0b6c86d3dd7a71afebb394cfd29cc52b87bde74f7f7128968137a66ce4534a9caa1f3ddbb4c145fd6b8d4eeb12d63bd8cabc5b1224fbd01810caf6a SHA512 1cbe9fcfb47a23e5b0cd446a1b6a260776959828ed311471463b91f315142b50a577b19e5a135e11053b1bb9bd8fad81c9eb785ff9124d3467c98cc55c400d93 MISC metadata.xml 457 BLAKE2B 7c93de164cfb7badf62932420c9fff4eb07e2247ab2293f5299649e79fd1b8b8d51b30a3c685d9d88043e4e4067c557961be45d9cf2fdf1a13bee5547934eb98 SHA512 0b9ece97d74dc9a74fc9a3f55b1561c7f1473ce483ee7be53f875c740d433409b846161821d44e48c0a5988b5999e5704cf5f6afa2436f57fd1b654518ce1f87 diff --git a/dev-python/python-dbusmock/python-dbusmock-0.27.0.ebuild b/dev-python/python-dbusmock/python-dbusmock-0.27.0.ebuild new file mode 100644 index 000000000000..4b29c538cdd6 --- /dev/null +++ b/dev-python/python-dbusmock/python-dbusmock-0.27.0.ebuild @@ -0,0 +1,36 @@ +# 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..10} ) +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" +SRC_URI=" + https://github.com/martinpitt/python-dbusmock/releases/download/${PV}/${P}.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~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 +} |