Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/commonmark/
Date: Mon, 04 May 2020 10:48:56
Message-Id: 1588589304.41e8ef8ece061041c225fbbcc7fc3b2a4b072447.mgorny@gentoo
1 commit: 41e8ef8ece061041c225fbbcc7fc3b2a4b072447
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 10:46:29 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 10:48:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e8ef8e
7
8 dev-python/commonmark: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/commonmark/Manifest | 1 -
13 dev-python/commonmark/commonmark-0.7.5.ebuild | 48 ---------------------------
14 2 files changed, 49 deletions(-)
15
16 diff --git a/dev-python/commonmark/Manifest b/dev-python/commonmark/Manifest
17 index 9bba62a0560..039374f4fc1 100644
18 --- a/dev-python/commonmark/Manifest
19 +++ b/dev-python/commonmark/Manifest
20 @@ -1,4 +1,3 @@
21 DIST CommonMark-0.5.4.tar.gz 120316 BLAKE2B 47904d101d9d0e3759f82c28a4b80edfc0ed12cf0888e4915339118e496322cf0791d8a46d2edddca0d1794e82a9647cc22cbcfcc2d385a740c7c31cb8251659 SHA512 1983714a50a627f30f86af0d02dad9e52cb7b0ffce29691d0e740f587e599ead6de2412d72b895b7df772e1c81e171e56dfecaf593e611af65bd5798632a98ad
22 -DIST CommonMark-0.7.5.tar.gz 88702 BLAKE2B fc80d9e739d27f7e5dbf539b624c2fc2e700e61b17d0335c3234fc0fa0d3738e9117a8ca29e7a6bbaa6cd0d58b112defb6e19a7efce3ca57ca25c8ce67b2d3d2 SHA512 b0e3c4fea6c99b51c541054ecfe887935c2cc517a82df86da1d9cb4914189652326ec5b543cbbcb40ec43e5e09c285c47f5304ca1907764692e659c540591bdd
23 DIST commonmark-0.8.1.tar.gz 90795 BLAKE2B 718c2b1af035672d74e2c6b6f89ea0cd23f45d7b0e47b6dadeef742d772f5458e08ec5f69fd4f34df9ab2c491d9d7add4c4acc7018c4048649aa0d8244d7db91 SHA512 dbab51d45c1973a8d0906148d785fb8ddc2b52177dfe0e69fe79bef2a5eb05a5a7ab8693852f4aaa8545af19d741569d04a24f06ea65171e6e80d9f66af47fdf
24 DIST commonmark-0.9.1.tar.gz 95764 BLAKE2B 1f61de784c5cf03aa5255f5fae18c48df30aab8ef135ccf85a0b7a14cfc64275476458fc0853ecfc9beee96daca31d5cccb30d218f7d5b5343844e57aa7a77ec SHA512 bacf5ef387a0c330a2128f42c42c29c1a48ae623683e6e56ad28a1621aabd72e29cd3e2d661e8207b8cc0c347d267f262a55f2145fc58f8c8aeff91e7a283324
25
26 diff --git a/dev-python/commonmark/commonmark-0.7.5.ebuild b/dev-python/commonmark/commonmark-0.7.5.ebuild
27 deleted file mode 100644
28 index a957191cbbd..00000000000
29 --- a/dev-python/commonmark/commonmark-0.7.5.ebuild
30 +++ /dev/null
31 @@ -1,48 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -PYTHON_COMPAT=( python{3_6,3_7} )
37 -
38 -inherit distutils-r1
39 -
40 -MY_PN=CommonMark
41 -MY_P=${MY_PN}-${PV}
42 -DESCRIPTION="Python parser for the CommonMark Markdown spec"
43 -HOMEPAGE="https://github.com/rtfd/CommonMark-py"
44 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
45 -
46 -LICENSE="BSD"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
49 -IUSE="test"
50 -RESTRICT="!test? ( test )"
51 -
52 -RDEPEND="
53 - dev-python/future[${PYTHON_USEDEP}]
54 -"
55 -DEPEND="${RDEPEND}
56 - test? (
57 - >=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}]
58 - )
59 - dev-python/setuptools[${PYTHON_USEDEP}]
60 -"
61 -
62 -S=${WORKDIR}/${MY_P}
63 -
64 -python_test() {
65 - PYTHONIOENCODING='utf8' \
66 - esetup.py test
67 -}
68 -
69 -src_prepare() {
70 - default
71 - # Fix file collision with app-text/cmark, see bug #627034
72 - sed -i -e "s:'cmark\( = CommonMark.cmark\:main'\):'cmark.py\1:" \
73 - setup.py || die
74 -}
75 -
76 -pkg_postinst() {
77 - ewarn "/usr/bin/cmark has been renamed to /usr/bin/cmark.py due file"
78 - ewarn "collision with app-text/cmark (see bug #627034)"
79 -}