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: Thu, 14 May 2020 10:38:48
Message-Id: 1589452722.8db3762f29d24210736be7d1877f516431f9b44a.mgorny@gentoo
1 commit: 8db3762f29d24210736be7d1877f516431f9b44a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 14 10:38:20 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 14 10:38:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db3762f
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 | 2 --
13 dev-python/commonmark/commonmark-0.5.4.ebuild | 36 ----------------------
14 dev-python/commonmark/commonmark-0.8.1.ebuild | 44 ---------------------------
15 3 files changed, 82 deletions(-)
16
17 diff --git a/dev-python/commonmark/Manifest b/dev-python/commonmark/Manifest
18 index 039374f4fc1..a5c1b46757d 100644
19 --- a/dev-python/commonmark/Manifest
20 +++ b/dev-python/commonmark/Manifest
21 @@ -1,3 +1 @@
22 -DIST CommonMark-0.5.4.tar.gz 120316 BLAKE2B 47904d101d9d0e3759f82c28a4b80edfc0ed12cf0888e4915339118e496322cf0791d8a46d2edddca0d1794e82a9647cc22cbcfcc2d385a740c7c31cb8251659 SHA512 1983714a50a627f30f86af0d02dad9e52cb7b0ffce29691d0e740f587e599ead6de2412d72b895b7df772e1c81e171e56dfecaf593e611af65bd5798632a98ad
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.5.4.ebuild b/dev-python/commonmark/commonmark-0.5.4.ebuild
27 deleted file mode 100644
28 index ab0f369be3e..00000000000
29 --- a/dev-python/commonmark/commonmark-0.5.4.ebuild
30 +++ /dev/null
31 @@ -1,36 +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=( python3_6 )
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 x86 ~amd64-linux ~x86-linux"
49 -IUSE=""
50 -
51 -RDEPEND="
52 - dev-python/future[${PYTHON_USEDEP}]
53 -"
54 -DEPEND="${RDEPEND}
55 - dev-python/hypothesis[${PYTHON_USEDEP}]
56 - dev-python/setuptools[${PYTHON_USEDEP}]
57 -"
58 -
59 -S=${WORKDIR}/${MY_P}
60 -
61 -# unrestrict for versions >= 0.7.2
62 -RESTRICT=test
63 -
64 -python_test() {
65 - LC_ALL='en_US.utf8' LC_CTYPE='en_US.utf8' LANG=en_US.utf8 PYTHONIOENCODING=UTF-8 \
66 - esetup.py test
67 -}
68
69 diff --git a/dev-python/commonmark/commonmark-0.8.1.ebuild b/dev-python/commonmark/commonmark-0.8.1.ebuild
70 deleted file mode 100644
71 index e2b30049848..00000000000
72 --- a/dev-python/commonmark/commonmark-0.8.1.ebuild
73 +++ /dev/null
74 @@ -1,44 +0,0 @@
75 -# Copyright 1999-2020 Gentoo Authors
76 -# Distributed under the terms of the GNU General Public License v2
77 -
78 -EAPI=6
79 -PYTHON_COMPAT=( python{3_6,3_7} )
80 -
81 -inherit distutils-r1
82 -
83 -DESCRIPTION="Python parser for the CommonMark Markdown spec"
84 -HOMEPAGE="https://github.com/rtfd/CommonMark-py"
85 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
86 -
87 -LICENSE="BSD"
88 -SLOT="0"
89 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
90 -IUSE="test"
91 -RESTRICT="!test? ( test )"
92 -
93 -RDEPEND="
94 - dev-python/future[${PYTHON_USEDEP}]
95 -"
96 -DEPEND="${RDEPEND}
97 - test? (
98 - >=dev-python/hypothesis-3.7.1[${PYTHON_USEDEP}]
99 - )
100 - dev-python/setuptools[${PYTHON_USEDEP}]
101 -"
102 -
103 -python_test() {
104 - PYTHONIOENCODING='utf8' \
105 - esetup.py test
106 -}
107 -
108 -src_prepare() {
109 - default
110 - # Fix file collision with app-text/cmark, see bug #627034
111 - sed -i -e "s:'cmark\( = commonmark.cmark\:main'\):'cmark.py\1:" \
112 - setup.py || die
113 -}
114 -
115 -pkg_postinst() {
116 - ewarn "/usr/bin/cmark has been renamed to /usr/bin/cmark.py due file"
117 - ewarn "collision with app-text/cmark (see bug #627034)"
118 -}