public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/CommonMark/
Date: Fri, 22 Sep 2017 14:01:08 +0000 (UTC)	[thread overview]
Message-ID: <1506088785.4fb4301455d4f949e9ae2079856af929e11f4336.monsieurp@gentoo> (raw)

commit:     4fb4301455d4f949e9ae2079856af929e11f4336
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Sep 11 07:50:48 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> 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


             reply	other threads:[~2017-09-22 14:01 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-22 14:01 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-18 16:57 [gentoo-commits] repo/gentoo:master commit in: dev-python/commonmark/ Michał Górny
2024-05-17 17:03 Michał Górny
2023-05-27  9:44 Arthur Zamarin
2023-03-16  3:47 Michał Górny
2022-06-12 14:25 Michał Górny
2022-06-12 11:53 Sam James
2022-06-12  5:51 Michał Górny
2022-05-11 17:54 Michał Górny
2022-05-11 17:54 Michał Górny
2022-05-11 12:56 Jakov Smolić
2022-04-25 16:50 Sam James
2022-02-01 13:46 Michał Górny
2022-02-01 13:46 Michał Górny
2022-01-27 19:05 Sam James
2022-01-02 11:52 James Le Cuirot
2021-07-01 14:06 Marek Szuba
2021-05-06 18:45 Michał Górny
2020-11-01  7:52 Michał Górny
2020-05-14 10:38 Michał Górny
2020-05-11 15:32 Mart Raudsepp
2020-05-11  9:44 Agostino Sarubbo
2020-05-05  6:46 Agostino Sarubbo
2020-05-04 10:48 Michał Górny
2020-05-03 19:11 Agostino Sarubbo
2020-05-03 10:25 Agostino Sarubbo
2020-05-03 10:12 Agostino Sarubbo
2020-03-24 21:46 Michał Górny
2020-03-24 21:46 Michał Górny
2019-04-09  1:32 Aaron Bauman
2019-03-16 18:40 Sergei Trofimovich
2019-03-02 21:30 Matt Turner
2019-03-02 20:02 Matt Turner
2019-02-15 17:05 Mikle Kolyada
2019-02-15 15:46 Thomas Deutschmann
2019-02-13 12:46 Michał Górny
2019-02-12 21:03 Sergei Trofimovich
2019-02-12  8:11 Sergei Trofimovich
2019-02-11 23:36 Sergei Trofimovich
2019-02-10  7:46 Mikle Kolyada
2018-11-28 22:16 Matt Turner
2018-11-25 10:27 Mikle Kolyada
2018-11-06 23:11 Sergei Trofimovich
2018-10-28 10:19 Sergei Trofimovich
2018-10-18 16:39 [gentoo-commits] repo/gentoo:master commit in: dev-python/CommonMark/ Michał Górny
2018-10-18 16:39 Michał Górny
2018-10-18 16:39 [gentoo-commits] repo/gentoo:master commit in: dev-python/commonmark/ Michał Górny
2018-10-18 16:39 [gentoo-commits] repo/gentoo:master commit in: dev-python/CommonMark/ Michał Górny
2018-10-18  4:32 Matt Turner
2018-10-18  4:32 Matt Turner
2018-08-31  8:35 Michał Górny
2018-08-31  8:35 Michał Górny
2018-06-30 19:31 Mart Raudsepp
2018-06-30 19:30 Mart Raudsepp
2018-03-19  6:04 Tim Harder
2017-09-30  0:31 Matt Thode
2017-08-01 20:06 Michał Górny
2017-07-15 16:22 Tobias Klausmann
2017-04-28 14:30 Manuel Rüger
2017-01-02 16:13 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1506088785.4fb4301455d4f949e9ae2079856af929e11f4336.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox