src_prepare-overlay/dev-python/m2r2/m2r2-0.2.8.ebuild
Alfred Wingate 716f95631a
dev-python/m2r2: bump 0.2.8
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2021-06-30 10:39:29 +03:00

34 lines
725 B
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10})
inherit distutils-r1
DESCRIPTION="Markdown to reStructuredText converter"
HOMEPAGE="https://crossnox.github.io/m2r2/"
SRC_URI="https://github.com/CrossNox/m2r2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/mistune[${PYTHON_USEDEP}]
"
DEPEND="
test? (
${RDEPEND}
dev-python/pygments[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs
PATCHES=( "${FILESDIR}/Make-TestConvert.test_no_file-work-with-Python-3.10.patch" )