[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/files/, dev-python/pydocstyle/, profiles/, ...

2024-02-02 Thread Michał Górny
commit: 7b9942022cb90d2542913fd4c3dbc1bac51594f8
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  2 16:37:01 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb  2 16:38:59 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b994202

dev-python/pydocstyle: Remove last-rited pkg

Closes: https://bugs.gentoo.org/917008
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest |  1 -
 .../pydocstyle-6.1.1-disarm-pip-install.patch  | 31 --
 dev-python/pydocstyle/metadata.xml | 21 --
 dev-python/pydocstyle/pydocstyle-6.3.0.ebuild  | 48 --
 profiles/package.mask  |  8 
 profiles/updates/1Q-2020   |  1 -
 6 files changed, 110 deletions(-)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
deleted file mode 100644
index 9a749ff1582f..
--- a/dev-python/pydocstyle/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pydocstyle-6.3.0.gh.tar.gz 78058 BLAKE2B 
551da9af8baebcba4f1053e0d9495bff039a98c96ad229219cd37ac8ba9e3002fff8a136c5148144a5f84ed94a1414364d7c827ad010038f63961ce17a260ee3
 SHA512 
f8473b19ab6ef0b61787875558f9dd6f9f7f1954e1baa0010942af6d4de8dbca30c8c08be6acbf24aadd1c0a601ba9467b747026a6cd22379f0c4b84a38b57c7

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
deleted file mode 100644
index b0467a136435..
--- a/dev-python/pydocstyle/files/pydocstyle-6.1.1-disarm-pip-install.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 46947c9dca95caeb7b1f4348994d1aa2b8db93ec Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-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
deleted file mode 100644
index c6899ee0daad..
--- a/dev-python/pydocstyle/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-  
-pyt...@gentoo.org
-Gentoo Python Project
-  
-  
-monsie...@gentoo.org
-Patrice Clement
-  
-  
-andrewammerl...@gentoo.org
-Andrew Ammerlaan
-  
-  
-  
-PyCQA/pydocstyle
-pydocstyle
-  
-

diff --git a/dev-python/pydocstyle/pydocstyle-6.3.0.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.3.0.ebuild
deleted file mode 100644
index a27b5e10bdbb..
--- a/dev-python/pydocstyle/pydocstyle-6.3.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python docstring style checker"
-HOMEPAGE="
-   https://github.com/PyCQA/pydocstyle/
-   https://pypi.org/project/pydocstyle/
-"
-SRC_URI="
-   https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/snowballstemmer-2.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.{8..10})
-   )
-"
-
-distutils_enable_tests 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
-)
-
-src_prepare() {
-   # poetry sucks
-   sed -i -e "s:0.0.0-dev:${PV}:" pyproject.toml || die
-   distutils-r1_src_prepare
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 406ade673cdf..15e2cb013110 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -194,14 +194,6 @@ app-admin/newsyslog
 # Removal on 2024-01-30.  Bug #875152.
 media-sound/daudio
 
-# Michał Górny  (2023-12-31)
-# 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2023-07-24 Thread Michał Górny
commit: 84b9aae629b520dbb55b628a145e980bf0e0f60d
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 24 12:51:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 24 12:51:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84b9aae6

dev-python/pydocstyle: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 -
 dev-python/pydocstyle/pydocstyle-6.2.3.ebuild | 48 ---
 2 files changed, 49 deletions(-)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index 0cce48528328..9a749ff1582f 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,2 +1 @@
-DIST pydocstyle-6.2.3.gh.tar.gz 77612 BLAKE2B 
f94b9c8232a3e96dad1d84d37bf7cc53f114edfddbd0dad725ff3bb79f39576a5fceff5a2b962e284e9d0d96ac8d71e5aa0406322af4bf8fdc73910348ff9190
 SHA512 
b275bd2367a3a6d4636a2879f503da15b9965bffe2750db87cbd3ca09fc3353a481a9c38e1b35b3b2aeeba019e9dd393d2cb65db2820d6343fb4c9881f7e6deb
 DIST pydocstyle-6.3.0.gh.tar.gz 78058 BLAKE2B 
551da9af8baebcba4f1053e0d9495bff039a98c96ad229219cd37ac8ba9e3002fff8a136c5148144a5f84ed94a1414364d7c827ad010038f63961ce17a260ee3
 SHA512 
f8473b19ab6ef0b61787875558f9dd6f9f7f1954e1baa0010942af6d4de8dbca30c8c08be6acbf24aadd1c0a601ba9467b747026a6cd22379f0c4b84a38b57c7

diff --git a/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild
deleted file mode 100644
index a27b5e10bdbb..
--- a/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python docstring style checker"
-HOMEPAGE="
-   https://github.com/PyCQA/pydocstyle/
-   https://pypi.org/project/pydocstyle/
-"
-SRC_URI="
-   https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x64-macos"
-
-RDEPEND="
-   >=dev-python/snowballstemmer-2.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.{8..10})
-   )
-"
-
-distutils_enable_tests 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
-)
-
-src_prepare() {
-   # poetry sucks
-   sed -i -e "s:0.0.0-dev:${PV}:" pyproject.toml || die
-   distutils-r1_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/files/, dev-python/pydocstyle/

2023-02-16 Thread Michał Górny
commit: 6b057cbe70bb46fbc9983a876e4d924b61a128b9
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb 17 07:40:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Feb 17 07:40:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b057cbe

dev-python/pydocstyle: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest |  1 -
 .../pydocstyle/files/pydocstyle-6.1.1-tomli.patch  | 90 --
 dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild   | 43 ---
 3 files changed, 134 deletions(-)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index 59b18c487eee..0cce48528328 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,3 +1,2 @@
-DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 
6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b
 SHA512 
ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156
 DIST pydocstyle-6.2.3.gh.tar.gz 77612 BLAKE2B 
f94b9c8232a3e96dad1d84d37bf7cc53f114edfddbd0dad725ff3bb79f39576a5fceff5a2b962e284e9d0d96ac8d71e5aa0406322af4bf8fdc73910348ff9190
 SHA512 
b275bd2367a3a6d4636a2879f503da15b9965bffe2750db87cbd3ca09fc3353a481a9c38e1b35b3b2aeeba019e9dd393d2cb65db2820d6343fb4c9881f7e6deb
 DIST pydocstyle-6.3.0.gh.tar.gz 78058 BLAKE2B 
551da9af8baebcba4f1053e0d9495bff039a98c96ad229219cd37ac8ba9e3002fff8a136c5148144a5f84ed94a1414364d7c827ad010038f63961ce17a260ee3
 SHA512 
f8473b19ab6ef0b61787875558f9dd6f9f7f1954e1baa0010942af6d4de8dbca30c8c08be6acbf24aadd1c0a601ba9467b747026a6cd22379f0c4b84a38b57c7

diff --git a/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch 
b/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch
deleted file mode 100644
index 8be2adca5ba1..
--- a/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-From 4c9ed77d3629a69febdaa14d153d3db869b58e4f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Wed, 12 Oct 2022 16:37:40 +0200
-Subject: [PATCH] Use tomllib/tomli for reading .toml configs
-
-Use the built-in `tomllib` module in Python 3.11 and the modern `tomli`
-package in older Python versions to read .toml configs instead of
-the unmaintained and broken `toml` package.
-
-Fixes #599
-Fixes #600

- docs/release_notes.rst   |  1 +
- requirements/runtime.txt |  2 +-
- requirements/tests.txt   |  1 -
- setup.py |  2 +-
- src/pydocstyle/config.py | 20 
- 5 files changed, 15 insertions(+), 11 deletions(-)
-
-diff --git a/requirements/runtime.txt b/requirements/runtime.txt
-index 80302751..b4e9ca76 100644
 a/requirements/runtime.txt
-+++ b/requirements/runtime.txt
-@@ -1,2 +1,2 @@
- snowballstemmer==1.2.1
--toml==0.10.2
-+tomli==2.0.1; python_version < "3.11"
-diff --git a/setup.py b/setup.py
-index a9c5df1c..6c0671c7 100644
 a/setup.py
-+++ b/setup.py
-@@ -8,7 +8,7 @@
- 'snowballstemmer',
- ]
- extra_requirements = {
--'toml': ['toml'],
-+'toml': ['tomli; python_version < "3.11"'],
- }
- 
- 
-diff --git a/src/pydocstyle/config.py b/src/pydocstyle/config.py
-index ed00c874..db7ed1b6 100644
 a/src/pydocstyle/config.py
