summaryrefslogtreecommitdiff
path: root/dev-python/chevron/chevron-0.13.1.ebuild
blob: 6e752fa6ff2be06bd6b852aebb3746166bfe289c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9,10,11,12,13} )

PYPI_NO_NORMALIZE=1

inherit distutils-r1 pypi

if [[ "${PV}" == "9999" ]]; then
	EGIT_REPO_URI="https://github.com/noahmorrison/${PN}.git"
	inherit git-r3
else
	SRC_URI="https://github.com/noahmorrison/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
	KEYWORDS="~amd64"
fi

DESCRIPTION="A Python implementation of mustache"
HOMEPAGE="https://github.com/noahmorrison/chevron"
LICENSE="MIT"
SLOT="0"

RDEPEND="
	${PYTHON_DEPS}
"

distutils_enable_tests unittest