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