summaryrefslogtreecommitdiff
path: root/dev-python/httpx-oauth
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/httpx-oauth')
-rw-r--r--dev-python/httpx-oauth/Manifest3
-rw-r--r--dev-python/httpx-oauth/httpx-oauth-0.16.1.ebuild44
-rw-r--r--dev-python/httpx-oauth/metadata.xml12
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/httpx-oauth/Manifest b/dev-python/httpx-oauth/Manifest
new file mode 100644
index 000000000000..cd0dde5c1a97
--- /dev/null
+++ b/dev-python/httpx-oauth/Manifest
@@ -0,0 +1,3 @@
+DIST httpx-oauth-0.16.1.gh.tar.gz 44234 BLAKE2B a0e5f404d459abb77ce1cb5f30e0c08eb5d18fa5c403e6bc8ae686c193dbf14a9b290cc64b25bcd700a965ab69fc7a2d3aaa6b9800e92f35fd6409001bc9f7ab SHA512 22a3b244f2a3353616b56668c3ab3409ea2b4c20d976bd968bf8ea78c709692da919b232a769e3eeab839631d216c4377cff76157903d6861f1517093b3fd69a
+EBUILD httpx-oauth-0.16.1.ebuild 1075 BLAKE2B 6a3910dc881c603324e5e415a9df48f4061a644275bb0211d26ed81f40150f90fb405d4f6fc329fd3f4b2553572a2f57b5d504bec608df236ee52f160efaa4d2 SHA512 487adf4037f07d3f64fc6040e3170a6d7d67e02399574f21b8cc773e2b094dce62dd6abaec8c21eb74103817d35baf85cb947efe5a4e2f5f819bf0e853db75a6
+MISC metadata.xml 462 BLAKE2B ca91a710af44c7746ed1997b4ba09605601b502a9ec9952d07ee5ce017e8e00c24bf92b9a3b810a6f68e4323b9c6e755fc15bd1c08f486b8cdcc4521b0ee3d77 SHA512 edb3e6c4e4157f645559d992e9c472da127ee03d72e69bd909c1738215e5c925a91d1baab7392dd25492bb02e30237a03524e9a73ab844ba0802328dd7e6adcc
diff --git a/dev-python/httpx-oauth/httpx-oauth-0.16.1.ebuild b/dev-python/httpx-oauth/httpx-oauth-0.16.1.ebuild
new file mode 100644
index 000000000000..4eb8a67f060a
--- /dev/null
+++ b/dev-python/httpx-oauth/httpx-oauth-0.16.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Async OAuth client using HTTPX"
+HOMEPAGE="https://github.com/frankie567/httpx-oauth"
+SRC_URI="https://github.com/frankie567/httpx-oauth/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT-0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/httpx-0.18[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/fastapi[${PYTHON_USEDEP}]
+ dev-python/respx[${PYTHON_USEDEP}]
+ )
+"
+
+DOCS=( README.md )
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # No need for regex-commit plugin
+ sed -e '/^source.*regex_commit/d' -i pyproject.toml || die
+ sed -e '/^commit_extra_args/d' -i pyproject.toml || die
+ sed -e 's/,\s*"hatch-regex-commit"//g' || pyproject.toml || die
+ # Disable coverage
+ sed -e '/^addopts/d' -i pyproject.toml || die
+
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/httpx-oauth/metadata.xml b/dev-python/httpx-oauth/metadata.xml
new file mode 100644
index 000000000000..69d13dcc0b2f
--- /dev/null
+++ b/dev-python/httpx-oauth/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marcin.deranek@slonko.net</email>
+ <name>Marcin Deranek</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/frankie567/httpx-oauth/issues</bugs-to>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>