-+++ b/src/pydocstyle/config.py
-@@ -4,6 +4,7 @@
- import itertools
- import operator
- import os
-+import sys
- from collections import namedtuple
- from collections.abc import Set
- from configparser import NoOptionError, NoSectionError, RawConfigParser
-@@ -13,10 +14,13 @@
- from .utils import __version__, log
- from .violations import ErrorRegistry, conventions
- 
--try:
--import toml
--except ImportError:  # pragma: no cover
--toml = None  # type: ignore
-+if sys.version_info >= (3, 11):
-+import tomllib
-+else:
-+try:
-+import tomli as tomllib
-+except ImportError:  # pragma: no cover
-+tomllib = None  # type: ignore
- 
- 
- def check_initialized(method):
-@@ -59,15 +63,15 @@ def read(self, filenames, encoding=None):
- read_ok = []
- for filename in filenames:
- try:
--with open(filename, encoding=encoding) as fp:
--if not toml:
-+with open(filename, "rb") as fp:
-+if not tomllib:
- log.warning(
- "The %s configuration file was ignored, "
--"because the `toml` package is not installed.",
-+"because the `tomli` package is not installed.",
- filename,
- )
- continue
--self._config.update(toml.load(fp))
-+self._config.update(tomllib.load(fp))
- except OSError:
- continue
- if isinstance(filename, 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2023-02-16 Thread Sam James
commit: d5ed80fb4481a6ac5a96941d265808d0977e59ed
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 22:51:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 22:51:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ed80fb

dev-python/pydocstyle: Stabilize 6.2.3 ALLARCHES, #894986

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.2.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild
index 8fda4e7cbe2b..a27b5e10bdbb 100644
--- a/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x64-macos"
 
 RDEPEND="
>=dev-python/snowballstemmer-2.2.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/files/, dev-python/pydocstyle/

2023-02-16 Thread Michał Górny
commit: b02559c560f28e9e73e4dfc1b1fef246ee7af12f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 16 20:25:20 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 16 20:25:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b02559c5

dev-python/pydocstyle: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest |  2 -
 .../pydocstyle/files/pydocstyle-6.2.0-tomli.patch  | 91 --
 dev-python/pydocstyle/pydocstyle-6.2.0.ebuild  | 49 
 dev-python/pydocstyle/pydocstyle-6.2.2.ebuild  | 48 
 4 files changed, 190 deletions(-)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index c27423b73e42..59b18c487eee 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,5 +1,3 @@
 DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 
6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b
 SHA512 
ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156
-DIST pydocstyle-6.2.0.gh.tar.gz 77296 BLAKE2B 
22f6d8691763b6c3e41bca7d0ef5193a282189f442072089aebb6d96d2e039e971e9e5645e50f4bcb8433f36cdf0e33c956c4ac381f2e7e649d010d63f5db501
 SHA512 
382c74d22072337a624ac635d95c9cf5fbbd373c11c85b6302c56bf21f099ebc4dd8eec2f896a8c02d4548524078daebbceef7c4fb055dfb6a6eadab0e42a190
-DIST pydocstyle-6.2.2.gh.tar.gz 77412 BLAKE2B 
5aa2eaa52e97d705fc6972db985ccb7927b856944250de8153ecdb3285bd0ec75305186a7d2e6904ccead9b4299637af83496456e2af9769fcf62fa0fae041cf
 SHA512 
2097ec9d3429c83de821630384e717074abc39dfdff928327e8ccf4a1ba91592926ac55784403b559d88a8bb9a29557a2a406863c8603644de5d17972c63e4f5
 DIST pydocstyle-6.2.3.gh.tar.gz 77612 BLAKE2B 
f94b9c8232a3e96dad1d84d37bf7cc53f114edfddbd0dad725ff3bb79f39576a5fceff5a2b962e284e9d0d96ac8d71e5aa0406322af4bf8fdc73910348ff9190
 SHA512 
b275bd2367a3a6d4636a2879f503da15b9965bffe2750db87cbd3ca09fc3353a481a9c38e1b35b3b2aeeba019e9dd393d2cb65db2820d6343fb4c9881f7e6deb
 DIST pydocstyle-6.3.0.gh.tar.gz 78058 BLAKE2B 
551da9af8baebcba4f1053e0d9495bff039a98c96ad229219cd37ac8ba9e3002fff8a136c5148144a5f84ed94a1414364d7c827ad010038f63961ce17a260ee3
 SHA512 
f8473b19ab6ef0b61787875558f9dd6f9f7f1954e1baa0010942af6d4de8dbca30c8c08be6acbf24aadd1c0a601ba9467b747026a6cd22379f0c4b84a38b57c7

diff --git a/dev-python/pydocstyle/files/pydocstyle-6.2.0-tomli.patch 
b/dev-python/pydocstyle/files/pydocstyle-6.2.0-tomli.patch
deleted file mode 100644
index f7600d1973bb..
--- a/dev-python/pydocstyle/files/pydocstyle-6.2.0-tomli.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-From b45a393b2f0c4ce0f17c3e58cf5d768bd653e155 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Tue, 3 Jan 2023 06:49:32 +0100
-Subject: [PATCH] Use tomllib/tomli for reading .toml configs
-
-Use the built-in `tomllib` module in Python 3.11 and the modern `tomli`
-package in older Python versions to read .toml configs instead of
-the unmaintained and broken `toml` package.
-
-Fixes #599
-Fixes #600

- docs/release_notes.rst   |  7 +++
- poetry.lock  | 16 
- pyproject.toml   |  4 ++--
- requirements/runtime.txt |  2 +-
- requirements/tests.txt   |  1 -
- src/pydocstyle/config.py | 20 
- 6 files changed, 30 insertions(+), 20 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index 607aa3f..84bfe0d 100644
 a/pyproject.toml
-+++ b/pyproject.toml
-@@ -21,11 +21,11 @@ classifiers = [
- [tool.poetry.dependencies]
- python = ">=3.6"
- snowballstemmer = ">=2.2.0"
--toml = {version = ">=0.10.2", optional = true}
-+tomli = {version = ">=1.2.3", optional = true, python = "<3.11"}
- importlib-metadata = {version = ">=2.0.0,<5.0.0", python = "<3.8"}
- 
- [tool.poetry.extras]
--toml = ["toml"]
-+toml = ["tomli"]
- 
- [tool.poetry.scripts]
- pydocstyle = "pydocstyle.cli:main"
-diff --git a/src/pydocstyle/config.py b/src/pydocstyle/config.py
-index 4819cde..c05f7dc 100644
 a/src/pydocstyle/config.py
-+++ b/src/pydocstyle/config.py
-@@ -4,6 +4,7 @@ import copy
- import itertools
- import operator
- import os
-+import sys
- from collections import namedtuple
- from collections.abc import Set
- from configparser import NoOptionError, NoSectionError, RawConfigParser
-@@ -14,10 +15,13 @@ from ._version import __version__
- from .utils import log
- from .violations import ErrorRegistry, conventions
- 
--try:
--import toml
--except ImportError:  # pragma: no cover
--toml = None  # type: ignore
-+if sys.version_info >= (3, 11):
-+import tomllib
-+else:
-+try:
-+import tomli as tomllib
-+except ImportError:  # pragma: no cover
-+tomllib = None  # type: ignore
- 
- 
- def check_initialized(method):
-@@ -60,15 +64,15 @@ class TomlParser:
- read_ok = []
- for filename in filenames:

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2023-01-17 Thread Michał Górny
commit: 7ea54bbe3e6d5c08cf148576a9b9b83dc47792c4
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 18 07:19:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 18 07:33:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ea54bbe

dev-python/pydocstyle: Bump to 6.3.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 +
 dev-python/pydocstyle/pydocstyle-6.3.0.ebuild | 48 +++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index da038fd8c350..c27423b73e42 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -2,3 +2,4 @@ DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 
6a896221fdcd257f0475472e1cf87ef892d82
 DIST pydocstyle-6.2.0.gh.tar.gz 77296 BLAKE2B 
22f6d8691763b6c3e41bca7d0ef5193a282189f442072089aebb6d96d2e039e971e9e5645e50f4bcb8433f36cdf0e33c956c4ac381f2e7e649d010d63f5db501
 SHA512 
382c74d22072337a624ac635d95c9cf5fbbd373c11c85b6302c56bf21f099ebc4dd8eec2f896a8c02d4548524078daebbceef7c4fb055dfb6a6eadab0e42a190
 DIST pydocstyle-6.2.2.gh.tar.gz 77412 BLAKE2B 
5aa2eaa52e97d705fc6972db985ccb7927b856944250de8153ecdb3285bd0ec75305186a7d2e6904ccead9b4299637af83496456e2af9769fcf62fa0fae041cf
 SHA512 
2097ec9d3429c83de821630384e717074abc39dfdff928327e8ccf4a1ba91592926ac55784403b559d88a8bb9a29557a2a406863c8603644de5d17972c63e4f5
 DIST pydocstyle-6.2.3.gh.tar.gz 77612 BLAKE2B 
f94b9c8232a3e96dad1d84d37bf7cc53f114edfddbd0dad725ff3bb79f39576a5fceff5a2b962e284e9d0d96ac8d71e5aa0406322af4bf8fdc73910348ff9190
 SHA512 
b275bd2367a3a6d4636a2879f503da15b9965bffe2750db87cbd3ca09fc3353a481a9c38e1b35b3b2aeeba019e9dd393d2cb65db2820d6343fb4c9881f7e6deb
+DIST pydocstyle-6.3.0.gh.tar.gz 78058 BLAKE2B 
551da9af8baebcba4f1053e0d9495bff039a98c96ad229219cd37ac8ba9e3002fff8a136c5148144a5f84ed94a1414364d7c827ad010038f63961ce17a260ee3
 SHA512 
f8473b19ab6ef0b61787875558f9dd6f9f7f1954e1baa0010942af6d4de8dbca30c8c08be6acbf24aadd1c0a601ba9467b747026a6cd22379f0c4b84a38b57c7

diff --git a/dev-python/pydocstyle/pydocstyle-6.3.0.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.3.0.ebuild
new file mode 100644
index ..4a3853bdbf36
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-6.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python docstring style checker"
+HOMEPAGE="
+   https://github.com/PyCQA/pydocstyle/
+   https://pypi.org/project/pydocstyle/
+"
+SRC_URI="
+   https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/snowballstemmer-2.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{8..10})
+   )
+"
+
+distutils_enable_tests 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
+)
+
+src_prepare() {
+   # poetry sucks
+   sed -i -e "s:0.0.0-dev:${PV}:" pyproject.toml || die
+   distutils-r1_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2023-01-09 Thread Michał Górny
commit: 5c2726572735f493ce7c8b74e2293a532236d639
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jan  9 07:11:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jan  9 08:09:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c272657

dev-python/pydocstyle: Bump to 6.2.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 +
 dev-python/pydocstyle/pydocstyle-6.2.3.ebuild | 48 +++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index c1821077a511..da038fd8c350 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,3 +1,4 @@
 DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 
6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b
 SHA512 
ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156
 DIST pydocstyle-6.2.0.gh.tar.gz 77296 BLAKE2B 
22f6d8691763b6c3e41bca7d0ef5193a282189f442072089aebb6d96d2e039e971e9e5645e50f4bcb8433f36cdf0e33c956c4ac381f2e7e649d010d63f5db501
 SHA512 
382c74d22072337a624ac635d95c9cf5fbbd373c11c85b6302c56bf21f099ebc4dd8eec2f896a8c02d4548524078daebbceef7c4fb055dfb6a6eadab0e42a190
 DIST pydocstyle-6.2.2.gh.tar.gz 77412 BLAKE2B 
5aa2eaa52e97d705fc6972db985ccb7927b856944250de8153ecdb3285bd0ec75305186a7d2e6904ccead9b4299637af83496456e2af9769fcf62fa0fae041cf
 SHA512 
2097ec9d3429c83de821630384e717074abc39dfdff928327e8ccf4a1ba91592926ac55784403b559d88a8bb9a29557a2a406863c8603644de5d17972c63e4f5
+DIST pydocstyle-6.2.3.gh.tar.gz 77612 BLAKE2B 
f94b9c8232a3e96dad1d84d37bf7cc53f114edfddbd0dad725ff3bb79f39576a5fceff5a2b962e284e9d0d96ac8d71e5aa0406322af4bf8fdc73910348ff9190
 SHA512 
b275bd2367a3a6d4636a2879f503da15b9965bffe2750db87cbd3ca09fc3353a481a9c38e1b35b3b2aeeba019e9dd393d2cb65db2820d6343fb4c9881f7e6deb

diff --git a/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild
new file mode 100644
index ..34d9f103b381
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-6.2.3.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python docstring style checker"
+HOMEPAGE="
+   https://github.com/PyCQA/pydocstyle/
+   https://pypi.org/project/pydocstyle/
+"
+SRC_URI="
+   https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/snowballstemmer-2.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{8..10})
+   )
+"
+
+distutils_enable_tests 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
+)
+
+src_prepare() {
+   # poetry sucks
+   sed -i -e "s:0.0.0-dev:${PV}:" pyproject.toml || die
+   distutils-r1_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2023-01-03 Thread Andrew Ammerlaan
commit: b1dfe2d473ae34419047e589dca3b5e9a4f2313e
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jan  3 19:35:17 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jan  3 19:35:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1dfe2d4

dev-python/pydocstyle: add 6.2.2

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 +
 dev-python/pydocstyle/pydocstyle-6.2.2.ebuild | 48 +++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index 716834b1a5bb..c1821077a511 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,2 +1,3 @@
 DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 
6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b
 SHA512 
ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156
 DIST pydocstyle-6.2.0.gh.tar.gz 77296 BLAKE2B 
22f6d8691763b6c3e41bca7d0ef5193a282189f442072089aebb6d96d2e039e971e9e5645e50f4bcb8433f36cdf0e33c956c4ac381f2e7e649d010d63f5db501
 SHA512 
382c74d22072337a624ac635d95c9cf5fbbd373c11c85b6302c56bf21f099ebc4dd8eec2f896a8c02d4548524078daebbceef7c4fb055dfb6a6eadab0e42a190
+DIST pydocstyle-6.2.2.gh.tar.gz 77412 BLAKE2B 
5aa2eaa52e97d705fc6972db985ccb7927b856944250de8153ecdb3285bd0ec75305186a7d2e6904ccead9b4299637af83496456e2af9769fcf62fa0fae041cf
 SHA512 
2097ec9d3429c83de821630384e717074abc39dfdff928327e8ccf4a1ba91592926ac55784403b559d88a8bb9a29557a2a406863c8603644de5d17972c63e4f5

diff --git a/dev-python/pydocstyle/pydocstyle-6.2.2.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.2.2.ebuild
new file mode 100644
index ..34d9f103b381
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-6.2.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python docstring style checker"
+HOMEPAGE="
+   https://github.com/PyCQA/pydocstyle/
+   https://pypi.org/project/pydocstyle/
+"
+SRC_URI="
+   https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   >=dev-python/snowballstemmer-2.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{8..10})
+   )
+"
+
+distutils_enable_tests 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
+)
+
+src_prepare() {
+   # poetry sucks
+   sed -i -e "s:0.0.0-dev:${PV}:" pyproject.toml || die
+   distutils-r1_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/files/, dev-python/pydocstyle/

2023-01-02 Thread Michał Górny
commit: b7aeaf6d8ea3a794c8e394416a120609c1890ab7
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan  3 06:04:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan  3 06:23:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7aeaf6d

dev-python/pydocstyle: Bump to 6.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest |  1 +
 .../pydocstyle/files/pydocstyle-6.2.0-tomli.patch  | 91 ++
 dev-python/pydocstyle/pydocstyle-6.2.0.ebuild  | 49 
 3 files changed, 141 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index 70448015989d..716834b1a5bb 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1 +1,2 @@
 DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 
6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b
 SHA512 
ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156
+DIST pydocstyle-6.2.0.gh.tar.gz 77296 BLAKE2B 
22f6d8691763b6c3e41bca7d0ef5193a282189f442072089aebb6d96d2e039e971e9e5645e50f4bcb8433f36cdf0e33c956c4ac381f2e7e649d010d63f5db501
 SHA512 
382c74d22072337a624ac635d95c9cf5fbbd373c11c85b6302c56bf21f099ebc4dd8eec2f896a8c02d4548524078daebbceef7c4fb055dfb6a6eadab0e42a190

diff --git a/dev-python/pydocstyle/files/pydocstyle-6.2.0-tomli.patch 
b/dev-python/pydocstyle/files/pydocstyle-6.2.0-tomli.patch
new file mode 100644
index ..f7600d1973bb
--- /dev/null
+++ b/dev-python/pydocstyle/files/pydocstyle-6.2.0-tomli.patch
@@ -0,0 +1,91 @@
+From b45a393b2f0c4ce0f17c3e58cf5d768bd653e155 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Tue, 3 Jan 2023 06:49:32 +0100
+Subject: [PATCH] Use tomllib/tomli for reading .toml configs
+
+Use the built-in `tomllib` module in Python 3.11 and the modern `tomli`
+package in older Python versions to read .toml configs instead of
+the unmaintained and broken `toml` package.
+
+Fixes #599
+Fixes #600
+---
+ docs/release_notes.rst   |  7 +++
+ poetry.lock  | 16 
+ pyproject.toml   |  4 ++--
+ requirements/runtime.txt |  2 +-
+ requirements/tests.txt   |  1 -
+ src/pydocstyle/config.py | 20 
+ 6 files changed, 30 insertions(+), 20 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 607aa3f..84bfe0d 100644
+--- a/pyproject.toml
 b/pyproject.toml
+@@ -21,11 +21,11 @@ classifiers = [
+ [tool.poetry.dependencies]
+ python = ">=3.6"
+ snowballstemmer = ">=2.2.0"
+-toml = {version = ">=0.10.2", optional = true}
++tomli = {version = ">=1.2.3", optional = true, python = "<3.11"}
+ importlib-metadata = {version = ">=2.0.0,<5.0.0", python = "<3.8"}
+ 
+ [tool.poetry.extras]
+-toml = ["toml"]
++toml = ["tomli"]
+ 
+ [tool.poetry.scripts]
+ pydocstyle = "pydocstyle.cli:main"
+diff --git a/src/pydocstyle/config.py b/src/pydocstyle/config.py
+index 4819cde..c05f7dc 100644
+--- a/src/pydocstyle/config.py
 b/src/pydocstyle/config.py
+@@ -4,6 +4,7 @@ import copy
+ import itertools
+ import operator
+ import os
++import sys
+ from collections import namedtuple
+ from collections.abc import Set
+ from configparser import NoOptionError, NoSectionError, RawConfigParser
+@@ -14,10 +15,13 @@ from ._version import __version__
+ from .utils import log
+ from .violations import ErrorRegistry, conventions
+ 
+-try:
+-import toml
+-except ImportError:  # pragma: no cover
+-toml = None  # type: ignore
++if sys.version_info >= (3, 11):
++import tomllib
++else:
++try:
++import tomli as tomllib
++except ImportError:  # pragma: no cover
++tomllib = None  # type: ignore
+ 
+ 
+ def check_initialized(method):
+@@ -60,15 +64,15 @@ class TomlParser:
+ read_ok = []
+ for filename in filenames:
+ try:
+-with open(filename, encoding=encoding) as fp:
+-if not toml:
++with open(filename, "rb") as fp:
++if not tomllib:
+ log.warning(
+ "The %s configuration file was ignored, "
+-"because the `toml` package is not installed.",
++"because the `tomli` package is not installed.",
+ filename,
+ )
+ continue
+-self._config.update(toml.load(fp))
++self._config.update(tomllib.load(fp))
+ except OSError:
+ continue
+ if isinstance(filename, os.PathLike):
+-- 
+2.39.0
+

diff --git a/dev-python/pydocstyle/pydocstyle-6.2.0.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.2.0.ebuild
new file mode 100644
index ..ae9b07a98370
--- /dev/null
+++ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2022-11-30 Thread WANG Xuerui
commit: ff88eee1824af18da5b71ca65970b66df8d5d69e
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Nov 30 10:00:45 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Wed Nov 30 10:09:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff88eee1

dev-python/pydocstyle: keyword 6.1.1-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild
index 2c8dc8c3..1207cf1b655d 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~x64-macos"
 
 RDEPEND="
dev-python/snowballstemmer[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/, dev-python/pydocstyle/files/

2022-10-14 Thread Michał Górny
commit: 3c882c7e1cf750038f7a8a59c37a3a2ab627cd9d
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 14 12:04:47 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 14 12:05:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c882c7e

dev-python/pydocstyle: Use tomli/tomllib instead of toml

Signed-off-by: Michał Górny  gentoo.org>

 .../pydocstyle/files/pydocstyle-6.1.1-tomli.patch  | 90 ++
 ...-6.1.1-r1.ebuild => pydocstyle-6.1.1-r2.ebuild} |  5 +-
 2 files changed, 94 insertions(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch 
b/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch
new file mode 100644
index ..8be2adca5ba1
--- /dev/null
+++ b/dev-python/pydocstyle/files/pydocstyle-6.1.1-tomli.patch
@@ -0,0 +1,90 @@
+From 4c9ed77d3629a69febdaa14d153d3db869b58e4f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Wed, 12 Oct 2022 16:37:40 +0200
+Subject: [PATCH] Use tomllib/tomli for reading .toml configs
+
+Use the built-in `tomllib` module in Python 3.11 and the modern `tomli`
+package in older Python versions to read .toml configs instead of
+the unmaintained and broken `toml` package.
+
+Fixes #599
+Fixes #600
+---
+ docs/release_notes.rst   |  1 +
+ requirements/runtime.txt |  2 +-
+ requirements/tests.txt   |  1 -
+ setup.py |  2 +-
+ src/pydocstyle/config.py | 20 
+ 5 files changed, 15 insertions(+), 11 deletions(-)
+
+diff --git a/requirements/runtime.txt b/requirements/runtime.txt
+index 80302751..b4e9ca76 100644
+--- a/requirements/runtime.txt
 b/requirements/runtime.txt
+@@ -1,2 +1,2 @@
+ snowballstemmer==1.2.1
+-toml==0.10.2
++tomli==2.0.1; python_version < "3.11"
+diff --git a/setup.py b/setup.py
+index a9c5df1c..6c0671c7 100644
+--- a/setup.py
 b/setup.py
+@@ -8,7 +8,7 @@
+ 'snowballstemmer',
+ ]
+ extra_requirements = {
+-'toml': ['toml'],
++'toml': ['tomli; python_version < "3.11"'],
+ }
+ 
+ 
+diff --git a/src/pydocstyle/config.py b/src/pydocstyle/config.py
+index ed00c874..db7ed1b6 100644
+--- a/src/pydocstyle/config.py
 b/src/pydocstyle/config.py
+@@ -4,6 +4,7 @@
+ import itertools
+ import operator
+ import os
++import sys
+ from collections import namedtuple
+ from collections.abc import Set
+ from configparser import NoOptionError, NoSectionError, RawConfigParser
+@@ -13,10 +14,13 @@
+ from .utils import __version__, log
+ from .violations import ErrorRegistry, conventions
+ 
+-try:
+-import toml
+-except ImportError:  # pragma: no cover
+-toml = None  # type: ignore
++if sys.version_info >= (3, 11):
++import tomllib
++else:
++try:
++import tomli as tomllib
++except ImportError:  # pragma: no cover
++tomllib = None  # type: ignore
+ 
+ 
+ def check_initialized(method):
+@@ -59,15 +63,15 @@ def read(self, filenames, encoding=None):
+ read_ok = []
+ for filename in filenames:
+ try:
+-with open(filename, encoding=encoding) as fp:
+-if not toml:
++with open(filename, "rb") as fp:
++if not tomllib:
+ log.warning(
+ "The %s configuration file was ignored, "
+-"because the `toml` package is not installed.",
++"because the `tomli` package is not installed.",
+ filename,
+ )
+ continue
+-self._config.update(toml.load(fp))
++self._config.update(tomllib.load(fp))
+ except OSError:
+ continue
+ if isinstance(filename, os.PathLike):

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild
similarity index 88%
rename from dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild
rename to dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild
index e3d4a9f3dd1b..2c8dc8c3 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1-r2.ebuild
@@ -27,7 +27,9 @@ RDEPEND="
 "
 BDEPEND="
test? (
-   dev-python/toml[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.{8..10})
)
 "
 
@@ -37,4 +39,5 @@ distutils_enable_tests pytest
 
 PATCHES=(
"${FILESDIR}"/pydocstyle-6.1.1-disarm-pip-install.patch
+   "${FILESDIR}"/${P}-tomli.patch
 )



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2022-06-22 Thread Arthur Zamarin
commit: 82ba8dbcf5a7cc19df9d9cdc12bb0ab67c189115
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun 22 18:19:35 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun 22 18:19:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82ba8dbc

dev-python/pydocstyle: drop 6.1.1

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1.ebuild | 27 ---
 1 file changed, 27 deletions(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
deleted file mode 100644
index 0cc40e239c54..
--- a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{8..11} )
-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 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 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
-)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2022-06-22 Thread Arthur Zamarin
commit: fb70be90c63bde1cf808e40078967c3713fea746
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jun 22 18:18:59 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jun 22 18:18:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb70be90

dev-python/pydocstyle: Stabilize 6.1.1-r1 ALLARCHES, #853787

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild
index cda0c18fbec7..e3d4a9f3dd1b 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~x64-macos"
 
 RDEPEND="
dev-python/snowballstemmer[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2022-05-23 Thread Michał Górny
commit: 88602bd9ba168e212fdd591e04c4bc9571fcde5a
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 23 09:30:58 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 23 09:30:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88602bd9

dev-python/pydocstyle: Use PEP517 build

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild | 40 
 1 file changed, 40 insertions(+)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild
new file mode 100644
index ..cda0c18fbec7
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python docstring style checker"
+HOMEPAGE="
+   https://github.com/PyCQA/pydocstyle/
+   https://pypi.org/project/pydocstyle/
+"
+SRC_URI="
+   https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~x64-macos"
+
+RDEPEND="
+   dev-python/snowballstemmer[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/toml[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests 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
+)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2022-05-16 Thread Andrew Ammerlaan
commit: 23082551a156dabad8434f7f860f461594062a9a
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon May 16 13:47:41 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 16 14:08:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23082551

dev-python/pydocstyle: enable py3.11 and disable py3.7

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
index 3216381e7135..0cc40e239c54 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( pypy3 python3_{7..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
 inherit distutils-r1
 
 DESCRIPTION="Python docstring style checker"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-12-07 Thread Joshua Kinard
commit: 3062701c060fe501b7c4bee0612e51a172d3e370
Author: Joshua Kinard  gentoo  org>
AuthorDate: Tue Dec  7 08:36:50 2021 +
Commit: Joshua Kinard  gentoo  org>
CommitDate: Tue Dec  7 08:40:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3062701c

dev-python/pydocstyle: Added ~mips to KEYWORDS

Bug: https://bugs.gentoo.org/808399
Signed-off-by: Joshua Kinard  gentoo.org>
Package-Manager: Portage-3.0.28, Repoman-3.0.3

 dev-python/pydocstyle/pydocstyle-6.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
index c81da8a6c1fc..3216381e7135 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc 
x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-10-23 Thread Sam James
commit: 30433efac3786864e959379cc431ef9dd97dd70d
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Oct 23 08:57:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct 23 13:16:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30433efa

dev-python/pydocstyle: stable 6.1.1 for hppa, bug #818406

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
index 402d34e01b1..c81da8a6c1f 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-10-13 Thread Sam James
commit: 8b11ebfdd28af0ae9b089af3ca06936801cd0a51
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 14 04:44:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 14 04:45:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b11ebfd

dev-python/pydocstyle: Keyword 6.1.1 hppa, #808399

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
index 322b2e1c333..402d34e01b1 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
@@ -12,7 +12,7 @@ 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 ~riscv ~s390 sparc x86 
~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-10-10 Thread Sam James
commit: ebd3e62007f363148efadf9052651ee850ad3477
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 11 00:44:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 11 00:44:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd3e620

dev-python/pydocstyle: Keyword 6.1.1 s390, #808399

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
index b1d27548c2d..322b2e1c333 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
@@ -12,7 +12,7 @@ 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 ~riscv sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-06-24 Thread Michał Górny
commit: 20aac4d58c9ebae81b771e13f05f3591048007ec
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 24 08:01:45 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 24 08:20:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20aac4d5

dev-python/pydocstyle: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 -
 dev-python/pydocstyle/pydocstyle-6.0.0.ebuild | 30 ---
 2 files changed, 31 deletions(-)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index 4192487cbf2..70448015989 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,2 +1 @@
-DIST pydocstyle-6.0.0.tar.gz 72143 BLAKE2B 
1036a5eab38a38bda0f98371f7e4094248cf5057a9afd8743a478f153a5f06feab6b3e7d6be031615b5e88c388786f59a0619f774f492e40a722f39973051d5b
 SHA512 
609a10307aa24513f476ef639771fc095fe7a65ffd8d530fad02886369c62969c69a5134fd0ec79a1e07d1b6cb8f920c3478db546c26aefb0e45771777c02a0b
 DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 
6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b
 SHA512 
ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156

diff --git a/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
deleted file mode 100644
index e434a8ff0cf..000
--- a/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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}]"
-
-distutils_enable_tests --install pytest
-# Requires network to lookup github issues
-#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
-
-src_prepare() {
-   # no, seriously, you don't need to install it yourself
-   sed -i -e '/pip/d' src/tests/test_integration.py || die
-
-   distutils-r1_src_prepare
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-06-23 Thread Agostino Sarubbo
commit: b1d2cf34d12fd8c3dc892d59ebb779b551e25812
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 24 04:23:07 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 24 04:23:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1d2cf34

dev-python/pydocstyle: amd64/arm64/arm/ppc64/ppc/sparc/x86 stable (ALLARCHES 
policy) wrt bug #797979

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
index f97c88a48af..6d90f86cec4 100644
--- a/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
@@ -12,7 +12,7 @@ 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"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/, dev-python/pydocstyle/files/

2021-05-18 Thread Michał Górny
commit: 51ebc9362e5e9e3a8c5647a43d1a925c2a364e4c
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 18 07:44:08 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 18 08:48:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ebc936

dev-python/pydocstyle: Bump to 6.1.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest |  1 +
 .../pydocstyle-6.1.1-disarm-pip-install.patch  | 31 ++
 dev-python/pydocstyle/pydocstyle-6.1.1.ebuild  | 27 +++
 3 files changed, 59 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index 809dedd258d..4192487cbf2 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1 +1,2 @@
 DIST pydocstyle-6.0.0.tar.gz 72143 BLAKE2B 
1036a5eab38a38bda0f98371f7e4094248cf5057a9afd8743a478f153a5f06feab6b3e7d6be031615b5e88c388786f59a0619f774f492e40a722f39973051d5b
 SHA512 
609a10307aa24513f476ef639771fc095fe7a65ffd8d530fad02886369c62969c69a5134fd0ec79a1e07d1b6cb8f920c3478db546c26aefb0e45771777c02a0b
+DIST pydocstyle-6.1.1.tar.gz 73982 BLAKE2B 
6a896221fdcd257f0475472e1cf87ef892d8292a4c0faf661595adb17e2d18f4a8277cda498197309d34597c448203856c272256277a7e35fba20e2e5ba47f2b
 SHA512 
ce4932a6601c80d05a46600f5af7df54798025a5f3dc41ab8cf1bc0d63e7f78b70cccb17dc99ddab25eda9abd639f91468fca1b1ceb4539708350212e481a156

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 000..b0467a13643
--- /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?= 
+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/pydocstyle-6.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.1.1.ebuild
new file mode 100644
index 000..f97c88a48af
--- /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
+)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-04-21 Thread Michał Górny
commit: 755a0d031c1526a52c5473d53e850db667e7c564
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr 21 19:22:09 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr 21 19:22:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755a0d03

dev-python/pydocstyle: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 -
 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index b71df400b9a..809dedd258d 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,2 +1 @@
-DIST pydocstyle-5.1.1.tar.gz 70759 BLAKE2B 
3cdb519d7f9459a201c9b7bc3002e69dae76b79758b155198b3101c6817c66db01616723e789dd8105d0339d6163fec02ab50db2370b13d3a8d1c5a17ecded6c
 SHA512 
70c7408dfa4c8e54a3abf0548a9af26a7ad7ee0bb76f3a41bf6f2297ce09c13c03ab5e066b1b15404ba6390ddfcacbc5e199d8b73ee74e3b184759d88c8b2a51
 DIST pydocstyle-6.0.0.tar.gz 72143 BLAKE2B 
1036a5eab38a38bda0f98371f7e4094248cf5057a9afd8743a478f153a5f06feab6b3e7d6be031615b5e88c388786f59a0619f774f492e40a722f39973051d5b
 SHA512 
609a10307aa24513f476ef639771fc095fe7a65ffd8d530fad02886369c62969c69a5134fd0ec79a1e07d1b6cb8f920c3478db546c26aefb0e45771777c02a0b

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
deleted file mode 100644
index e3ce4474db2..000
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( pypy3 python3_{7..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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}]"
-
-distutils_enable_tests pytest
-# Requires network to lookup github issues
-#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
-
-python_prepare_all() {
-   # These tests call pip.
-   # pip install fails because we are not allowed to do that inside an 
ebuild.
-   rm "${S}/src/tests/test_integration.py" || die
-
-   distutils-r1_python_prepare_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-04-21 Thread Sam James
commit: 2e6c69006f8e4507639beb42d44fd235a9da2b55
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 21 18:54:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 21 18:54:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6c6900

dev-python/pydocstyle: Stabilize 6.0.0 ALLARCHES, #784734

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
index 13f713bc763..e434a8ff0cf 100644
--- a/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
@@ -14,7 +14,7 @@ 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"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-03-19 Thread Michał Górny
commit: bc67bd473995eb189ccab94bfa60414f5a74563f
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 19 09:40:40 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 19 09:47:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc67bd47

dev-python/pydocstyle: Remove more pip calls

Closes: https://bugs.gentoo.org/777165
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/pydocstyle-6.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
index 98022d2d02b..13f713bc763 100644
--- a/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
@@ -24,7 +24,7 @@ distutils_enable_tests --install pytest
 
 src_prepare() {
# no, seriously, you don't need to install it yourself
-   sed -i -e '/pip install/d' src/tests/test_integration.py || die
+   sed -i -e '/pip/d' src/tests/test_integration.py || die
 
distutils-r1_src_prepare
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2021-03-19 Thread Michał Górny
commit: efa8e67d2f457c4334811bf21353870dc661b822
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar 19 07:29:56 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar 19 07:36:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efa8e67d

dev-python/pydocstyle: Bump to 6.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 +
 dev-python/pydocstyle/pydocstyle-6.0.0.ebuild | 30 +++
 2 files changed, 31 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index def81dace0d..b71df400b9a 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1 +1,2 @@
 DIST pydocstyle-5.1.1.tar.gz 70759 BLAKE2B 
3cdb519d7f9459a201c9b7bc3002e69dae76b79758b155198b3101c6817c66db01616723e789dd8105d0339d6163fec02ab50db2370b13d3a8d1c5a17ecded6c
 SHA512 
70c7408dfa4c8e54a3abf0548a9af26a7ad7ee0bb76f3a41bf6f2297ce09c13c03ab5e066b1b15404ba6390ddfcacbc5e199d8b73ee74e3b184759d88c8b2a51
+DIST pydocstyle-6.0.0.tar.gz 72143 BLAKE2B 
1036a5eab38a38bda0f98371f7e4094248cf5057a9afd8743a478f153a5f06feab6b3e7d6be031615b5e88c388786f59a0619f774f492e40a722f39973051d5b
 SHA512 
609a10307aa24513f476ef639771fc095fe7a65ffd8d530fad02886369c62969c69a5134fd0ec79a1e07d1b6cb8f920c3478db546c26aefb0e45771777c02a0b

diff --git a/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild 
b/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
new file mode 100644
index 000..98022d2d02b
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-6.0.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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}]"
+
+distutils_enable_tests --install pytest
+# Requires network to lookup github issues
+#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
+
+src_prepare() {
+   # no, seriously, you don't need to install it yourself
+   sed -i -e '/pip install/d' src/tests/test_integration.py || die
+
+   distutils-r1_src_prepare
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-12-30 Thread Sam James
commit: d60f74d800f586780968a58fdb548c31312ef257
Author: Sam James  gentoo  org>
AuthorDate: Thu Dec 31 06:29:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Dec 31 06:29:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d60f74d8

dev-python/pydocstyle: Stabilize 5.1.1 ALLARCHES

Needed for dev-python/pylama and dev-python/isort

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index 679fcbe1f69..e3ce4474db2 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ 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"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-12-13 Thread Sam James
commit: 3aacd2513ff62098d8062b4d97d0c1d1724348e4
Author: Sam James  gentoo  org>
AuthorDate: Mon Dec 14 00:38:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 14 00:38:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aacd251

dev-python/pydocstyle: Keyword 5.1.1 arm, #747850

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index b3ebf388074..679fcbe1f69 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-12-12 Thread Sam James
commit: 1ac549cd030dffaa2859a4c3503d92c6b70756d8
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 13 00:34:51 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 13 00:34:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ac549cd

dev-python/pydocstyle: ppc keyworded (bug #747850)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index cb516201984..b3ebf388074 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm64 ~ia64 ~ppc64 ~sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-12-12 Thread Sam James
commit: cc8b6d12d09811e7fe799aa37ab03c848ea67a08
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 13 00:16:27 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 13 00:16:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc8b6d12

dev-python/pydocstyle: ppc64 keyworded (bug #747850)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index edab38a6a87..cb516201984 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm64 ~ia64 ~sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm64 ~ia64 ~ppc64 ~sparc x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-12-06 Thread Matt Turner
commit: 615ef665cef00b2764216844409255982b347707
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Dec  7 04:27:30 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Dec  7 04:27:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615ef665

dev-python/pydocstyle: Keyword 5.1.1 alpha, #747850

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index 028d2af436d..edab38a6a87 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ia64 ~sparc x86 ~x64-macos"
+KEYWORDS="~alpha amd64 arm64 ~ia64 ~sparc x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-11-28 Thread Sam James
commit: 58bb2d23dfff595e49aa598a9c52f103a653d6f4
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 28 14:10:09 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 28 14:21:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58bb2d23

dev-python/pydocstyle: ~x64-macos keyworded

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index 27587d1027c..028d2af436d 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ia64 ~sparc x86"
+KEYWORDS="amd64 arm64 ~ia64 ~sparc x86 ~x64-macos"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-10-20 Thread Sergei Trofimovich
commit: 87e3807f24c53169434fee013332b2eea24eb286
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Oct 20 16:20:18 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Oct 20 17:41:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e3807f

dev-python/pydocstyle: keyworded 5.1.1 for sparc, bug #747850

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index b36305956d6..27587d1027c 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm64 ~ia64 x86"
+KEYWORDS="amd64 arm64 ~ia64 ~sparc x86"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-10-16 Thread Sergei Trofimovich
commit: b1e1b523aa52cb1bf146d4b8f3363311b49bb131
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 16 21:55:39 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 16 21:56:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e1b523

dev-python/pydocstyle: keyworded 5.1.1 for ia64

keyworded wrt bug #747850

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index 221ca41a9b6..b36305956d6 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm64 x86"
+KEYWORDS="amd64 arm64 ~ia64 x86"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-10-16 Thread Joonas Niilola
commit: db9284642e1a6f578e1cefb01e35605e4290cdd6
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Oct 16 13:39:01 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Oct 16 13:39:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db928464

dev-python/pydocstyle: stabilize ALLARCHES on 5.1.1

Closes: https://bugs.gentoo.org/749495
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index 1d10a742136..221ca41a9b6 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 arm64 x86"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-10-16 Thread Michał Górny
commit: 7af44c0fcd7d213457379991350d439d8fbc7083
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 16 11:54:49 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 16 12:00:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af44c0f

dev-python/pydocstyle: Mark ALLARCHES

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pydocstyle/metadata.xml 
b/dev-python/pydocstyle/metadata.xml
index 17a622fcf6b..e21c2c68f71 100644
--- a/dev-python/pydocstyle/metadata.xml
+++ b/dev-python/pydocstyle/metadata.xml
@@ -17,6 +17,7 @@
 proxy-ma...@gentoo.org
 Proxy Maintainers
   
+  
   
 PyCQA/pydocstyle
 pydocstyle



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-10-11 Thread Sam James
commit: 062c61be1935c4238c1dcbbf5f021949bf5eec62
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 11 23:44:15 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 11 23:44:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=062c61be

dev-python/pydocstyle: Keyword 5.1.1 arm64, #747850

Signed-off-by: Sam James  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index 15729d6e077..1d10a742136 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-10-07 Thread Louis Sautier
commit: 6748389567f02ae65260d9a8f7501806c466b228
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Oct  7 20:55:37 2020 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Wed Oct  7 21:03:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67483895

dev-python/pydocstyle: add PyPy3+Py3.9 support, fix build deps

None of the listed test dependencies are actually necessary.

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
index 002dcd2f4f5..15729d6e077 100644
--- a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( pypy3 python3_{7..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
@@ -18,12 +18,6 @@ KEYWORDS="~amd64 ~x86"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 
-DEPEND="test? (
-   dev-python/pytest-pep8[${PYTHON_USEDEP}]
-   dev-python/mypy[${PYTHON_USEDEP}]
-   dev-python/tox[${PYTHON_USEDEP}]
-)"
-
 distutils_enable_tests pytest
 # Requires network to lookup github issues
 #distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-09-04 Thread Matt Turner
commit: 395dfa29d0539d49e6f939666d3ba59a8cbe98da
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Aug 23 18:12:34 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Sep  4 17:31:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=395dfa29

dev-python/pydocstyle: version bump 5.1.1

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan  riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/17240
Signed-off-by: Matt Turner  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 +
 dev-python/pydocstyle/pydocstyle-5.1.1.ebuild | 37 +++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index efa1ceaa89d..5b227ba9648 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1 +1,2 @@
 DIST pydocstyle-5.0.2.tar.gz 68063 BLAKE2B 
6d7bf04e97c853e50d953342d332847d0e80b080d5ab044f9d444536ed0352ad44402a1af0c3a6f552ec9f3bb3a372a84af2a5bbdaee58bb18dab585cad5dddb
 SHA512 
5ac2e017ae95ff5c7759d6a2cb9ac990f94f668f5fd940792d927cc62628cd036afcf39ab5db6a11100dcca32af344b47f4a7319dd3a47c36367844d0c06d34a
+DIST pydocstyle-5.1.1.tar.gz 70759 BLAKE2B 
3cdb519d7f9459a201c9b7bc3002e69dae76b79758b155198b3101c6817c66db01616723e789dd8105d0339d6163fec02ab50db2370b13d3a8d1c5a17ecded6c
 SHA512 
70c7408dfa4c8e54a3abf0548a9af26a7ad7ee0bb76f3a41bf6f2297ce09c13c03ab5e066b1b15404ba6390ddfcacbc5e199d8b73ee74e3b184759d88c8b2a51

diff --git a/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
new file mode 100644
index 000..002dcd2f4f5
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-5.1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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="~amd64 ~x86"
+
+RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
+
+DEPEND="test? (
+   dev-python/pytest-pep8[${PYTHON_USEDEP}]
+   dev-python/mypy[${PYTHON_USEDEP}]
+   dev-python/tox[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+# Requires network to lookup github issues
+#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
+
+python_prepare_all() {
+   # These tests call pip.
+   # pip install fails because we are not allowed to do that inside an 
ebuild.
+   rm "${S}/src/tests/test_integration.py" || die
+
+   distutils-r1_python_prepare_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-08-02 Thread Michał Górny
commit: bf362a460c5ed6c62a44747fdc3fe2a9a503753d
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Aug  2 09:06:08 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Aug  2 09:06:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf362a46

dev-python/pydocstyle: Recombine impls into a single ebuild

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild | 38 
 dev-python/pydocstyle/pydocstyle-5.0.2.ebuild| 10 ---
 2 files changed, 6 insertions(+), 42 deletions(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild
deleted file mode 100644
index 1887ba0bb24..000
--- a/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-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="~amd64 ~x86"
-
-RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
-
-DEPEND="test? (
-   dev-python/pytest-pep8[${PYTHON_USEDEP}]
-   dev-python/mypy[${PYTHON_USEDEP}]
-   dev-python/tox[${PYTHON_USEDEP}]
-)"
-
-distutils_enable_tests pytest
-# Requires network to lookup github issues
-#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
-
-src_prepare() {
-   default
-
-   # These tests call pip.
-   # pip install fails because we are not allowed to do that inside an 
ebuild.
-   rm "${S}/src/tests/test_integration.py" || die
-}

diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
index 5d439c03ab4..42c63035e5e 100644
--- a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
@@ -22,15 +22,17 @@ RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 DEPEND="test? (
dev-python/pytest-pep8[${PYTHON_USEDEP}]
dev-python/mypy[${PYTHON_USEDEP}]
-   dev-python/tox[${PYTHON_USEDEP}] )"
+   dev-python/tox[${PYTHON_USEDEP}]
+)"
 
 distutils_enable_tests pytest
-distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
+# Requires network to lookup github issues
+#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
 
 src_prepare() {
default
 
# These tests call pip.
# pip install fails because we are not allowed to do that inside an 
ebuild.
-   rm ${S}/src/tests/test_integration.py || die
+   rm "${S}/src/tests/test_integration.py" || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-07-16 Thread Matt Turner
commit: f9c2c228814b6f75832727ca6d6dbd7bbfe082a2
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Jul  1 18:58:13 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Jul 17 04:13:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c2c228

dev-python/pydocstyle: add py3_8, rem py3_6

py3_9 still missing on deps (too many for me bump atm)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Matt Turner  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild | 38 
 1 file changed, 38 insertions(+)

diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild
new file mode 100644
index 000..1887ba0bb24
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-5.0.2-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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="~amd64 ~x86"
+
+RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
+
+DEPEND="test? (
+   dev-python/pytest-pep8[${PYTHON_USEDEP}]
+   dev-python/mypy[${PYTHON_USEDEP}]
+   dev-python/tox[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+# Requires network to lookup github issues
+#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
+
+src_prepare() {
+   default
+
+   # These tests call pip.
+   # pip install fails because we are not allowed to do that inside an 
ebuild.
+   rm "${S}/src/tests/test_integration.py" || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-03-28 Thread Michał Górny
commit: c8c3ef2eaf7f8b91cc1fee10337047f5e6cd0eec
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar 28 17:17:41 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar 28 17:17:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c3ef2e

dev-python/pydocstyle: Remove redundant versions

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 -
 dev-python/pydocstyle/pydocstyle-2.1.1.ebuild | 34 ---
 2 files changed, 35 deletions(-)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index e0085d8746a..efa1ceaa89d 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1,2 +1 @@
-DIST pydocstyle-2.1.1.tar.gz 55760 BLAKE2B 
e470b006b5db04c4bed5c3145b14b949980c71d1dd91dbe34d49599063aaf1cb1d0842dfb992e5d471436446455bde2d309ee573826c039540fa99adba3f828b
 SHA512 
f23939e0350094c67565613bab4ddf285dda5a7379e6ac2493953d6e60ab75588143fd374715765d2aa0728e7117d02e91312dbbe5a9cad28aa8e8e7f68e3bc4
 DIST pydocstyle-5.0.2.tar.gz 68063 BLAKE2B 
6d7bf04e97c853e50d953342d332847d0e80b080d5ab044f9d444536ed0352ad44402a1af0c3a6f552ec9f3bb3a372a84af2a5bbdaee58bb18dab585cad5dddb
 SHA512 
5ac2e017ae95ff5c7759d6a2cb9ac990f94f668f5fd940792d927cc62628cd036afcf39ab5db6a11100dcca32af344b47f4a7319dd3a47c36367844d0c06d34a

diff --git a/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild
deleted file mode 100644
index 6f1106d04f6..000
--- a/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{3_6,3_7} )
-
-inherit distutils-r1
-
-DESCRIPTION="Python docstring style checker"
-HOMEPAGE="https://pypi.python.org/pypi/pep257;
-SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND=""
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   dev-python/mock[${PYTHON_USEDEP}]
-   )"
-
-python_install_all() {
-   distutils-r1_python_install_all
-}
-
-python_test() {
-   esetup.py test
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-03-25 Thread Agostino Sarubbo
commit: 2ab8665e13ebe63f54db6f93284ea5ebe8c4f99d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 17:43:20 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 17:43:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ab8665e

dev-python/pydocstyle: x86 stable wrt bug #714428

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
index 7796da8357e..5d439c03ab4 100644
--- a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-03-25 Thread Agostino Sarubbo
commit: cb0aa6359d0635740cb915c301c9250996b655e1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 25 16:11:50 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 25 16:11:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb0aa635

dev-python/pydocstyle: amd64 stable wrt bug #714428

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/pydocstyle/pydocstyle-5.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
index 65c6d9cc32c..7796da8357e 100644
--- a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
+++ b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2020-02-15 Thread Matt Turner
commit: d794b5a19725fdf932808816a92f68bcada03e39
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Feb 15 20:31:36 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Feb 15 20:42:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d794b5a1

dev-python/pydocstyle: Version bump to 5.0.2

Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan  riseup.net>
Signed-off-by: Matt Turner  gentoo.org>

 dev-python/pydocstyle/Manifest|  1 +
 dev-python/pydocstyle/metadata.xml|  8 ++
 dev-python/pydocstyle/pydocstyle-5.0.2.ebuild | 36 +++
 3 files changed, 45 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
index 4fae544a376..e0085d8746a 100644
--- a/dev-python/pydocstyle/Manifest
+++ b/dev-python/pydocstyle/Manifest
@@ -1 +1,2 @@
 DIST pydocstyle-2.1.1.tar.gz 55760 BLAKE2B 
e470b006b5db04c4bed5c3145b14b949980c71d1dd91dbe34d49599063aaf1cb1d0842dfb992e5d471436446455bde2d309ee573826c039540fa99adba3f828b
 SHA512 
f23939e0350094c67565613bab4ddf285dda5a7379e6ac2493953d6e60ab75588143fd374715765d2aa0728e7117d02e91312dbbe5a9cad28aa8e8e7f68e3bc4
+DIST pydocstyle-5.0.2.tar.gz 68063 BLAKE2B 
6d7bf04e97c853e50d953342d332847d0e80b080d5ab044f9d444536ed0352ad44402a1af0c3a6f552ec9f3bb3a372a84af2a5bbdaee58bb18dab585cad5dddb
 SHA512 
5ac2e017ae95ff5c7759d6a2cb9ac990f94f668f5fd940792d927cc62628cd036afcf39ab5db6a11100dcca32af344b47f4a7319dd3a47c36367844d0c06d34a

diff --git a/dev-python/pydocstyle/metadata.xml 
b/dev-python/pydocstyle/metadata.xml
index 6425ffb95a7..17a622fcf6b 100644
--- a/dev-python/pydocstyle/metadata.xml
+++ b/dev-python/pydocstyle/metadata.xml
@@ -9,6 +9,14 @@
 monsie...@gentoo.org
 Patrice Clement
   
+  
+andrewammerl...@riseup.net
+Andrew Ammerlaan
+  
+  
+proxy-ma...@gentoo.org
+Proxy Maintainers
+  
   
 PyCQA/pydocstyle
 pydocstyle

diff --git a/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild 
b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
new file mode 100644
index 000..65c6d9cc32c
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-5.0.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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="~amd64 ~x86"
+
+RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
+
+DEPEND="test? (
+   dev-python/pytest-pep8[${PYTHON_USEDEP}]
+   dev-python/mypy[${PYTHON_USEDEP}]
+   dev-python/tox[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme 
dev-python/sphinxcontrib-issuetracker
+
+src_prepare() {
+   default
+
+   # These tests call pip.
+   # pip install fails because we are not allowed to do that inside an 
ebuild.
+   rm ${S}/src/tests/test_integration.py || die
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2018-10-14 Thread Zac Medico
commit: ef2657945957bccd0f4e333defc8777e6c2d45e0
Author: Zac Medico  gentoo  org>
AuthorDate: Sun Oct 14 11:57:07 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sun Oct 14 11:57:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef265794

dev-python/pydocstyle: remove package

This package is the same as dev-python/pep257.

Closes: https://bugs.gentoo.org/668590
Signed-off-by: Zac Medico  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/pydocstyle/Manifest|  1 -
 dev-python/pydocstyle/metadata.xml| 12 
 dev-python/pydocstyle/pydocstyle-2.1.1.ebuild | 44 ---
 3 files changed, 57 deletions(-)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
deleted file mode 100644
index 4fae544a376..000
--- a/dev-python/pydocstyle/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pydocstyle-2.1.1.tar.gz 55760 BLAKE2B 
e470b006b5db04c4bed5c3145b14b949980c71d1dd91dbe34d49599063aaf1cb1d0842dfb992e5d471436446455bde2d309ee573826c039540fa99adba3f828b
 SHA512 
f23939e0350094c67565613bab4ddf285dda5a7379e6ac2493953d6e60ab75588143fd374715765d2aa0728e7117d02e91312dbbe5a9cad28aa8e8e7f68e3bc4

diff --git a/dev-python/pydocstyle/metadata.xml 
b/dev-python/pydocstyle/metadata.xml
deleted file mode 100644
index b9e33854ac1..000
--- a/dev-python/pydocstyle/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-http://www.gentoo.org/dtd/metadata.dtd;>
-
-   
-   zmed...@gentoo.org
-   Zac Medico
-   
-   
-   pydocstyle
-   PyCQA/pydocstyle
-   
-

diff --git a/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild
deleted file mode 100644
index 50953890c20..000
--- a/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Python docstring style checker"
-HOMEPAGE="https://github.com/PyCQA/pydocstyle;
-SRC_URI="https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-# pypi tarball excludes unit tests
-#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-# TODO: investigate unit test failures
-RESTRICT="test"
-
-RDEPEND="$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' -2)
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/snowballstemmer[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   test? (
-   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-3.0.2[${PYTHON_USEDEP}]
-   >=dev-python/pytest-pep8-1.0.6[${PYTHON_USEDEP}]
-   virtual/python-pathlib[${PYTHON_USEDEP}]
-   )"
-
-python_prepare_all() {
-   distutils-r1_python_prepare_all
-   sed -e 's:^\(def \)\(install_package\):\1_\2:' \
-   -e 's:^pytestmark =:#\0:' \
-   -i src/tests/test_integration.py || die
-}
-
-python_test() {
-   py.test -v src/tests || die "tests failed with ${EPYTHON}"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pydocstyle/

2018-10-13 Thread Zac Medico
commit: 8a6f5d468a5c2a3c85a32449b35566c4ae6ad430
Author: Zac Medico  gentoo  org>
AuthorDate: Sat Oct 13 20:55:13 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Sat Oct 13 22:35:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6f5d46

dev-python/pydocstyle: new package

Signed-off-by: Zac Medico  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/pydocstyle/Manifest|  1 +
 dev-python/pydocstyle/metadata.xml| 12 
 dev-python/pydocstyle/pydocstyle-2.1.1.ebuild | 44 +++
 3 files changed, 57 insertions(+)

diff --git a/dev-python/pydocstyle/Manifest b/dev-python/pydocstyle/Manifest
new file mode 100644
index 000..4fae544a376
--- /dev/null
+++ b/dev-python/pydocstyle/Manifest
@@ -0,0 +1 @@
+DIST pydocstyle-2.1.1.tar.gz 55760 BLAKE2B 
e470b006b5db04c4bed5c3145b14b949980c71d1dd91dbe34d49599063aaf1cb1d0842dfb992e5d471436446455bde2d309ee573826c039540fa99adba3f828b
 SHA512 
f23939e0350094c67565613bab4ddf285dda5a7379e6ac2493953d6e60ab75588143fd374715765d2aa0728e7117d02e91312dbbe5a9cad28aa8e8e7f68e3bc4

diff --git a/dev-python/pydocstyle/metadata.xml 
b/dev-python/pydocstyle/metadata.xml
new file mode 100644
index 000..b9e33854ac1
--- /dev/null
+++ b/dev-python/pydocstyle/metadata.xml
@@ -0,0 +1,12 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   zmed...@gentoo.org
+   Zac Medico
+   
+   
+   pydocstyle
+   PyCQA/pydocstyle
+   
+

diff --git a/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild 
b/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild
new file mode 100644
index 000..50953890c20
--- /dev/null
+++ b/dev-python/pydocstyle/pydocstyle-2.1.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python docstring style checker"
+HOMEPAGE="https://github.com/PyCQA/pydocstyle;
+SRC_URI="https://github.com/PyCQA/pydocstyle/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+# pypi tarball excludes unit tests
+#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+# TODO: investigate unit test failures
+RESTRICT="test"
+
+RDEPEND="$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' -2)
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/snowballstemmer[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   test? (
+   >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-3.0.2[${PYTHON_USEDEP}]
+   >=dev-python/pytest-pep8-1.0.6[${PYTHON_USEDEP}]
+   virtual/python-pathlib[${PYTHON_USEDEP}]
+   )"
+
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+   sed -e 's:^\(def \)\(install_package\):\1_\2:' \
+   -e 's:^pytestmark =:#\0:' \
+   -i src/tests/test_integration.py || die
+}
+
+python_test() {
+   py.test -v src/tests || die "tests failed with ${EPYTHON}"
+}