25 lines
547 B
Bash
25 lines
547 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python3_{7..9} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Jinja2 pluralize filters"
|
|
HOMEPAGE="https://github.com/audreyr/jinja2_pluralize"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-python/inflect[${PYTHON_USEDEP}]"
|
|
DEPEND="${RDEPEND}
|
|
dev-python/jinja[${PYTHON_USEDEP}]"
|
|
|
|
python_test() {
|
|
esetup.py test || die "tests failed with ${EPYTHON}"
|
|
}
|