diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-02-28 06:57:12 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-02-28 06:57:12 +0100 |
commit | 652bbb3ba694fb9f057a0c6965849ef552afbdd3 (patch) | |
tree | 62446bd7b39cb2502aa1f64bcfb9bcd85094435d /dev-python/parso | |
parent | dev-python/parso: Disable failing error tests (diff) | |
download | gentoo-652bbb3ba694fb9f057a0c6965849ef552afbdd3.tar.gz gentoo-652bbb3ba694fb9f057a0c6965849ef552afbdd3.tar.bz2 gentoo-652bbb3ba694fb9f057a0c6965849ef552afbdd3.zip |
dev-python/parso: Bump to 0.6.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/parso')
-rw-r--r-- | dev-python/parso/Manifest | 1 | ||||
-rw-r--r-- | dev-python/parso/parso-0.6.2.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/parso/Manifest b/dev-python/parso/Manifest index ce2047e00f5e..d7269a563ef8 100644 --- a/dev-python/parso/Manifest +++ b/dev-python/parso/Manifest @@ -2,3 +2,4 @@ DIST parso-0.5.1.tar.gz 388060 BLAKE2B 429ab40501d38e982cf77e0dbbfa4d8677dd1e240 DIST parso-0.5.2.tar.gz 390495 BLAKE2B 257de5853cad74803d9b45ae4820c96933d09ebe7c09d30a98ccb1d40d1473d8ef55f9be692278012f3d6f57066600ae14817d20bbde2258f2362702f3056f93 SHA512 d8a2b8c4f30eec676f9cb36afc86b4f80d8397ce4d82a2452598116ae50cb861a1eea6543a51898f4c94acb13b8345833283a353f19ae27242b6e993c02f0ef7 DIST parso-0.6.0.tar.gz 390815 BLAKE2B 3f1def6bd7d88f09e943c9e75e653dc5ed74652188ad5480065467e393769efdfc19645f4ae49725837cb9b903c2b1589d0715a7173655e9b97899ea9c987aee SHA512 1382b5005ea7e19c3d4f8910b47e9b730e61045fdb16d833a43a7eded8bd568a7528f1822bf193d3c110a5496f53a540ca5028dd10bfd4a59193d58a7e457014 DIST parso-0.6.1.tar.gz 390866 BLAKE2B 3dbbef687f194f41bc7fdeb7c78930802ee5a97150d2585eb8949ac74ac640e897b8f04b29f2768df920aa5d54ec80f1aac3b84f996ef0ea957ddccf9da77cf0 SHA512 98cc20a3378c89b870df5e5df52f2c2091c1a133ea9701141ed90edbb05c5b8ddf30dcc19069cc19666f34e37f8ca64e37bfd701314adb24b0a10ab197862cf1 +DIST parso-0.6.2.tar.gz 391060 BLAKE2B 476b91286dc69161558dbb82f2e5eaf1b7f9ded6de467d97c74ec7e08a7e956cfbb67bd64e6ed975fddeaa64a616bf714f069e7185a3af8140aeaa2eda2de729 SHA512 da011c6fbab3ca2157c8934086cc0db0b7a37f5cd67debe70f56429f409de8762b124948ee75ac65779b806d8aaab759ee790eacb580910f3609ffd280dba2a8 diff --git a/dev-python/parso/parso-0.6.2.ebuild b/dev-python/parso/parso-0.6.2.ebuild new file mode 100644 index 000000000000..d9dff2d95d49 --- /dev/null +++ b/dev-python/parso/parso-0.6.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="a python parser that supports error recovery and round-trip parsing" +HOMEPAGE="https://github.com/davidhalter/parso https://pypi.org/project/parso/" +SRC_URI="https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +distutils_enable_sphinx docs +distutils_enable_tests pytest + +src_prepare() { + # tests rely on specific exception messages and fail occasionally + # upstream suggested skipping them + rm test/test_python_errors.py || die + + distutils-r1_src_prepare +} |