summaryrefslogtreecommitdiff
path: root/dev-python/pydocstyle
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
commit908778078736bd36f7a60a2d576d415cb8e000fa (patch)
treec6a4796c48b608c14dc7e9674cdbd38f905e3c15 /dev-python/pydocstyle
parent185fa19bbf68a4d4dca534d2b46729207a177f16 (diff)
gentoo resync : 22.05.2021
Diffstat (limited to 'dev-python/pydocstyle')
-rw-r--r--dev-python/pydocstyle/Manifest5
-rw-r--r--dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch31
-rw-r--r--dev-python/pydocstyle/metadata.xml8
-rw-r--r--dev-python/pydocstyle/pydocstyle-6.1.1.ebuild27
4 files changed, 64 insertions, 7 deletions
diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index 6fad9e4553cf..5e29dd7e2fbe 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,3 +1,6 @@
+AUX pydocstyle-6.1.1-disarm-pip-install.patch 1001 BLAKE2B d82d9b358cdd6b517cf64f5b620e767342ba6230ebda715e039be2b5bdbef639ad5d0e715f033658887bede3ee330da79f2a6ca3e1a597466f3bbffdd617d371 SHA512 434a576cad8fe6a2c8086893982887306ad6b4797c1ed0c3682782a3a9ec1109fc48d94ad469cd11128232d773d5beaef2cfc1c9a68c0386581e4864d43371fa
DIST pydocstyle-6.0.0.tar.gz 72143 BLAKE2B 1036a5eab38a38bda0f98371f7e4094248cf5057a9afd8743a478f153a5f06feab6b3e7d6be031615b5e88c388786f59a0619f774f492e40a722f39973051d5b SHA512 609a10307aa24513f476ef639771fc095fe7a65ffd8d530fad02886369c62969c69a5134fd0ec79a1e07d1b6cb8f920c3478db546c26aefb0e45771777c02a0b
+DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b SHA512 ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156
EBUILD pydocstyle-6.0.0.ebuild 868 BLAKE2B 652cd5342fb55b0075a106cba51a852d9a599cf95d77853dcfbfef9c1fa4866837ef20331aef50e7ab0637920228714eb8234a1c73e1dc91f9f357dc732b01b8 SHA512 726537ef77a1915afc04686b64ab990d43248a8f9bca7b449b69e5c0d8a3cd348fdacd51df5bd187e464b0ecbd3b74934bfb3fb720f367731e85b3dcd83de858
-MISC metadata.xml 817 BLAKE2B 850fe7b35b30a2d302a49409979b3ff43916b19bf2e970da7b1cad7e76cabb66c217fa68198959a1c2595766398151221643184812d98165045e7498b2d38932 SHA512 8e9b85d0e13750e8beacc06c3c448a6a9e3876216d882f34c7a0f75bf64911aa8335dd38221af8852fa399008ba740c5dd3038f465de14d55b465c3114754920
+EBUILD pydocstyle-6.1.1.ebuild 809 BLAKE2B 7692250ee2f93ead51e8d5c17ea60ab0311096bcc9a13cddb14015da78611aa920c9a9295ec70a89454dbe08d29d5153c391070d953e91df4f26885863d4ba23 SHA512 0e38618c3bc74e8a461a51df18dd783a48362180629b0d859359e2ae37c05b09004f35f3e839f4c6bf410ae8faef03c1640a9db60120825fff8bd16d0a38505a
+MISC metadata.xml 664 BLAKE2B b93a0c28241c15026f0db4098aa48339fa0841e13b38315448dec94d2a7c0b0bf8fbb055bbbed689db92102e5b0379e5765d33f364e8f4b68832c0758ccf769b SHA512 a04b694b6bece73b9abdff12e13f09c691de413e4f8712187fe288f72daa3a8f7629ecd97bf690004c9313cb8d74de2a0109f4684696abb26df116f2a7784b69
diff --git a/dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch b/dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch
new file mode 100644
index 000000000000..b0467a136435
--- /dev/null
+++ b/dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch
@@ -0,0 +1,31 @@
+From 46947c9dca95caeb7b1f4348994d1aa2b8db93ec Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Tue, 18 May 2021 10:02:16 +0200
+Subject: [PATCH] Disarm install_package fixture
+
+---
+ src/tests/test_integration.py | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/src/tests/test_integration.py b/src/tests/test_integration.py
+index eb4994f..4242476 100644
+--- a/src/tests/test_integration.py
++++ b/src/tests/test_integration.py
+@@ -128,14 +128,7 @@ def install_package(request):
+ This is so we can run the integration tests on the installed console
+ script.
+ """
+- cwd = os.path.join(os.path.dirname(__file__), '..', '..')
+- subprocess.check_call(
+- [sys.executable, "-m", "pip", "install", "-e", "."], cwd=cwd
+- )
+ yield
+- subprocess.check_call(
+- [sys.executable, "-m", "pip", "uninstall", "-y", "pydocstyle"], cwd=cwd
+- )
+
+
+ @pytest.yield_fixture(scope="function", params=['ini', 'toml'])
+--
+2.31.1
+
diff --git a/dev-python/pydocstyle/metadata.xml b/dev-python/pydocstyle/metadata.xml
index 0923fdb760e9..a9b559cf313a 100644
--- a/dev-python/pydocstyle/metadata.xml
+++ b/dev-python/pydocstyle/metadata.xml
@@ -9,14 +9,10 @@
<email>monsieurp@gentoo.org</email>
<name>Patrice Clement</name>
</maintainer>
- <maintainer type="person" proxied="yes">
- <email>andrewammerlaan@riseup.net</email>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
<name>Andrew Ammerlaan</name>
</maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">PyCQA/pydocstyle</remote-id>
diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
new file mode 100644
index 000000000000..f97c88a48af6
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7..10} )
+inherit distutils-r1
+
+DESCRIPTION="Python docstring style checker"
+HOMEPAGE="https://github.com/PyCQA/pydocstyle/"
+SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? ( dev-python/toml[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests --install pytest
+# Requires network to lookup github issues
+#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-issuetracker
+
+PATCHES=(
+ "${FILESDIR}"/pydocstyle-6.1.1-disarm-pip-install.patch
+)