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:
1 parent
70c5ea4f20
commit
4d6e57cb06
3 files changed
+32
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user