commit: 16a6b5d04bb9901c13200aa8b3f7a05a6b77453a Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Thu Mar 17 08:35:19 2022 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Thu Mar 17 08:38:42 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16a6b5d0
dev-python/cmarkgfm: add 2022.3.4 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> dev-python/cmarkgfm/Manifest | 1 + dev-python/cmarkgfm/cmarkgfm-2022.3.4.ebuild | 32 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-python/cmarkgfm/Manifest b/dev-python/cmarkgfm/Manifest index 18bde8a84..ac2d67978 100644 --- a/dev-python/cmarkgfm/Manifest +++ b/dev-python/cmarkgfm/Manifest @@ -1 +1,2 @@ DIST cmarkgfm-0.6.0.tar.gz 12667 BLAKE2B 8eab0a7f0b9903ddeca59a8dcd00efcd2a9ed136b0920cfd7ce40bf49a5b4d9c8d492c2096090a647deaa514b4032878e58d006852d279f91e8d439850e61add SHA512 de4653ae4b27e55b98f885b67d50f71cffa92f13511f1a5efb885a474f5aefb924ce6eb019f4241499b66ad43a7e0630053a7743e844e5c34c652050c0f83ef2 +DIST cmarkgfm-2022.3.4.tar.gz 11853 BLAKE2B 51c66b6e54856a269214731c68e496f242293fdecbcc9848fdd8f3044531409c8e80ec1c311acacc4f079346a1ca2de060c185293c32449711aa415aed83da94 SHA512 e3336f34059a29237a977e37ddc56b850f5baa204d10a4fc90d6cfa805da9d09d007428dcaae698c4ab9aab8129aa44d2907eb16809e01ee2bc3f94f78939076 diff --git a/dev-python/cmarkgfm/cmarkgfm-2022.3.4.ebuild b/dev-python/cmarkgfm/cmarkgfm-2022.3.4.ebuild new file mode 100644 index 000000000..aaebd7113 --- /dev/null +++ b/dev-python/cmarkgfm/cmarkgfm-2022.3.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 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}/${PN}-0.6.0-use-system-cmark-gfm.patch" ) + +src_prepare() { + dos2unix src/cmarkgfm/build_cmark.py || die + default +} + +distutils_enable_tests pytest