[arch-commits] Commit in python-openapi-schema-validator/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Sep 3 13:25:29 UTC 2022
Date: Saturday, September 3, 2022 @ 13:25:29
Author: felixonmars
Revision: 1292415
upgpkg: python-openapi-schema-validator 0.3.1-1
Modified:
python-openapi-schema-validator/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-03 13:24:05 UTC (rev 1292414)
+++ PKGBUILD 2022-09-03 13:25:29 UTC (rev 1292415)
@@ -1,19 +1,23 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-openapi-schema-validator
-pkgver=0.3.0
+pkgver=0.3.1
pkgrel=1
pkgdesc="OpenAPI schema validation for Python"
url="https://github.com/p1c2u/openapi-schema-validator"
license=('BSD')
arch=('any')
-depends=('python-isodate' 'python-jsonschema' 'python-six')
-makedepends=('python-build' 'python-installer' 'python-poetry')
-checkdepends=('python-pytest-cov' 'python-pytest-flake8' 'python-rfc3339-validator'
- 'python-strict-rfc3339')
+depends=('python-attrs' 'python-jsonschema')
+makedepends=('python-build' 'python-installer' 'python-poetry-core')
+checkdepends=('python-pytest' 'python-isodate' 'python-rfc3339-validator' 'python-strict-rfc3339')
source=("https://github.com/p1c2u/openapi-schema-validator/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('003ea97a1cac598eb3728d96291d8be56c6ba9e2d3cd4f77c1258962f67b460a887f4473fed39587870583e13a83403623c3b2f96fa8d02345583cd3bdaf008b')
+sha512sums=('72564409e80c8dd8578ba2a363865623aa03b8b2324abd37bea31c503632a367bacf81d8de801579b80347906d2b24c14371c9b37b70176e0bf51ca8c6b9e071')
+prepare() {
+ cd openapi-schema-validator-$pkgver
+ sed -i '/--cov/d' pyproject.toml
+}
+
build() {
cd openapi-schema-validator-$pkgver
python -m build --wheel --no-isolation
More information about the arch-commits
mailing list