From b7227fe6c6f55318998ca7ac82e2fa6505407f60 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Sat, 3 Feb 2018 20:35:44 -0500 Subject: [PATCH] dev-python/onkyo-eiscp: initial import --- dev-python/onkyo-eiscp/Manifest | 1 + .../onkyo-eiscp-1.2.4-exclude-tests.patch | 11 +++++++++ dev-python/onkyo-eiscp/metadata.xml | 12 ++++++++++ .../onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild | 24 +++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 dev-python/onkyo-eiscp/Manifest create mode 100644 dev-python/onkyo-eiscp/files/onkyo-eiscp-1.2.4-exclude-tests.patch create mode 100644 dev-python/onkyo-eiscp/metadata.xml create mode 100644 dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild diff --git a/dev-python/onkyo-eiscp/Manifest b/dev-python/onkyo-eiscp/Manifest new file mode 100644 index 000000000000..94bc031c8142 --- /dev/null +++ b/dev-python/onkyo-eiscp/Manifest @@ -0,0 +1 @@ +DIST onkyo-eiscp-1.2.4.tar.gz 41394 BLAKE2B 09bd0d91290fae8452b5ad8db36f85aaedc2286335b766a24dc1da6287f0f28eceb112e09709fc0a2b8d3d0e8c1d6e3f46633e263c7037d853786b1cec1990aa SHA512 77aba800bb7472ccf4a32f116d13d04ab5339f77bee9a86c16522e77a11d991d7fc10d0fdb16f75afcdd5b84b4d063de7962e72cf4583dfbdbde69cd15b65a73 diff --git a/dev-python/onkyo-eiscp/files/onkyo-eiscp-1.2.4-exclude-tests.patch b/dev-python/onkyo-eiscp/files/onkyo-eiscp-1.2.4-exclude-tests.patch new file mode 100644 index 000000000000..03baf2d475b3 --- /dev/null +++ b/dev-python/onkyo-eiscp/files/onkyo-eiscp-1.2.4-exclude-tests.patch @@ -0,0 +1,11 @@ +--- onkyo-eiscp-1.2.4/setup.py ++++ onkyo-eiscp-1.2.4/setup.py +@@ -19,7 +19,7 @@ + author_email='michael@elsdoerfer.com', + description='Control Onkyo receivers over ethernet.', + long_description=long_description, +- packages = find_packages(), ++ packages = find_packages(exclude=["tests"]), + entry_points="""[console_scripts]\nonkyo = eiscp.script:run\n""", + install_requires=['docopt>=0.4.1', 'netifaces'], + platforms='any', diff --git a/dev-python/onkyo-eiscp/metadata.xml b/dev-python/onkyo-eiscp/metadata.xml new file mode 100644 index 000000000000..257521c026af --- /dev/null +++ b/dev-python/onkyo-eiscp/metadata.xml @@ -0,0 +1,12 @@ + + + + + radhermit@gentoo.org + Tim Harder + + + miracle2k/onkyo-eiscp + onkyo-eiscp + + diff --git a/dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild b/dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild new file mode 100644 index 000000000000..355a69afdc99 --- /dev/null +++ b/dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Control Onkyo A/V receivers over the network" +HOMEPAGE="https://github.com/miracle2k/onkyo-eiscp https://pypi.python.org/pypi/onkyo-eiscp" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + >=dev-python/docopt-0.4.1[${PYTHON_USEDEP}] + dev-python/netifaces[${PYTHON_USEDEP}] +" + +PATCHES=( "${FILESDIR}"/${P}-exclude-tests.patch ) -- 2.26.2