diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/fritzconnection | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/fritzconnection')
| -rw-r--r-- | dev-python/fritzconnection/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fritzconnection/fritzconnection-1.15.1.ebuild | 50 | ||||
| -rw-r--r-- | dev-python/fritzconnection/metadata.xml | 19 |
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-python/fritzconnection/Manifest b/dev-python/fritzconnection/Manifest new file mode 100644 index 000000000000..6a03fe1ea7c6 --- /dev/null +++ b/dev-python/fritzconnection/Manifest @@ -0,0 +1 @@ +DIST fritzconnection-1.15.1.gh.tar.gz 167688 BLAKE2B 2dbd8122e8c6d3ff1a7050319d44ec139fbce46abdd7df38b780a2ea2fe867d534d9b7d15ca9dcca9ab437363b3cab05a594019c6a5d06601c2034fc9d0243b0 SHA512 b4350835ddc05bfd66fad5911f6375bbf0f71a7e5e599581c4f9a738fbbc33c3d8065ca882ae8ff04ed5a40a5fce5c049613f796707fcb9ed8c0d002f7248e8d diff --git a/dev-python/fritzconnection/fritzconnection-1.15.1.ebuild b/dev-python/fritzconnection/fritzconnection-1.15.1.ebuild new file mode 100644 index 000000000000..aad17f4d0b4b --- /dev/null +++ b/dev-python/fritzconnection/fritzconnection-1.15.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Lib/tool to communicate with AVM FRITZ! devices using TR-064 protocol over UPnP" +HOMEPAGE=" + https://github.com/kbr/fritzconnection/ + https://pypi.org/project/fritzconnection/ +" + +LICENSE="MIT" +SLOT="0" +IUSE="qrcode" + +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}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +RDEPEND=" + >=dev-python/requests-2.22[${PYTHON_USEDEP}] + qrcode? ( + dev-python/segno[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # flaky (relies on time.sleep(0.01) magically being sufficient) + fritzconnection/tests/test_fritzmonitor.py::test_terminate_thread_on_failed_reconnection + ) + + # "routertest" marks tests against live hardware + epytest -m "not routertest" +} diff --git a/dev-python/fritzconnection/metadata.xml b/dev-python/fritzconnection/metadata.xml new file mode 100644 index 000000000000..a09fea976bc6 --- /dev/null +++ b/dev-python/fritzconnection/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <upstream> + <bugs-to>https://github.com/kbr/fritzconnection/issues</bugs-to> + </upstream> + <use> + <flag name="qrcode"> + Install dependencies needed to generate QR Codes for WiFi + login. + </flag> + </use> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
