summaryrefslogtreecommitdiff
path: root/dev-python/python-dbusmock/python-dbusmock-0.27.0.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-03-22 13:40:01 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-03-22 13:40:01 +0000
commit0c43f91d12f9f68030078f81d635d6979ad22b6a (patch)
tree2110ddc00576c6cbc71e2e78b71e22ab30a8a6cf /dev-python/python-dbusmock/python-dbusmock-0.27.0.ebuild
parent9978d0f0f6bbc9c51ed5a8c5c8b9370e4834a065 (diff)
downloadbaldeagleos-repo-0c43f91d12f9f68030078f81d635d6979ad22b6a.tar.gz
baldeagleos-repo-0c43f91d12f9f68030078f81d635d6979ad22b6a.tar.xz
baldeagleos-repo-0c43f91d12f9f68030078f81d635d6979ad22b6a.zip
Adding metadata
Diffstat (limited to 'dev-python/python-dbusmock/python-dbusmock-0.27.0.ebuild')
-rw-r--r--dev-python/python-dbusmock/python-dbusmock-0.27.0.ebuild36
1 files changed, 36 insertions, 0 deletions
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..5f76b17147fd
--- /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_{7,8,9,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
+}