Files
guru/dev-python/cmarkgfm/cmarkgfm-2022.3.4.ebuild
Alessandro Barbieri b5c8d46e2c dev-python/cmarkgfm: update SRC_URI
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-05-31 01:04:22 +02:00

32 lines
679 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} pypy3 )
inherit distutils-r1 edos2unix
DESCRIPTION="Python bindings for GitHub's cmark"
HOMEPAGE="https://github.com/theacodes/cmarkgfm"
SRC_URI="https://github.com/theacodes/cmarkgfm/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
RDEPEND="
app-text/cmark-gfm
virtual/python-cffi[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-0.6.0-use-system-cmark-gfm.patch" )
src_prepare() {
edos2unix src/cmarkgfm/build_cmark.py
default
}
distutils_enable_tests pytest