1 |
commit: b7227fe6c6f55318998ca7ac82e2fa6505407f60 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 4 01:35:44 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 4 01:37:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7227fe6 |
7 |
|
8 |
dev-python/onkyo-eiscp: initial import |
9 |
|
10 |
dev-python/onkyo-eiscp/Manifest | 1 + |
11 |
.../files/onkyo-eiscp-1.2.4-exclude-tests.patch | 11 ++++++++++ |
12 |
dev-python/onkyo-eiscp/metadata.xml | 12 +++++++++++ |
13 |
dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild | 24 ++++++++++++++++++++++ |
14 |
4 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/onkyo-eiscp/Manifest b/dev-python/onkyo-eiscp/Manifest |
17 |
new file mode 100644 |
18 |
index 00000000000..94bc031c814 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/onkyo-eiscp/Manifest |
21 |
@@ -0,0 +1 @@ |
22 |
+DIST onkyo-eiscp-1.2.4.tar.gz 41394 BLAKE2B 09bd0d91290fae8452b5ad8db36f85aaedc2286335b766a24dc1da6287f0f28eceb112e09709fc0a2b8d3d0e8c1d6e3f46633e263c7037d853786b1cec1990aa SHA512 77aba800bb7472ccf4a32f116d13d04ab5339f77bee9a86c16522e77a11d991d7fc10d0fdb16f75afcdd5b84b4d063de7962e72cf4583dfbdbde69cd15b65a73 |
23 |
|
24 |
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 |
25 |
new file mode 100644 |
26 |
index 00000000000..03baf2d475b |
27 |
--- /dev/null |
28 |
+++ b/dev-python/onkyo-eiscp/files/onkyo-eiscp-1.2.4-exclude-tests.patch |
29 |
@@ -0,0 +1,11 @@ |
30 |
+--- onkyo-eiscp-1.2.4/setup.py |
31 |
++++ onkyo-eiscp-1.2.4/setup.py |
32 |
+@@ -19,7 +19,7 @@ |
33 |
+ author_email='michael@××××××××××.com', |
34 |
+ description='Control Onkyo receivers over ethernet.', |
35 |
+ long_description=long_description, |
36 |
+- packages = find_packages(), |
37 |
++ packages = find_packages(exclude=["tests"]), |
38 |
+ entry_points="""[console_scripts]\nonkyo = eiscp.script:run\n""", |
39 |
+ install_requires=['docopt>=0.4.1', 'netifaces'], |
40 |
+ platforms='any', |
41 |
|
42 |
diff --git a/dev-python/onkyo-eiscp/metadata.xml b/dev-python/onkyo-eiscp/metadata.xml |
43 |
new file mode 100644 |
44 |
index 00000000000..257521c026a |
45 |
--- /dev/null |
46 |
+++ b/dev-python/onkyo-eiscp/metadata.xml |
47 |
@@ -0,0 +1,12 @@ |
48 |
+<?xml version="1.0" encoding="UTF-8"?> |
49 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
50 |
+<pkgmetadata> |
51 |
+ <maintainer type="person"> |
52 |
+ <email>radhermit@g.o</email> |
53 |
+ <name>Tim Harder</name> |
54 |
+ </maintainer> |
55 |
+ <upstream> |
56 |
+ <remote-id type="github">miracle2k/onkyo-eiscp</remote-id> |
57 |
+ <remote-id type="pypi">onkyo-eiscp</remote-id> |
58 |
+ </upstream> |
59 |
+</pkgmetadata> |
60 |
|
61 |
diff --git a/dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild b/dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild |
62 |
new file mode 100644 |
63 |
index 00000000000..355a69afdc9 |
64 |
--- /dev/null |
65 |
+++ b/dev-python/onkyo-eiscp/onkyo-eiscp-1.2.4.ebuild |
66 |
@@ -0,0 +1,24 @@ |
67 |
+# Copyright 1999-2018 Gentoo Foundation |
68 |
+# Distributed under the terms of the GNU General Public License v2 |
69 |
+ |
70 |
+EAPI=6 |
71 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
72 |
+ |
73 |
+inherit distutils-r1 |
74 |
+ |
75 |
+DESCRIPTION="Control Onkyo A/V receivers over the network" |
76 |
+HOMEPAGE="https://github.com/miracle2k/onkyo-eiscp https://pypi.python.org/pypi/onkyo-eiscp" |
77 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
78 |
+ |
79 |
+LICENSE="MIT" |
80 |
+SLOT="0" |
81 |
+KEYWORDS="~amd64 ~x86" |
82 |
+IUSE="" |
83 |
+ |
84 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
85 |
+RDEPEND="${DEPEND} |
86 |
+ >=dev-python/docopt-0.4.1[${PYTHON_USEDEP}] |
87 |
+ dev-python/netifaces[${PYTHON_USEDEP}] |
88 |
+" |
89 |
+ |
90 |
+PATCHES=( "${FILESDIR}"/${P}-exclude-tests.patch ) |