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/mistune/
Date: Sun, 05 Dec 2021 21:42:48
Message-Id: 1638740561.6edee1d96c5b107047968d2e2bf07ed5d6d00fd8.mgorny@gentoo
1 commit: 6edee1d96c5b107047968d2e2bf07ed5d6d00fd8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 5 21:05:53 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 5 21:42:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6edee1d9
7
8 dev-python/mistune: Bump to 2.0.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/mistune/Manifest | 1 +
13 dev-python/mistune/mistune-2.0.0.ebuild | 24 ++++++++++++++++++++++++
14 2 files changed, 25 insertions(+)
15
16 diff --git a/dev-python/mistune/Manifest b/dev-python/mistune/Manifest
17 index 8cd631310112..6d4612e7afbf 100644
18 --- a/dev-python/mistune/Manifest
19 +++ b/dev-python/mistune/Manifest
20 @@ -1 +1,2 @@
21 DIST mistune-0.8.4.tar.gz 58322 BLAKE2B e65d45c5c95706a49a7fd407afe5f10e82a475766ca272ec3bebba8c89e670fe6efced7b09537efb69d3fd36e75091e370170a15ad7488b5cbe9186e2ccaf4db SHA512 36c3ef5d5537f5cceaa43e4da20a84b27c378cb744a93f0380024faefde490bcb42c453f79002ca049083fc437278f4afb3e10de5462f9eeb9077ca2a2fcaea7
22 +DIST mistune-2.0.0.tar.gz 75635 BLAKE2B 0704b5043178c553961bfd5d99ea92ee097849e6a4cc6196c7e97e0caa4560541b4ae4b9e61e62e21592be6f2f0c142081200c5a398e68d7b7f7d54f0bbade15 SHA512 cdb1ad001a95680b048f4363e95c00e4d597007fc2ae72adeca483ffed3fae3aa55c7774d96a1dd7400568b24c73cc6f877bb7b0f63b48689a97a1e4ce0b1c5d
23
24 diff --git a/dev-python/mistune/mistune-2.0.0.ebuild b/dev-python/mistune/mistune-2.0.0.ebuild
25 new file mode 100644
26 index 000000000000..ca582a8ab68a
27 --- /dev/null
28 +++ b/dev-python/mistune/mistune-2.0.0.ebuild
29 @@ -0,0 +1,24 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
36 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="The fastest markdown parser in pure Python"
40 +HOMEPAGE="https://pypi.org/project/mistune/ https://github.com/lepture/mistune"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +SLOT="0"
44 +LICENSE="BSD"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
46 +
47 +distutils_enable_tests pytest
48 +
49 +src_prepare() {
50 + # seriously?
51 + echo 'build-backend = "setuptools.build_meta"' >> pyproject.toml || die
52 + distutils-r1_src_prepare
53 +}