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 8CD8A1396D1 for ; Fri, 22 Sep 2017 14:01:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0FD71FC17D; Fri, 22 Sep 2017 14:01:11 +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 7FF821FC17D for ; Fri, 22 Sep 2017 14:01:11 +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 4AC6B340BEA for ; Fri, 22 Sep 2017 14:01:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B78A49078 for ; Fri, 22 Sep 2017 14:01:08 +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: <1506088785.4fb4301455d4f949e9ae2079856af929e11f4336.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/CommonMark/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/CommonMark/CommonMark-0.7.4.ebuild dev-python/CommonMark/Manifest X-VCS-Directories: dev-python/CommonMark/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 4fb4301455d4f949e9ae2079856af929e11f4336 X-VCS-Branch: master Date: Fri, 22 Sep 2017 14:01:08 +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: 66f7ccd0-1e59-4734-9f83-382f9a81c7d5 X-Archives-Hash: 386a452d9e88f194e0789e68371628f1 commit: 4fb4301455d4f949e9ae2079856af929e11f4336 Author: Azamat H. Hackimov gmail com> AuthorDate: Mon Sep 11 07:50:48 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Sep 22 13:59:45 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fb43014 dev-python/CommonMark: version bump to 0.7.4 and fixes. Renamed cmark executable to cmark.py due file collision with app-text/cmark. Added USE-flag "test". Gentoo-Bug: https://bugs.gentoo.org/627034 Package-Manager: Portage-2.3.6, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/5686 dev-python/CommonMark/CommonMark-0.7.4.ebuild | 45 +++++++++++++++++++++++++++ dev-python/CommonMark/Manifest | 1 + 2 files changed, 46 insertions(+) diff --git a/dev-python/CommonMark/CommonMark-0.7.4.ebuild b/dev-python/CommonMark/CommonMark-0.7.4.ebuild new file mode 100644 index 00000000000..bd4fc9bf81b --- /dev/null +++ b/dev-python/CommonMark/CommonMark-0.7.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit distutils-r1 + +DESCRIPTION="Python parser for the CommonMark Markdown spec" +HOMEPAGE="https://github.com/rtfd/CommonMark-py" +LICENSE="BSD" + +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="test" +RDEPEND=" + dev-python/future[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( + >=dev-python/flake8-3.4.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}] + ) + dev-python/setuptools[${PYTHON_USEDEP}] +" + +python_test() { + PYTHONIOENCODING='utf8' \ + esetup.py test +} + +src_prepare() { + default + # Fix file collision with app-text/cmark, see bug #627034 + sed -i -e "s:'cmark\( = CommonMark.cmark\:main'\):'cmark.py\1:" \ + setup.py || die +} + +pkg_postinst() { + ewarn "/usr/bin/cmark has been renamed to /usr/bin/cmark.py due file" + ewarn "collision with app-text/cmark (see bug #627034)" +} diff --git a/dev-python/CommonMark/Manifest b/dev-python/CommonMark/Manifest index 8f4c8d70ce5..7fe8eb84120 100644 --- a/dev-python/CommonMark/Manifest +++ b/dev-python/CommonMark/Manifest @@ -1,2 +1,3 @@ DIST CommonMark-0.5.4.tar.gz 120316 SHA256 34d73ec8085923c023930dfc0bcd1c4286e28a2a82de094bb72fabcc0281cbe5 SHA512 1983714a50a627f30f86af0d02dad9e52cb7b0ffce29691d0e740f587e599ead6de2412d72b895b7df772e1c81e171e56dfecaf593e611af65bd5798632a98ad WHIRLPOOL f375b772faff450af98d73b3559dabe7b7369951cd8cf9ea45046bf5de875022212b7e92daee3fa7d3fb63d44894a301991a4561ac8a8b0c78eef64c83062fad DIST CommonMark-0.7.3.tar.gz 85177 SHA256 5f20ebd91614c8d339d4cded314894feb5d9a54c3b52c1ff9883794557149ea8 SHA512 34ddf0539b54d79cd16356124a15e4f51076a7afdde78fbaa0cab06658279357c5523d89bdfa7d595d85da9df9b194491ddac22b78444b230f53298ffd11c8cf WHIRLPOOL 41b1da6e2c1479b8b47b048d529282a8618f455653ad88e65f1460c55c74ccb7df563e159470ae8d912deede190d5da18b88111420a0d48fe264724e993871ef +DIST CommonMark-0.7.4.tar.gz 87841 SHA256 24678b72094398df96312fb927e274ccaf5148f25e47aca9f7fc062693ae7577 SHA512 7c76a5f0dec02e9ae8c2f73ebd2980a5a684b43ee8a82ea23b72c7f2332e1d4316a7b2d7b66ad8fe912803115a57e03b2ae4c7b042cc53e1205e579093053b89 WHIRLPOOL 22a9ce7fd17dbf2b441b870b458a0cd257f6e343aeae837ebad452d4ada58dceaede631409c11ba87d81ba4fce14d68d2c6e9e9d3e0a42de2b3aac790b4adf75