diff --git a/dev-python/txdbus/Manifest b/dev-python/txdbus/Manifest new file mode 100644 index 000000000..150b3e316 --- /dev/null +++ b/dev-python/txdbus/Manifest @@ -0,0 +1,3 @@ +DIST txdbus-1.1.2.tar.gz 61352 BLAKE2B 77948dc655ee56ab1d92701a13711426a8d128168b2918bcbabe004f3988eda78d609b8ddee69b181ebb02cd6784c06ae2d6830ddf1471b4e750f4914d65e2a5 SHA512 afb6afc105014469368c38ebd0e15f6378c152f5d339dafe24198d92f42a9b785582fa41e104c57e7b961c8cb380176401e0dc7719757c617d9d898c9d140d17 +EBUILD txdbus-1.1.2.ebuild 793 BLAKE2B 75c5c425a18470084de1b10236e7be05e8a782ad5258564672c7e86a3943410506b06cc94fcda67fab2f52fa6dddfd9d2fc33b585fc6fb999222c1ff2ac6fd17 SHA512 4c06b1ab446728cae3685d947a9957a05c9af75817ab7b294c7a82dbb46cb76b2cfcbc11266a0625d034c22cb91fc5612bd6c8e2a860a6576a5e635678c0f9da +MISC metadata.xml 499 BLAKE2B 29c1cd573a413da7e25596e757d28a34a718fa4002611a8c5a32eb8ddef12267c48902e84fb7dd8a7dc98ff496e8aa97bc7de4cba01b8da765631dc408d75313 SHA512 800a59bf4ebbe467657a19e2d6dd2266751449f72620dd4456822d651413e6ed1bca0fbf1fba462c39806511158665da2bd7d5b8fc8e759d21e5d9d698573288 diff --git a/dev-python/txdbus/metadata.xml b/dev-python/txdbus/metadata.xml new file mode 100644 index 000000000..bec87f2b8 --- /dev/null +++ b/dev-python/txdbus/metadata.xml @@ -0,0 +1,16 @@ + + + + + b@edevau.net + Andreas Billmeier + + + txdbus + https://pythonhosted.org/txdbus/ + + tom.cocagne@gmail.com + Tom Cocagne + + + diff --git a/dev-python/txdbus/txdbus-1.1.2.ebuild b/dev-python/txdbus/txdbus-1.1.2.ebuild new file mode 100644 index 000000000..64ad0d474 --- /dev/null +++ b/dev-python/txdbus/txdbus-1.1.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A native Python implementation of the DBus protocol for Twisted applications." +HOMEPAGE="https://github.com/cocagne/txdbus https://pypi.org/project/txdbus/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS="README.rst" + +RDEPEND=">=dev-python/twisted-0.1[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}