commit: 718fcca89d87fb3de0920396e42c605fd439a74f parent: a2ad174f343961d607855494ce6860ddcccc5fdb Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Thu, 12 Mar 2020 10:01:56 +0100 dev-python/mkdocs: New package, 1.0.4 & 1.1Diffstat:
A | dev-python/mkdocs/Manifest | 2 | ++ |
A | dev-python/mkdocs/metadata.xml | 8 | ++++++++ |
A | dev-python/mkdocs/mkdocs-1.0.4.ebuild | 29 | +++++++++++++++++++++++++++++ |
A | dev-python/mkdocs/mkdocs-1.1.ebuild | 41 | +++++++++++++++++++++++++++++++++++++++++ |
4 files changed, 80 insertions(+), 0 deletions(-)
diff --git a/dev-python/mkdocs/Manifest b/dev-python/mkdocs/Manifest @@ -0,0 +1,2 @@ +DIST mkdocs-1.0.4.tar.gz 1589512 BLAKE2B 714bdc11733ad519e3bab4e354170dde218f9f9c3586fbc33a57da88d6d3d1f78b8e0bc2bdd062e23cbda0fa295b3a249d08b3966028f1574c08caad0326c6b5 SHA512 2fc4ee83b48410d9d6450670e50844258998fd1dd44226fbb53a2aa185da951d91052ec678a814900ced1066c085361051283abe4df2cb400a10d254340bc352 +DIST mkdocs-1.1.tar.gz 6984465 BLAKE2B 878d0351ac477651094b5f33a26d5faa444fed430b72df723d4fe020ee8d6953ee198a9e923aa79a04286445ff673e1d6967ca1740d8f02b37426b33038f76fb SHA512 3e846eac816d9a4f380e2cce856a1785b67c9d855392af8be2eb0de5c9aad7ead19e675fb36ff53e9e3046798c8691908c1d6bfec67f8c74dcaee6852b9c50cd diff --git a/dev-python/mkdocs/metadata.xml b/dev-python/mkdocs/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!--maintainer-needed--> + <upstream> + <remote-id type="github">tomchristie/mkdocs</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/mkdocs/mkdocs-1.0.4.ebuild b/dev-python/mkdocs/mkdocs-1.0.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_6 python3_7 ) + +inherit distutils-r1 + +distutils_enable_tests nose + +DESCRIPTION="Project documentation with Markdown." +HOMEPAGE="https://www.mkdocs.org" +SRC_URI="https://github.com/mkdocs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/click-3.3[${PYTHON_USEDEP}] + >=dev-python/jinja-2.7.1[${PYTHON_USEDEP}] + >=dev-python/livereload-2.5.1[${PYTHON_USEDEP}] + >=dev-python/markdown-2.3.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-bootstrap-0.1.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-bootswatch-0.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + >=www-servers/tornado-5.0[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" diff --git a/dev-python/mkdocs/mkdocs-1.1.ebuild b/dev-python/mkdocs/mkdocs-1.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_6 python3_7 ) + +inherit distutils-r1 + +DESCRIPTION="Project documentation with Markdown." +HOMEPAGE="https://www.mkdocs.org" +SRC_URI="https://github.com/mkdocs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND=" + ${CDEPEND} + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + ) +" +RDEPEND=" + ${CDEPEND} + >=dev-python/click-3.3[${PYTHON_USEDEP}] + >=dev-python/jinja-2.7.1[${PYTHON_USEDEP}] + >=dev-python/livereload-2.5.1[${PYTHON_USEDEP}] + >=dev-python/markdown-2.3.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-bootstrap-0.1.1[${PYTHON_USEDEP}] + >=dev-python/mkdocs-bootswatch-0.1.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + >=www-servers/tornado-5.0[${PYTHON_USEDEP}] +" + +python_test() { + nosetests mkdocs/tests || die "tests failed under ${EPYTHON}" +}