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/parso/
Date: Fri, 28 Feb 2020 06:06:11
Message-Id: 1582869432.652bbb3ba694fb9f057a0c6965849ef552afbdd3.mgorny@gentoo
1 commit: 652bbb3ba694fb9f057a0c6965849ef552afbdd3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 28 05:57:12 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 28 05:57:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=652bbb3b
7
8 dev-python/parso: Bump to 0.6.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/parso/Manifest | 1 +
13 dev-python/parso/parso-0.6.2.ebuild | 29 +++++++++++++++++++++++++++++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/dev-python/parso/Manifest b/dev-python/parso/Manifest
17 index ce2047e00f5..d7269a563ef 100644
18 --- a/dev-python/parso/Manifest
19 +++ b/dev-python/parso/Manifest
20 @@ -2,3 +2,4 @@ DIST parso-0.5.1.tar.gz 388060 BLAKE2B 429ab40501d38e982cf77e0dbbfa4d8677dd1e240
21 DIST parso-0.5.2.tar.gz 390495 BLAKE2B 257de5853cad74803d9b45ae4820c96933d09ebe7c09d30a98ccb1d40d1473d8ef55f9be692278012f3d6f57066600ae14817d20bbde2258f2362702f3056f93 SHA512 d8a2b8c4f30eec676f9cb36afc86b4f80d8397ce4d82a2452598116ae50cb861a1eea6543a51898f4c94acb13b8345833283a353f19ae27242b6e993c02f0ef7
22 DIST parso-0.6.0.tar.gz 390815 BLAKE2B 3f1def6bd7d88f09e943c9e75e653dc5ed74652188ad5480065467e393769efdfc19645f4ae49725837cb9b903c2b1589d0715a7173655e9b97899ea9c987aee SHA512 1382b5005ea7e19c3d4f8910b47e9b730e61045fdb16d833a43a7eded8bd568a7528f1822bf193d3c110a5496f53a540ca5028dd10bfd4a59193d58a7e457014
23 DIST parso-0.6.1.tar.gz 390866 BLAKE2B 3dbbef687f194f41bc7fdeb7c78930802ee5a97150d2585eb8949ac74ac640e897b8f04b29f2768df920aa5d54ec80f1aac3b84f996ef0ea957ddccf9da77cf0 SHA512 98cc20a3378c89b870df5e5df52f2c2091c1a133ea9701141ed90edbb05c5b8ddf30dcc19069cc19666f34e37f8ca64e37bfd701314adb24b0a10ab197862cf1
24 +DIST parso-0.6.2.tar.gz 391060 BLAKE2B 476b91286dc69161558dbb82f2e5eaf1b7f9ded6de467d97c74ec7e08a7e956cfbb67bd64e6ed975fddeaa64a616bf714f069e7185a3af8140aeaa2eda2de729 SHA512 da011c6fbab3ca2157c8934086cc0db0b7a37f5cd67debe70f56429f409de8762b124948ee75ac65779b806d8aaab759ee790eacb580910f3609ffd280dba2a8
25
26 diff --git a/dev-python/parso/parso-0.6.2.ebuild b/dev-python/parso/parso-0.6.2.ebuild
27 new file mode 100644
28 index 00000000000..d9dff2d95d4
29 --- /dev/null
30 +++ b/dev-python/parso/parso-0.6.2.ebuild
31 @@ -0,0 +1,29 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="a python parser that supports error recovery and round-trip parsing"
42 +HOMEPAGE="https://github.com/davidhalter/parso https://pypi.org/project/parso/"
43 +SRC_URI="https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
48 +IUSE="doc test"
49 +RESTRICT="!test? ( test )"
50 +
51 +distutils_enable_sphinx docs
52 +distutils_enable_tests pytest
53 +
54 +src_prepare() {
55 + # tests rely on specific exception messages and fail occasionally
56 + # upstream suggested skipping them
57 + rm test/test_python_errors.py || die
58 +
59 + distutils-r1_src_prepare
60 +}