From 43793fab84041cfc5c60c0151d1591b8a69fb24a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Aug 2018 07:36:27 +0100 Subject: gentoo resync : 25.08.2018 --- dev-python/mkdocs/Manifest | 2 ++ dev-python/mkdocs/mkdocs-1.0.1.ebuild | 48 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-python/mkdocs/mkdocs-1.0.1.ebuild (limited to 'dev-python/mkdocs') diff --git a/dev-python/mkdocs/Manifest b/dev-python/mkdocs/Manifest index 20d93d920947..f1093dda5e76 100644 --- a/dev-python/mkdocs/Manifest +++ b/dev-python/mkdocs/Manifest @@ -1,5 +1,7 @@ DIST mkdocs-0.15.3.tar.gz 1805972 BLAKE2B e6619fa0bd14fefe96de5abeb9243369b1419e7018705ac6a6d58fcb40c01aff380c3b4ca514af0a25da90092f39776abe42d19a67f7e86780c5c4111884b230 SHA512 e5b72eb56dcc2fe2be154155af15845a7d0fc06d6176f1c6b2bb54e8673d207146bdd92b37a709d72c1d59fcc76a793e6fed5d7fb6d9008f28d43baa17e446f8 DIST mkdocs-0.17.4.tar.gz 1830194 BLAKE2B be3877459ae4a5a88b40b2ab4beb2174c67d11a266a48cbcd37432c53df49f11aae3f923485f483744128483c7009f5f46a875924bd8409ec846f5d3387e1a68 SHA512 b9e2415cfaa317c4ec48dc2f54be55d2a630349cfc150f26d807015616853e2ea8937b247713a1a732626bedc807b542dbcd8e23d6ea70edb1e971abd20dd74b +DIST mkdocs-1.0.1.tar.gz 1589767 BLAKE2B 54f7a33c166fa44b9471069db45436e1381d451470fea4ed11de1cabc0cead3508bffbaf2303d33904ef0bee8f81cfbdacb0fd095ee53d6fa7c09f33274c03af SHA512 9f6b1ff5922fb58783d70f3912bb0170f927ba0160f5e48f71db2d267030208bd50997f14f4626fbfce891ddce7f97747ba05100ea96cdc24609341d382f039a EBUILD mkdocs-0.15.3.ebuild 1061 BLAKE2B 1a04b9e670519649f03965c075f295ee55444a6feb8413171908a071386253b5535a19c298040391e1c1deb46c0c4f90fd3a4296394a6bd9077405466a2d191b SHA512 bc6b8d0ac0f6644e49659e3cc35c28a818b085e9ac60d812226f3b9b74c17f681b978e582a538d4d8a39bcdef94fed11d97542b0dccacd2a967263657dcd2093 EBUILD mkdocs-0.17.4.ebuild 1321 BLAKE2B ca9ed4437185149a4c70caa38d7f71e1f27bbfc5c4c23d7e9b4cda9663c1dbadc33e99a76ee759a035c21639e534855234c9d83e3204091a11cdebc5b332db3e SHA512 e44367fa20b633e1cccefd8f0fed16b48fbca8162194506dd1dc5af6d49a2e4351975d4df31d222495e34da8c2333f28bb9e8d62ff0fbe189fe6b726b369c0df +EBUILD mkdocs-1.0.1.ebuild 1321 BLAKE2B ca9ed4437185149a4c70caa38d7f71e1f27bbfc5c4c23d7e9b4cda9663c1dbadc33e99a76ee759a035c21639e534855234c9d83e3204091a11cdebc5b332db3e SHA512 e44367fa20b633e1cccefd8f0fed16b48fbca8162194506dd1dc5af6d49a2e4351975d4df31d222495e34da8c2333f28bb9e8d62ff0fbe189fe6b726b369c0df MISC metadata.xml 222 BLAKE2B c3730d60b92f5db302a2cd11c9f6143cf2eb847b81a20d3208b29c7000b0b748859c1e04fc44ffe79515b3bd8cf2b226de3ca2577bd8f15f68dd6c76aa12fa91 SHA512 294e924a6b8205f1f304a70d18ea3f0d0036574aca90fa7652ceed05c8947957a32869e2d659648b73ba1b34a5bd8d8fa321adaf0f7c62b55a778646672fb533 diff --git a/dev-python/mkdocs/mkdocs-1.0.1.ebuild b/dev-python/mkdocs/mkdocs-1.0.1.ebuild new file mode 100644 index 000000000000..87b86e77cdbb --- /dev/null +++ b/dev-python/mkdocs/mkdocs-1.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 vcs-snapshot + +DESCRIPTION="Project documentation with Markdown." +HOMEPAGE="http://www.mkdocs.org" +SRC_URI="https://github.com/tomchristie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="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.5[${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-4.1[${PYTHON_USEDEP}] +" + +src_prepare() { + default + + # mkdocs works fine with torando 5 on Python 2.7 and 3.4+: + # See https://github.com/mkdocs/mkdocs/pull/1427#issuecomment-371818250 + sed -i 's#tornado>=4.1,<5.0#tornado>=4.1#' "${S}"/setup.py || die "Failed to fix tornado version" +} + +python_test() { + nosetests mkdocs/tests || die "tests failed under ${EPYTHON}" +} -- cgit v1.2.3