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: Thu, 30 Aug 2018 15:21:15
Message-Id: 1535641362.5dc5deb92c2091d085b7c7af227bc33432a50627.mgorny@gentoo
1 commit: 5dc5deb92c2091d085b7c7af227bc33432a50627
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 29 20:12:53 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 30 15:02:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc5deb9
7
8 dev-python/parso: Bump to 0.3.1
9
10 dev-python/parso/Manifest | 1 +
11 dev-python/parso/parso-0.3.1.ebuild | 35 +++++++++++++++++++++++++++++++++++
12 2 files changed, 36 insertions(+)
13
14 diff --git a/dev-python/parso/Manifest b/dev-python/parso/Manifest
15 index 653c0365695..743749da491 100644
16 --- a/dev-python/parso/Manifest
17 +++ b/dev-python/parso/Manifest
18 @@ -1 +1,2 @@
19 DIST parso-0.1.1.tar.gz 376876 BLAKE2B ad0b9492273d23da1f4133a2f1e6edd2fa7f2213dbe12868f891863e9286fa0281de7fc6c6924b78a5820f94867971bbc09f18b3d0f2e4832c9c875850205254 SHA512 1199651136af1c9f0801a031a197e367f7fa73b5878b863103a506481e8b325e6b305e4260510a567dccf91f298fd7e9e5674f4dc410765ae1f9112f742aa6a0
20 +DIST parso-0.3.1.tar.gz 375226 BLAKE2B 71481f5f382f14e5f2c7826f8eb50a1c35f8c280f14c8bf52bcf44f77aa9872cddce7d7fb7b0a586ab7cda547e43bbce11812077ae84129c418a9f0bb3c5b856 SHA512 f83e316a41e21d3132d9ee8a45f9042962c01a2b906e8791046112b9ed938d378b0dc28c4ae05ce03a8c2d19563a49cba9a9a230654345ff62e87cc763536ddb
21
22 diff --git a/dev-python/parso/parso-0.3.1.ebuild b/dev-python/parso/parso-0.3.1.ebuild
23 new file mode 100644
24 index 00000000000..158e3a277f6
25 --- /dev/null
26 +++ b/dev-python/parso/parso-0.3.1.ebuild
27 @@ -0,0 +1,35 @@
28 +# Copyright 1999-2018 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +
33 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
34 +
35 +inherit distutils-r1
36 +
37 +DESCRIPTION="a python parser that supports error recovery and round-trip parsing"
38 +HOMEPAGE="https://github.com/davidhalter/parso https://pypi.org/project/parso/"
39 +SRC_URI="https://github.com/davidhalter/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="MIT"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 x86"
44 +IUSE="doc test"
45 +
46 +DEPEND="
47 + dev-python/setuptools[${PYTHON_USEDEP}]
48 + doc? ( dev-python/sphinx )
49 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
50 +
51 +python_test() {
52 + py.test -vv test || die "tests failed with ${EPYTHON}"
53 +}
54 +
55 +python_compile_all() {
56 + use doc && emake -C docs html
57 +}
58 +
59 +python_install_all() {
60 + use doc && HTML_DOCS=( "${S}"/docs/_build/html/. )
61 + distutils-r1_python_install_all
62 +}