dev-python/mwparserfromhell: new package

Based on https://github.com/wimmuskee/flavour/blob/master/dev-python/mwparserfromhell/mwparserfromhell-0.6.6.ebuild
This commit is contained in:
Vitaly Zdanevich authored and jinqiang zhang committed 2025-08-04 18:10:19 +08:00
1 parent 70c5ea4f20
commit 4d6e57cb06
3 files changed
+32

No files matched your search

+1
View File
@@ -0,0 +1 @@
DIST mwparserfromhell-0.7.2.tar.gz 191695 BLAKE2B d0c77fea4aded8889babadccd104a6fb390ff2bfeae34b1e47c64db868fb5b4c454fa185c1aea209f91546e8a98693e073efae6a4f61d6b1de0573a8479b915a SHA512 3b0034e643ec24f8a1ae70743a9525439f61f17beb07f6d421650852c89660a0a9f752d7a7117f5df2b4ee3d719321456233d565addc63002e888c27350c8c07
+7
View File
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">earwig/mwparserfromhell</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,24 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1
DESCRIPTION="A Python parser for MediaWiki wikicode"
HOMEPAGE="https://github.com/earwig/mwparserfromhell"
SRC_URI="https://github.com/earwig/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="
$(python_gen_cond_dep 'dev-python/setuptools-scm[${PYTHON_USEDEP}]')
"
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
distutils_enable_tests pytest