Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fritzconnection/
Date: Sun, 13 Jun 2021 18:21:56
Message-Id: 1623608372.246b156941ac95dc21b585eed3bb617cc779da0f.whissi@gentoo
1 commit: 246b156941ac95dc21b585eed3bb617cc779da0f
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 12 15:09:48 2021 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 13 18:19:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=246b1569
7
8 dev-python/fritzconnection: initial import
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 dev-python/fritzconnection/Manifest | 1 +
14 .../fritzconnection/fritzconnection-1.5.0.ebuild | 34 ++++++++++++++++++++++
15 dev-python/fritzconnection/metadata.xml | 13 +++++++++
16 3 files changed, 48 insertions(+)
17
18 diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest
19 new file mode 100644
20 index 00000000000..083c78617f1
21 --- /dev/null
22 +++ b/dev-python/fritzconnection/Manifest
23 @@ -0,0 +1 @@
24 +DIST fritzconnection-1.5.0.tar.gz 71597 BLAKE2B 2c0d27cf91550a7b7f0d3c56f115dd174995af4293d6dd91ee6bbfaab2f3db7c8e4a2297d83a5d6a5219550ee9397c0b1122260234b6fab4589e15c34a381f21 SHA512 2fcf84c73af146d0422a9e32364562e4cc9d6992f487f40f27eede4a571c4dfa37c92a6bcd5ea49da144585657e382e648e0fd00a15f78646da5abb5060eea3c
25
26 diff --git a/dev-python/fritzconnection/fritzconnection-1.5.0.ebuild b/dev-python/fritzconnection/fritzconnection-1.5.0.ebuild
27 new file mode 100644
28 index 00000000000..558c9ac45bc
29 --- /dev/null
30 +++ b/dev-python/fritzconnection/fritzconnection-1.5.0.ebuild
31 @@ -0,0 +1,34 @@
32 +# Copyright 2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP"
41 +HOMEPAGE="https://github.com/kbr/fritzconnection"
42 +LICENSE="MIT"
43 +SLOT="0"
44 +
45 +if [[ "${PV}" == "9999" ]]; then
46 + EGIT_REPO_URI="https://github.com/kbr/fritzconnection"
47 + inherit git-r3
48 +else
49 + SRC_URI="https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz -> ${P}.tar.gz"
50 + KEYWORDS="~amd64 ~x86"
51 +fi
52 +
53 +CDEPEND=">=dev-python/requests-2.22[${PYTHON_USEDEP}]"
54 +
55 +BDEPEND="
56 + test? (
57 + dev-python/pytest-mock[${PYTHON_USEDEP}]
58 + )
59 +"
60 +
61 +DEPEND="test? ( ${CDEPEND} )"
62 +
63 +RDEPEND="${CDEPEND}"
64 +
65 +distutils_enable_tests pytest
66
67 diff --git a/dev-python/fritzconnection/metadata.xml b/dev-python/fritzconnection/metadata.xml
68 new file mode 100644
69 index 00000000000..b04f020e6cf
70 --- /dev/null
71 +++ b/dev-python/fritzconnection/metadata.xml
72 @@ -0,0 +1,13 @@
73 +<?xml version="1.0" encoding="UTF-8"?>
74 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
75 +<pkgmetadata>
76 + <maintainer type="person">
77 + <email>whissi@g.o</email>
78 + <name>Thomas Deutschmann</name>
79 + </maintainer>
80 + <upstream>
81 + <bugs-to>https://github.com/kbr/fritzconnection/issues</bugs-to>
82 + <remote-id type="github">kbr/fritzconnection</remote-id>
83 + <remote-id type="pypi">fritzconnection</remote-id>
84 + </upstream>
85 +</pkgmetadata>