Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/
Date: Fri, 04 Sep 2020 17:32:18
Message-Id: 1599240664.395dfa29d0539d49e6f939666d3ba59a8cbe98da.mattst88@gentoo
1 commit: 395dfa29d0539d49e6f939666d3ba59a8cbe98da
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Sun Aug 23 18:12:34 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 4 17:31:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395dfa29
7
8 dev-python/pydocstyle: version bump 5.1.1
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12 Closes: https://github.com/gentoo/gentoo/pull/17240
13 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
14
15 dev-python/pydocstyle/Manifest | 1 +
16 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 37 +++++++++++++++++++++++++++
17 2 files changed, 38 insertions(+)
18
19 diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
20 index efa1ceaa89d..5b227ba9648 100644
21 --- a/dev-python/pydocstyle/Manifest
22 +++ b/dev-python/pydocstyle/Manifest
23 @@ -1 +1,2 @@
24 DIST pydocstyle-5.0.2.tar.gz 68063 BLAKE2B 6d7bf04e97c853e50d953342d332847d0e80b080d5ab044f9d444536ed0352ad44402a1af0c3a6f552ec9f3bb3a372a84af2a5bbdaee58bb18dab585cad5dddb SHA512 5ac2e017ae95ff5c7759d6a2cb9ac990f94f668f5fd940792d927cc62628cd036afcf39ab5db6a11100dcca32af344b47f4a7319dd3a47c36367844d0c06d34a
25 +DIST pydocstyle-5.1.1.tar.gz 70759 BLAKE2B 3cdb519d7f9459a201c9b7bc3002e69dae76b79758b155198b3101c6817c66db01616723e789dd8105d0339d6163fec02ab50db2370b13d3a8d1c5a17ecded6c SHA512 70c7408dfa4c8e54a3abf0548a9af26a7ad7ee0bb76f3a41bf6f2297ce09c13c03ab5e066b1b15404ba6390ddfcacbc5e199d8b73ee74e3b184759d88c8b2a51
26
27 diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
28 new file mode 100644
29 index 00000000000..002dcd2f4f5
30 --- /dev/null
31 +++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
32 @@ -0,0 +1,37 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{7,8} )
39 +DISTUTILS_USE_SETUPTOOLS=rdepend
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Python docstring style checker"
44 +HOMEPAGE="https://github.com/PyCQA/pydocstyle/"
45 +SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
52 +
53 +DEPEND="test? (
54 + dev-python/pytest-pep8[${PYTHON_USEDEP}]
55 + dev-python/mypy[${PYTHON_USEDEP}]
56 + dev-python/tox[${PYTHON_USEDEP}]
57 +)"
58 +
59 +distutils_enable_tests pytest
60 +# Requires network to lookup github issues
61 +#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-issuetracker
62 +
63 +python_prepare_all() {
64 + # These tests call pip.
65 + # pip install fails because we are not allowed to do that inside an ebuild.
66 + rm "${S}/src/tests/test_integration.py" || die
67 +
68 + distutils-r1_python_prepare_all
69 +}