From ff81ba26a0ede9829554bc0b78975e9737289964 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Mon, 26 Feb 2018 23:36:04 +0100 Subject: [PATCH] dev-python/denonavr: bump to 0.6.1. Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7289 --- dev-python/denonavr/Manifest | 1 + dev-python/denonavr/denonavr-0.6.1.ebuild | 33 +++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-python/denonavr/denonavr-0.6.1.ebuild diff --git a/dev-python/denonavr/Manifest b/dev-python/denonavr/Manifest index 755bbefc8d571..f8df2460562b4 100644 --- a/dev-python/denonavr/Manifest +++ b/dev-python/denonavr/Manifest @@ -1,2 +1,3 @@ DIST denonavr-0.5.5.tar.gz 58367 BLAKE2B 15c7c770f80e01a1ad7c051cbdf22eafb12b32c95204bd9d5e402bfd46451893f76febbed5ee6d9bfc0d3cb1b63c4e9a0633046a137e73adee4d972e45c0d68b SHA512 2fd4434ed73be379f54312418aca715c50345361d5e36e11c95fd25513e40cd8a2b3ee59d8cccb2977a14edade456a4e1a03b94403a5cfa61d4de319c012ec61 DIST denonavr-0.6.0.tar.gz 59692 BLAKE2B dae804bd60beb5395b84ff3390e6971d2f31c88df7171c0031f47660173ad30cbd6c6fb2e587f726163395b837b2644e8a5f5f143bb731ccbf24fd31bfd87730 SHA512 8470381c5364b78e601ad48cc4db7c3a3d6f1b424696a7834a4ede517ec350e4e5375e4f138b48ce12b120316f94625fff698e931eba94bc755fce761c87eee3 +DIST denonavr-0.6.1.tar.gz 59624 BLAKE2B 01d1b63e3d59847608bf7dbe68d60007f1d698711acab92768260f93b3d7ea9992568a08a5d01b0eff749002293ea6ba700ddf4341727207df6373a23605802f SHA512 c5ed772b5846210cd71f82597a3b1739f0949807c7deb09f3404adfccf1b5ced1330bb6c0327a9a6e7863822692cdc8215111814170990c85df939794814a9f1 diff --git a/dev-python/denonavr/denonavr-0.6.1.ebuild b/dev-python/denonavr/denonavr-0.6.1.ebuild new file mode 100644 index 0000000000000..3fdaf698fada7 --- /dev/null +++ b/dev-python/denonavr/denonavr-0.6.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 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" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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}" +}