Files
guru/dev-python/httpcore/httpcore-0.7.0.ebuild
Alessandro Barbieri 3f28cf795f dev-python/httpcore: removed space
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2020-04-07 03:19:59 +02:00

61 lines
1.3 KiB
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="A minimal HTTP client"
HOMEPAGE="
https://github.com/encode/httpcore
https://pypi.org/project/httpcore
"
SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# Temporary failure in name resolution
RESTRICT="test"
# ERROR - Config value: 'theme'. Error: Unrecognised theme name: 'material'. The available installed themes are: mkdocs, readthedocs
#IUSE="doc"
RDEPEND="
dev-python/h11[${PYTHON_USEDEP}]
dev-python/hyper-h2[${PYTHON_USEDEP}]
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
"
#BDEPEND="
# doc? (
# dev-python/mkautodoc
# dev-python/mkdocs
# dev-python/mkdocs-material
# )
#"
DEPEND="
${RDEPEND}
test? (
dev-python/autoflake[${PYTHON_USEDEP}]
dev-python/black[${PYTHON_USEDEP}]
dev-python/isort[${PYTHON_USEDEP}]
dev-python/mypy[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-trio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
#python_compile_all() {
# default
# if use doc; then
# mkdocs build || die "failed to make docs"
# HTML_DOCS="site"
# fi
#}