aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-01-07 02:37:55 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-01-07 02:46:41 +0500
commita59132d698623ddab2fa5ad17356378f18b6d17e (patch)
tree75369ea7ddfc7344a3eacd3580a9094bb68e0f66 /dev-python/repology-client
parentapp-shells/zsh-autocomplete: new package, add 23.07.13, 9999 (diff)
downloadguru-a59132d698623ddab2fa5ad17356378f18b6d17e.tar.gz
guru-a59132d698623ddab2fa5ad17356378f18b6d17e.tar.bz2
guru-a59132d698623ddab2fa5ad17356378f18b6d17e.zip
dev-python/repology-client: new package, add 0.0.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'dev-python/repology-client')
-rw-r--r--dev-python/repology-client/Manifest1
-rw-r--r--dev-python/repology-client/metadata.xml16
-rw-r--r--dev-python/repology-client/repology-client-0.0.1.ebuild37
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/repology-client/Manifest b/dev-python/repology-client/Manifest
new file mode 100644
index 000000000..7b9869aec
--- /dev/null
+++ b/dev-python/repology-client/Manifest
@@ -0,0 +1 @@
+DIST repology_client-0.0.1.tar.gz 257614 BLAKE2B 8edd433ffd1efb09ef336e198562a1c8ce9a67323cca18abce46165ecfaca2604822eb31ea68ccf3ce162dd126910ec5640c8a2f5dece3338a382bfdcfba3dda SHA512 24b687246b56f94c0c761c3cd334e5a1b68f0f1642f45738dcdd448e488cf6aa57fc34bf8a5a24986febad8ea060eabbde851caff2255a8b61f52e5d296b2a67
diff --git a/dev-python/repology-client/metadata.xml b/dev-python/repology-client/metadata.xml
new file mode 100644
index 000000000..54cca7171
--- /dev/null
+++ b/dev-python/repology-client/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <name>Anna</name>
+ <email>cyber@sysrq.in</email>
+ </maintainer>
+ <bugs-to>https://bugs.sysrq.in/enter_bug.cgi?product=Python libraries&amp;component=repology-client</bugs-to>
+ <changelog>https://repology-client.sysrq.in/release-notes.html</changelog>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/repology-client/repology-client-0.0.1.ebuild b/dev-python/repology-client/repology-client-0.0.1.ebuild
new file mode 100644
index 000000000..4299767d2
--- /dev/null
+++ b/dev-python/repology-client/repology-client-0.0.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1 pypi
+
+DESCRIPTION="Asynchronous wrapper for Repology API"
+HOMEPAGE="
+ https://repology-client.sysrq.in/
+ https://pypi.org/project/repology-client
+"
+
+LICENSE="CC-BY-SA-3.0 EUPL-1.2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+ <dev-python/aiohttp-4[${PYTHON_USEDEP}]
+ >=dev-python/pydantic-2[${PYTHON_USEDEP}]
+ <dev-python/pydantic-3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-recording[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx-aiohttp-theme \
+ dev-python/sphinx-prompt