dev-python/onkyo-eiscp: initial import
authorTim Harder <radhermit@gentoo.org>
Sun, 4 Feb 2018 01:35:44 +0000 (20:35 -0500)
committerTim Harder <radhermit@gentoo.org>
Sun, 4 Feb 2018 01:37:14 +0000 (20:37 -0500)
dev-python/onkyo-eiscp/Manifest [new file with mode: 0644]
dev-python/onkyo-eiscp/files/onkyo-eiscp-1.2.4-exclude-tests.patch [new file with mode: 0644]
dev-python/onkyo-eiscp/metadata.xml [new file with mode: 0644]
dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild [new file with mode: 0644]

diff --git a/dev-python/onkyo-eiscp/Manifest b/dev-python/onkyo-eiscp/Manifest
new file mode 100644 (file)
index 0000000..94bc031
--- /dev/null
@@ -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 (file)
index 0000000..03baf2d
--- /dev/null
@@ -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 (file)
index 0000000..257521c
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>radhermit@gentoo.org</email>
+               <name>Tim Harder</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">miracle2k/onkyo-eiscp</remote-id>
+               <remote-id type="pypi">onkyo-eiscp</remote-id>
+       </upstream>
+</pkgmetadata>
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 (file)
index 0000000..355a69a
--- /dev/null
@@ -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 )