Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
python-pydocstyle


Commits:
a4590402 by Antonio Rojas at 2024-04-12T21:21:29+02:00
upgpkg: 6.3.0-4: Python 3.12 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-pydocstyle
        pkgdesc = Docstring style checker
        pkgver = 6.3.0
-       pkgrel = 3
+       pkgrel = 4
        url = http://www.pydocstyle.org/
        arch = any
        license = MIT
@@ -13,6 +13,8 @@ pkgbase = python-pydocstyle
        makedepends = python-poetry-core
        depends = python-snowballstemmer
        source = 
python-pydocstyle-6.3.0.tar.gz::https://github.com/PyCQA/pydocstyle/archive/6.3.0.tar.gz
+       source = https://github.com/PyCQA/pydocstyle/commit/306c7c8f.patch
        sha256sums = 
29ed0e8b1abe5f4590132f456b6f9cbf0866b89fabf836bc9474fde706e2e13e
+       sha256sums = 
0f0f89026ef71ab9cca805ded0ad86dc152d7a1c388a43af5739455c0eb0f316
 
 pkgname = python-pydocstyle


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=python-pydocstyle
 pkgver=6.3.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Docstring style checker"
 arch=("any")
 url="http://www.pydocstyle.org/";
@@ -10,13 +10,17 @@ license=("MIT")
 depends=("python-snowballstemmer")
 makedepends=("python-build" "python-installer" "python-poetry-core")
 checkdepends=("python-pytest" "python-pip" "python-snowballstemmer")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pydocstyle/archive/${pkgver}.tar.gz";)
-sha256sums=('29ed0e8b1abe5f4590132f456b6f9cbf0866b89fabf836bc9474fde706e2e13e')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pydocstyle/archive/${pkgver}.tar.gz";
+         https://github.com/PyCQA/pydocstyle/commit/306c7c8f.patch)
+sha256sums=('29ed0e8b1abe5f4590132f456b6f9cbf0866b89fabf836bc9474fde706e2e13e'
+            '0f0f89026ef71ab9cca805ded0ad86dc152d7a1c388a43af5739455c0eb0f316')
 
 prepare() {
     cd "pydocstyle-${pkgver}"
     # Fix version number in metadata
     sed -e "s|^version = .*|version = \"$pkgver\"|" -i pyproject.toml
+
+    patch -p1 -i ../306c7c8f.patch # Fix tests with Python 3.12
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pydocstyle/-/commit/a45904024253fdde9cb49a6da14b6dfce1d74064

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pydocstyle/-/commit/a45904024253fdde9cb49a6da14b6dfce1d74064
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to