[arch-commits] Commit in python-jaraco.classes/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Jun 8 12:17:10 UTC 2022
Date: Wednesday, June 8, 2022 @ 12:17:10
Author: felixonmars
Revision: 1229257
upgpkg: python-jaraco.classes 3.2.1-2: enable tests
Modified:
python-jaraco.classes/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-08 12:17:03 UTC (rev 1229256)
+++ PKGBUILD 2022-06-08 12:17:10 UTC (rev 1229257)
@@ -3,7 +3,7 @@
pkgname=python-jaraco.classes
pkgver=3.2.1
-pkgrel=1
+pkgrel=2
pkgdesc='Module for classes manipulation'
arch=('any')
url='https://github.com/jaraco/jaraco.classes'
@@ -10,6 +10,9 @@
license=('MIT')
depends=('python-more-itertools')
makedepends=('python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
+checkdepends=('python-pytest-black' 'python-pytest-checkdocs' 'python-pytest-cov'
+ 'python-pytest-enabler' 'python-pytest-flake8' 'python-pytest-mypy'
+ 'python-pip')
source=("https://files.pythonhosted.org/packages/source/j/jaraco.classes/jaraco.classes-$pkgver.tar.gz")
sha512sums=('4c85cfdd1da88de01596867365147be6cadd7e1d230798683236fdfde579747e3309aac95ae4f3ef86c91bb4493f3096c4ecc14e3db764ef308aab41ead88e23')
@@ -18,6 +21,11 @@
python -m build --wheel --no-isolation
}
+check() {
+ cd "$srcdir/jaraco.classes-$pkgver"
+ python -m pytest
+}
+
package() {
cd "$srcdir/jaraco.classes-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
More information about the arch-commits
mailing list