2024-05-15 12:15:32 -04:00
|
|
|
# Copyright 2023-2024 Gentoo Authors
|
2023-03-13 10:09:11 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
2024-05-15 12:15:32 -04:00
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
2026-03-09 00:12:27 +01:00
|
|
|
PYTHON_COMPAT=( python3_{12..13} )
|
2023-03-13 10:09:11 +03:00
|
|
|
|
2023-05-21 12:40:23 -07:00
|
|
|
inherit distutils-r1 pypi
|
2023-03-13 10:09:11 +03:00
|
|
|
|
|
|
|
|
DESCRIPTION="HTTP REST client, simplified for Python"
|
2024-05-15 12:15:32 -04:00
|
|
|
HOMEPAGE="
|
|
|
|
|
https://github.com/sendgrid/python-http-client
|
|
|
|
|
https://pypi.org/project/python-http-client/
|
|
|
|
|
"
|
2023-03-13 10:09:11 +03:00
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
|
SLOT="0"
|
2023-03-13 10:24:31 +03:00
|
|
|
KEYWORDS="~amd64"
|
2023-03-13 10:09:11 +03:00
|
|
|
IUSE="test"
|
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
|
|
DOCS="README.rst"
|
|
|
|
|
|
|
|
|
|
BDEPEND="
|
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
|
|
|
test? (
|
|
|
|
|
dev-python/mock[${PYTHON_USEDEP}]
|
|
|
|
|
dev-python/pytest[${PYTHON_USEDEP}]
|
|
|
|
|
)"
|
|
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|