diff --git a/dev-python/requestsexceptions/Manifest b/dev-python/requestsexceptions/Manifest new file mode 100644 index 0000000..2b1f5cb --- /dev/null +++ b/dev-python/requestsexceptions/Manifest @@ -0,0 +1 @@ +DIST requestsexceptions-1.4.0.tar.gz 6880 BLAKE2B 7539cb7993de817a9d22db3f2e1121b65850cc80723c149243e6e540df7f1229abf66a5a443ca41eb855510caa3f10ca6829d89ad39745fe8180359a92037cff SHA512 f631fa650a969ccc74eebfe7522b16e969de4bf48b6f7140eba46a301cfc5a56b9a8354785990daabae025a8175f6b62bf0870d73468d96ba92fa09f4ef3c566 diff --git a/dev-python/requestsexceptions/metadata.xml b/dev-python/requestsexceptions/metadata.xml new file mode 100644 index 0000000..b196a8b --- /dev/null +++ b/dev-python/requestsexceptions/metadata.xml @@ -0,0 +1,15 @@ + + + + + prometheanfire@gentoo.org + Matthew Thode + + + The python requests library bundles the urllib3 library, however, some software distributions modify requests to remove the bundled library. This makes some operations, such as supressing the "insecure platform warning" messages that urllib emits difficult. This is a simple library to find the correct path to exceptions in the requests library regardless of whether they are bundled. + + + openstack-infra/requestsexceptions + requestsexceptions + + diff --git a/dev-python/requestsexceptions/requestsexceptions-1.4.0.ebuild b/dev-python/requestsexceptions/requestsexceptions-1.4.0.ebuild new file mode 100644 index 0000000..3ee4c56 --- /dev/null +++ b/dev-python/requestsexceptions/requestsexceptions-1.4.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=bdepend + +inherit distutils-r1 + +DESCRIPTION="Finds the correct path to exceptions in the requests library." +HOMEPAGE="https://github.com/openstack-infra/requestsexceptions" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 x86" +IUSE="" + +DEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]" +RDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]"