diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-04-12 20:30:04 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-12-08 07:53:06 +0200 |
commit | 8d5930671be14399474cd1f1166d007c55113228 (patch) | |
tree | 193858d705ab9ab5c4eff3044b32c20e9ed3f0e6 /dev-python/mkdocs-material-extensions | |
parent | dev-python/mkdocs-redirects: redirects plugin (diff) | |
download | gentoo-8d5930671be14399474cd1f1166d007c55113228.tar.gz gentoo-8d5930671be14399474cd1f1166d007c55113228.tar.bz2 gentoo-8d5930671be14399474cd1f1166d007c55113228.zip |
dev-python/mkdocs-material-extensions: Extension pack
Extension pack for Python Markdown.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-python/mkdocs-material-extensions')
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material-extensions/Manifest b/dev-python/mkdocs-material-extensions/Manifest new file mode 100644 index 000000000000..2ef134ab7d48 --- /dev/null +++ b/dev-python/mkdocs-material-extensions/Manifest @@ -0,0 +1 @@ +DIST mkdocs-material-extensions-1.0.1.tar.gz 12259 BLAKE2B 464b0856f10f0b9311d5c6fe15def4af9384354ab86e62392052ae1bb7450bd09ac56b5d3e9f40b252b30c924f1cf35597ffc9c898f0cffb2c11a74b45da4090 SHA512 68bfdde71f654a9ae42cb6d4545005eddc235e74f6a4c49707853de9cb30261c77ab8c8534b15019c7030d01b97a32645f5355a9e6511470466bf0e6f17b6890 diff --git a/dev-python/mkdocs-material-extensions/metadata.xml b/dev-python/mkdocs-material-extensions/metadata.xml new file mode 100644 index 000000000000..878e3e670559 --- /dev/null +++ b/dev-python/mkdocs-material-extensions/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@riseup.net</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">facelessuser/mkdocs-material-extensions</remote-id> + <remote-id type="pypi">mkdocs-material-extensions</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.0.1.ebuild b/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.0.1.ebuild new file mode 100644 index 000000000000..a5b3893e994b --- /dev/null +++ b/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.0.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Extension pack for Python Markdown" +HOMEPAGE=" + https://github.com/facelessuser/mkdocs-material-extensions + https://pypi.org/project/mkdocs-material-extensions +" +SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# mkdocs-material depends on this package creating a circular dep +PDEPEND=">=dev-python/mkdocs-material-5.0.0[${PYTHON_USEDEP}]" + +# we still need mkdocs-material for test, but the circular dep can be avoided +# by first emerging with FEATURES="-test" +BDEPEND="test? ( ${PDEPEND} )" + +distutils_enable_tests pytest + +python_prepare_all() { + # AssertionError: False is not true + sed -i -e 's:test_material_svg_injection:_&:' \ + tests/extensions/test_emoji.py || die + + distutils-r1_python_prepare_all +} |