mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 12:08:43 -04:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{10..13} pypy3 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Click + option groups + constraints + aliases + help themes + ..."
|
|
HOMEPAGE="https://github.com/janluke/cloup https://pypi.org/project/cloup/"
|
|
SRC_URI="https://github.com/janluke/cloup/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
DOCS+=( CHANGELOG.rst CREDITS.rst LICENSE examples )
|
|
|
|
RDEPEND="
|
|
>=dev-python/click-8.0[${PYTHON_USEDEP}]
|
|
<dev-python/click-9.0[${PYTHON_USEDEP}]
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
|
"
|
|
# doc? (
|
|
# dev-python/sphinx-autoapi[${PYTHON_USEDEP}]
|
|
# dev-python/sphinx-panels[${PYTHON_USEDEP}]
|
|
# dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
|
|
# dev-python/sphinx-version-warning[${PYTHON_USEDEP}]
|
|
# dev-python/sphinx-issues[${PYTHON_USEDEP}]
|
|
# )
|
|
|
|
distutils_enable_tests pytest
|
|
# distutils_enable_sphinx docs # The doc need dev-python/sphinx < 5, which we don't have
|
|
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|