From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 10DA2138350 for ; Thu, 9 Apr 2020 12:38:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C09CEE0954; Thu, 9 Apr 2020 12:38:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D7BCE0949 for ; Thu, 9 Apr 2020 12:38:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4687434F068 for ; Thu, 9 Apr 2020 12:38:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25EC41CC for ; Thu, 9 Apr 2020 12:38:14 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1586435862.2a914229307ce200be4eab9b25de206e6c193c7f.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mkdocs/Manifest dev-python/mkdocs/metadata.xml dev-python/mkdocs/mkdocs-1.1.ebuild X-VCS-Directories: dev-python/mkdocs/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 2a914229307ce200be4eab9b25de206e6c193c7f X-VCS-Branch: master Date: Thu, 9 Apr 2020 12:38:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a19e87b1-adb6-406c-b46b-127793fa64f4 X-Archives-Hash: 33b02c52efa6682c111fb71f52fa9b30 commit: 2a914229307ce200be4eab9b25de206e6c193c7f Author: Andrew Ammerlaan riseup net> AuthorDate: Sat Mar 28 14:12:28 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Apr 9 12:37:42 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a914229 dev-python/mkdocs: version bump 1.1 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> Signed-off-by: Joonas Niilola gentoo.org> dev-python/mkdocs/Manifest | 1 + dev-python/mkdocs/metadata.xml | 9 +++++- dev-python/mkdocs/mkdocs-1.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 1 deletion(-) diff --git a/dev-python/mkdocs/Manifest b/dev-python/mkdocs/Manifest index 1ffda6972b2..9dabb9467fc 100644 --- a/dev-python/mkdocs/Manifest +++ b/dev-python/mkdocs/Manifest @@ -1,2 +1,3 @@ DIST mkdocs-0.15.3.tar.gz 1805972 BLAKE2B e6619fa0bd14fefe96de5abeb9243369b1419e7018705ac6a6d58fcb40c01aff380c3b4ca514af0a25da90092f39776abe42d19a67f7e86780c5c4111884b230 SHA512 e5b72eb56dcc2fe2be154155af15845a7d0fc06d6176f1c6b2bb54e8673d207146bdd92b37a709d72c1d59fcc76a793e6fed5d7fb6d9008f28d43baa17e446f8 DIST mkdocs-1.0.1.tar.gz 1589767 BLAKE2B 54f7a33c166fa44b9471069db45436e1381d451470fea4ed11de1cabc0cead3508bffbaf2303d33904ef0bee8f81cfbdacb0fd095ee53d6fa7c09f33274c03af SHA512 9f6b1ff5922fb58783d70f3912bb0170f927ba0160f5e48f71db2d267030208bd50997f14f4626fbfce891ddce7f97747ba05100ea96cdc24609341d382f039a +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 index 251c93451e3..5d57d454ac2 100644 --- a/dev-python/mkdocs/metadata.xml +++ b/dev-python/mkdocs/metadata.xml @@ -1,7 +1,14 @@ - + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + proxy-maint@gentoo.org + Proxy Maintainers + tomchristie/mkdocs diff --git a/dev-python/mkdocs/mkdocs-1.1.ebuild b/dev-python/mkdocs/mkdocs-1.1.ebuild new file mode 100644 index 00000000000..fde74459fdd --- /dev/null +++ b/dev-python/mkdocs/mkdocs-1.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Project documentation with Markdown." +HOMEPAGE="https://www.mkdocs.org https://github.com/mkdocs/mkdocs" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="doc" + +BDEPEND=" + doc? ( + dev-python/mdx_gh_links + ) +" + +RDEPEND=" + >=dev-python/click-3.3[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/livereload-2.5.1[${PYTHON_USEDEP}] + ~dev-python/lunr-0.5.6[${PYTHON_USEDEP}] + >=dev-python/markdown-3.2.1[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] + >=www-servers/tornado-5.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests nose + +python_prepare_all(){ + # cannot get all themes + sed -i -e 's:test_get_themes:_&:' mkdocs/tests/utils/utils_tests.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + default + if use doc; then + # cannot just do mkdocs build, because that fails if + # the package isn't already installed + python -m mkdocs build || die "Failed to make docs" + # Colliding files found by ecompress: + rm site/sitemap.xml.gz || die + HTML_DOCS=( "site/." ) + fi +}