mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-16 02:23:16 -04:00
dev-python/cmarkgfm: add 0.6.0, drop 0.5.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
32
dev-python/cmarkgfm/cmarkgfm-0.6.0.ebuild
Normal file
32
dev-python/cmarkgfm/cmarkgfm-0.6.0.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
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}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
app-text/cmark-gfm
|
||||
virtual/python-cffi[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/dos2unix"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-use-system-cmark-gfm.patch" )
|
||||
|
||||
src_prepare() {
|
||||
dos2unix src/cmarkgfm/build_cmark.py || die
|
||||
default
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
Reference in New Issue
Block a user