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 DAF511382C5 for ; Sun, 1 Apr 2018 21:55:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC6F9E0ABA; Sun, 1 Apr 2018 21:55:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 A074EE0ABA for ; Sun, 1 Apr 2018 21:55:23 +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 EF6BB335CF4 for ; Sun, 1 Apr 2018 21:55:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 128BE272 for ; Sun, 1 Apr 2018 21:55:20 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1522619609.917f5fbf453e189c7a6085dae3094670aa3a138e.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/markdown/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/markdown/Manifest dev-python/markdown/markdown-2.6.9.ebuild X-VCS-Directories: dev-python/markdown/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 917f5fbf453e189c7a6085dae3094670aa3a138e X-VCS-Branch: master Date: Sun, 1 Apr 2018 21:55:20 +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-Archives-Salt: 6f9fbb94-e465-40e5-83b6-1df30364c274 X-Archives-Hash: e50e21d31065944ae4e0f0a2d1bfcbd8 commit: 917f5fbf453e189c7a6085dae3094670aa3a138e Author: Patrice Clement gentoo org> AuthorDate: Sat Mar 31 21:38:11 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sun Apr 1 21:53:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917f5fbf dev-python/markdown: version bump. Closes: https://bugs.gentoo.org/636872 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-python/markdown/Manifest | 1 + dev-python/markdown/markdown-2.6.9.ebuild | 54 +++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/markdown/Manifest b/dev-python/markdown/Manifest index a966acaeeda..a2e10943bf9 100644 --- a/dev-python/markdown/Manifest +++ b/dev-python/markdown/Manifest @@ -1,2 +1,3 @@ DIST Markdown-2.6.5.tar.gz 301781 BLAKE2B 527a84bc8c4a891e64749bce273bf10c439376386c27355f386de8a0dd89e2bf0c1d6cadb0ff937fa3825655ab6220901f7b17ea2d184f3b3d178cbb54af58b8 SHA512 d966136a7184ada4eec70af661aba441694a8c4f59e57d59a28dfbc1649ca1e90cc1e4a29b354b3caf35362e1e0c96eeb3f46c68f82d7a898b76c08866d459d3 DIST Markdown-2.6.8.tar.gz 307330 BLAKE2B 6867f15425bd84bc030ab52000dc2f83bff0c9885854cec4a2a785f80b18129160bc57da30226fe17f42043b4938482e2e4eff9cdb3d4370b0146cc09f1ff576 SHA512 85c1a16ebb50af79f378eb2fa936342df6174a4f597a74fee6d0495ef2bc4c7c8337463799e427cb6788b3429e400309958b5c4784f536593047ab2e47ac7c23 +DIST Markdown-2.6.9.tar.gz 271564 BLAKE2B 792e438955a55de9f473107618516d17129caa4d02097d510992d25715a4f28aae005781b3a2e4fe53692bc12e96ab49008b66ff49247bf1685bac4c7607e0b6 SHA512 d00c800dc7c1ae0753cbcddd755ade7d593a8d9c9d4ffc6eb8765233a44027a75b68948c14b4469d7aa0e7f74029e9f60159d81ed40b3d2e770c68a81533ccfa diff --git a/dev-python/markdown/markdown-2.6.9.ebuild b/dev-python/markdown/markdown-2.6.9.ebuild new file mode 100644 index 00000000000..f30420fc6e3 --- /dev/null +++ b/dev-python/markdown/markdown-2.6.9.ebuild @@ -0,0 +1,54 @@ +# 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} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python implementation of the markdown markup language" +HOMEPAGE=" + http://www.freewisdom.org/projects/python-markdown + https://pypi.python.org/pypi/Markdown + https://pythonhosted.org/Markdown/ + https://github.com/waylan/Python-Markdown" +SRC_URI="mirror://pypi/M/${PN^}/${P^}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc test pygments" + +DEPEND=" + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytidylib[${PYTHON_USEDEP}] + )" +# source cites pytidylib however from testruns it appears optional +RDEPEND="pygments? ( dev-python/pygments[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${P^}" + +PATCHES=( + # build system always builds docs + "${FILESDIR}"/${PN}-2.6.8-dont-build-docs-default.patch +) + +python_compile_all() { + if use doc; then + esetup.py build_docs + HTML_DOCS=( "${BUILD_DIR}"/docs/. ) + + # remove .txt files + find "${BUILD_DIR}"/docs -name '*.txt' -delete || die + fi +} + +python_test() { + cp -r -l run-tests.py tests "${BUILD_DIR}"/ || die + cd "${BUILD_DIR}" || die + "${EPYTHON}" run-tests.py || die "Tests fail with ${EPYTHON}" +}