gentoo/dev-python/mkautodoc/mkautodoc-0.2.0.ebuild
David Seifert ed468028e7
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org>
2023-01-14 13:51:19 +01:00

33 lines
715 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Auto documentation for MkDocs"
HOMEPAGE="
https://github.com/tomchristie/mkautodoc/
https://pypi.org/project/mkautodoc/
"
SRC_URI="https://github.com/tomchristie/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-python/markdown[${PYTHON_USEDEP}]"
BDEPEND="test? (
dev-python/mock[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
src_test() {
local -x PYTHONPATH="${WORKDIR}/${P}/tests/mocklib:${WORKDIR}/${P}"
distutils-r1_src_test
}