| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.7.1 | 8 | ~amd64 ~arm64 ~ppc64 ~riscv ~x86 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} pypy3 pypy3_11 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Command-line utility to create projects from cookiecutters (project templates)"
HOMEPAGE="https://github.com/cookiecutter/cookiecutter"
SRC_URI="https://github.com/cookiecutter/cookiecutter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
RDEPEND="
dev-python/arrow[${PYTHON_USEDEP}]
>=dev-python/binaryornot-0.4.4[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
<dev-python/click-9.0.0[${PYTHON_USEDEP}]
>=dev-python/jinja2-2.7[${PYTHON_USEDEP}]
<dev-python/jinja2-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
>=dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.23.0[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/freezegun[${PYTHON_USEDEP}]
dev-vcs/git
)
"
DOCS=( README.md AUTHORS.md CONTRIBUTING.md SECURITY.md )
PATCHES=(
"${FILESDIR}/test_cli-1.7.2.patch"
"${FILESDIR}/build-backend-2.7.1.patch"
)
EPYTEST_PLUGINS=( pytest-mock )
distutils_enable_tests pytest
# TODO: Package sphinx-click
# distutils_enable_sphinx docs \
# dev-python/sphinx-rtd-theme \
# dev-python/recommonmark
python_test() {
epytest -o addopts=
}
dev-python/arrow[${PYTHON_USEDEP}]
>=dev-python/binaryornot-0.4.4[${PYTHON_USEDEP}]
>=dev-python/click-7.0[${PYTHON_USEDEP}]
<dev-python/click-9.0.0[${PYTHON_USEDEP}]
>=dev-python/jinja2-2.7[${PYTHON_USEDEP}]
<dev-python/jinja2-4.0.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
>=dev-python/python-slugify-4.0.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.23.0[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
test? (
dev-python/freezegun[${PYTHON_USEDEP}]
dev-vcs/git
)
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | cookiecutter-2.7.1.tar.gz | 389154 bytes | https://github.com/cookiecutter/cookiecutter/archive/v2.7.1.tar.gz |