diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-06-12 17:09:48 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-06-13 20:19:32 +0200 |
commit | 246b156941ac95dc21b585eed3bb617cc779da0f (patch) | |
tree | 99a930cd7b89570927049865569af824712011a3 /dev-python/fritzconnection | |
parent | mail-filter/spamprobe: update EAPI 6 -> 7, fix gcc 11 build (diff) | |
download | gentoo-246b156941ac95dc21b585eed3bb617cc779da0f.tar.gz gentoo-246b156941ac95dc21b585eed3bb617cc779da0f.tar.bz2 gentoo-246b156941ac95dc21b585eed3bb617cc779da0f.zip |
dev-python/fritzconnection: initial import
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-python/fritzconnection')
-rw-r--r-- | dev-python/fritzconnection/Manifest | 1 | ||||
-rw-r--r-- | dev-python/fritzconnection/fritzconnection-1.5.0.ebuild | 34 | ||||
-rw-r--r-- | dev-python/fritzconnection/metadata.xml | 13 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest new file mode 100644 index 000000000000..083c78617f10 --- /dev/null +++ b/dev-python/fritzconnection/Manifest @@ -0,0 +1 @@ +DIST fritzconnection-1.5.0.tar.gz 71597 BLAKE2B 2c0d27cf91550a7b7f0d3c56f115dd174995af4293d6dd91ee6bbfaab2f3db7c8e4a2297d83a5d6a5219550ee9397c0b1122260234b6fab4589e15c34a381f21 SHA512 2fcf84c73af146d0422a9e32364562e4cc9d6992f487f40f27eede4a571c4dfa37c92a6bcd5ea49da144585657e382e648e0fd00a15f78646da5abb5060eea3c diff --git a/dev-python/fritzconnection/fritzconnection-1.5.0.ebuild b/dev-python/fritzconnection/fritzconnection-1.5.0.ebuild new file mode 100644 index 000000000000..558c9ac45bc5 --- /dev/null +++ b/dev-python/fritzconnection/fritzconnection-1.5.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP" +HOMEPAGE="https://github.com/kbr/fritzconnection" +LICENSE="MIT" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/kbr/fritzconnection" + inherit git-r3 +else + SRC_URI="https://github.com/kbr/fritzconnection/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +CDEPEND=">=dev-python/requests-2.22[${PYTHON_USEDEP}]" + +BDEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +DEPEND="test? ( ${CDEPEND} )" + +RDEPEND="${CDEPEND}" + +distutils_enable_tests pytest diff --git a/dev-python/fritzconnection/metadata.xml b/dev-python/fritzconnection/metadata.xml new file mode 100644 index 000000000000..b04f020e6cf8 --- /dev/null +++ b/dev-python/fritzconnection/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>whissi@gentoo.org</email> + <name>Thomas Deutschmann</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/kbr/fritzconnection/issues</bugs-to> + <remote-id type="github">kbr/fritzconnection</remote-id> + <remote-id type="pypi">fritzconnection</remote-id> + </upstream> +</pkgmetadata> |