diff options
author | Tim Harder <radhermit@gentoo.org> | 2019-07-03 15:40:28 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2019-07-03 15:59:35 -0600 |
commit | e0e7a7ecdb6ee78aa0efb8b9d73ea1ea2298990c (patch) | |
tree | 8116180690f83863c184589197cf417f9c716512 /dev-python/parso | |
parent | x11-wm/qtile: remove old (diff) | |
download | gentoo-e0e7a7ecdb6ee78aa0efb8b9d73ea1ea2298990c.tar.gz gentoo-e0e7a7ecdb6ee78aa0efb8b9d73ea1ea2298990c.tar.bz2 gentoo-e0e7a7ecdb6ee78aa0efb8b9d73ea1ea2298990c.zip |
dev-python/parso: version bump to 0.5.0
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'dev-python/parso')
-rw-r--r-- | dev-python/parso/Manifest | 1 | ||||
-rw-r--r-- | dev-python/parso/parso-0.5.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/parso/Manifest b/dev-python/parso/Manifest index 743749da4917..4ec2493778b9 100644 --- a/dev-python/parso/Manifest +++ b/dev-python/parso/Manifest @@ -1,2 +1,3 @@ DIST parso-0.1.1.tar.gz 376876 BLAKE2B ad0b9492273d23da1f4133a2f1e6edd2fa7f2213dbe12868f891863e9286fa0281de7fc6c6924b78a5820f94867971bbc09f18b3d0f2e4832c9c875850205254 SHA512 1199651136af1c9f0801a031a197e367f7fa73b5878b863103a506481e8b325e6b305e4260510a567dccf91f298fd7e9e5674f4dc410765ae1f9112f742aa6a0 DIST parso-0.3.1.tar.gz 375226 BLAKE2B 71481f5f382f14e5f2c7826f8eb50a1c35f8c280f14c8bf52bcf44f77aa9872cddce7d7fb7b0a586ab7cda547e43bbce11812077ae84129c418a9f0bb3c5b856 SHA512 f83e316a41e21d3132d9ee8a45f9042962c01a2b906e8791046112b9ed938d378b0dc28c4ae05ce03a8c2d19563a49cba9a9a230654345ff62e87cc763536ddb +DIST parso-0.5.0.tar.gz 386652 BLAKE2B f12e34aa9b93a1d3eedca96588148ac1e9ecb3a6af3910627d251e2281df285ce8768c11bf3cac35f8a977f0dac2f7a906fb20171db35fae2bec1c60cd0d7dc6 SHA512 cd2a38e538faf4faf3f1828f4e69dfe685ef1fd3e120326ca5260f0edbc23952e51ffd8370a2bb2de513a90ecde76e6ea2fe76d84d3ab4115c7817e3af08e701 diff --git a/dev-python/parso/parso-0.5.0.ebuild b/dev-python/parso/parso-0.5.0.ebuild new file mode 100644 index 000000000000..9c33ffe3718c --- /dev/null +++ b/dev-python/parso/parso-0.5.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +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" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + py.test -vv test || die "tests failed with ${EPYTHON}" +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && HTML_DOCS=( "${S}"/docs/_build/html/. ) + distutils-r1_python_install_all +} |