From faa027e9f840ff1336ded33fcd3c2c3bd9d98e19 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Sun, 17 Sep 2017 17:39:51 +0200 Subject: dev-python/denonavr: new package. Automation Library for Denon AVR receivers. Package-Manager: Portage-2.3.8, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5716 --- dev-python/denonavr/Manifest | 1 + dev-python/denonavr/denonavr-0.5.3.ebuild | 34 +++++++++++++++++++++++++++++++ dev-python/denonavr/metadata.xml | 17 ++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-python/denonavr/Manifest create mode 100644 dev-python/denonavr/denonavr-0.5.3.ebuild create mode 100644 dev-python/denonavr/metadata.xml (limited to 'dev-python/denonavr') diff --git a/dev-python/denonavr/Manifest b/dev-python/denonavr/Manifest new file mode 100644 index 000000000000..bbfb0d484cc6 --- /dev/null +++ b/dev-python/denonavr/Manifest @@ -0,0 +1 @@ +DIST denonavr-0.5.3.tar.gz 60941 SHA256 8904bda0f6de1d40f602a26f909b592c33a82df4f22963f908168f6e031af585 SHA512 709f1eb2c51ba193ec17d3dc20d43d1f632a6e8b387b962e15b9b573c4d539357b3fd48cc177dd701b4b7043afdbab7a06a808b34b44e8c971f2f72ef6383d9b WHIRLPOOL 519f46898e1af12be5733c8d4cf2c0d65ecb191c283ac9b77f467680076b12f2749b5c183f823fda879e2f5ec855a36b67af3a95fd01b61a28a60e4092a16d19 diff --git a/dev-python/denonavr/denonavr-0.5.3.ebuild b/dev-python/denonavr/denonavr-0.5.3.ebuild new file mode 100644 index 000000000000..8c66944fef00 --- /dev/null +++ b/dev-python/denonavr/denonavr-0.5.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{3_4,3_5,3_6} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 + +DESCRIPTION="Automation Library for Denon AVR receivers" +HOMEPAGE="https://github.com/scarface-4711/denonavr" +# PyPI tarballs lack tests: https://github.com/scarface-4711/denonavr/pull/31 +SRC_URI="https://github.com/scarface-4711/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-python/requests[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + ${RDEPEND} + ) +" + +python_test() { + py.test || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/denonavr/metadata.xml b/dev-python/denonavr/metadata.xml new file mode 100644 index 000000000000..aa718e5b87a3 --- /dev/null +++ b/dev-python/denonavr/metadata.xml @@ -0,0 +1,17 @@ + + + + + sautier.louis@gmail.com + Louis Sautier + + + proxy-maint@gentoo.org + Proxy Maintainers + + + denonavr + scarface-4711/denonavr + https://github.com/scarface-4711/denonavr/issues + + -- cgit v1.2.3-65-gdbad