summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/mkdocs-material-extensions/Manifest1
-rw-r--r--dev-python/mkdocs-material-extensions/metadata.xml17
-rw-r--r--dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.0.1.ebuild36
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
+}