gentoo/dev-python/jsonref/jsonref-0.1.ebuild
Sam James eef14daf66
dev-python/jsonref: add Python 3.9
Signed-off-by: Sam James <sam@gentoo.org>
2021-03-04 02:56:54 +00:00

24 lines
522 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python3_{7,8,9} )
inherit eutils distutils-r1
DESCRIPTION="An implementation of JSON Reference for Python"
HOMEPAGE="https://github.com/gazpachoking/jsonref https://pypi.org/project/jsonref/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
distutils_enable_tests pytest
python_test() {
pytest -vv tests.py || die
}