[arch-commits] Commit in python-pydocstyle/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun May 9 11:58:27 UTC 2021
Date: Sunday, May 9, 2021 @ 11:58:26
Author: foxboron
Revision: 929092
upgpkg: python-pydocstyle 6.0.0-1
Modified:
python-pydocstyle/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-09 11:56:40 UTC (rev 929091)
+++ PKGBUILD 2021-05-09 11:58:26 UTC (rev 929092)
@@ -1,8 +1,8 @@
# Maintainer: Morten Linderud <foxboron at archlinux.org>
pkgname=python-pydocstyle
-pkgver=5.1.1
-pkgrel=3
+pkgver=6.0.0
+pkgrel=1
pkgdesc="Docstring style checker"
arch=("any")
url="http://www.pydocstyle.org/"
@@ -11,20 +11,21 @@
makedepends=("python-setuptools")
checkdepends=("python-pytest" "python-pytest-runner" "python-mock" "python-pip" "python-snowballstemmer")
source=("$pkgname-$pkgver.tar.gz::https://github.com/PyCQA/pydocstyle/archive/${pkgver}.tar.gz")
-sha256sums=('904bce3084dc4cb2f3802d1795f3fa8aa1e01e83823e117e44c6a93c4aa60a17')
+sha256sums=('3bc0973500c117ba4266c81e0371d011554f6cc581f9bdbe8eec1b204946bf8a')
build() {
- cd "${srcdir}/pydocstyle-${pkgver}"
+ cd "pydocstyle-${pkgver}"
python setup.py build
}
check() {
- cd "${srcdir}/pydocstyle-${pkgver}"
+ cd "pydocstyle-${pkgver}"
python setup.py pytest --addopts "-k 'not test_integration'"
}
package() {
cd "pydocstyle-${pkgver}"
+ export PYTHONHASHSEED=0
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
install -Dm644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list