[arch-commits] Commit in python-openapi-schema-validator/repos/community-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Sat Sep 3 13:25:45 UTC 2022


    Date: Saturday, September 3, 2022 @ 13:25:45
  Author: felixonmars
Revision: 1292416

archrelease: copy trunk to community-any

Added:
  python-openapi-schema-validator/repos/community-any/PKGBUILD
    (from rev 1292415, python-openapi-schema-validator/trunk/PKGBUILD)
Deleted:
  python-openapi-schema-validator/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 36 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-03 13:25:29 UTC (rev 1292415)
+++ PKGBUILD	2022-09-03 13:25:45 UTC (rev 1292416)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-openapi-schema-validator
-pkgver=0.3.0
-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')
-source=("https://github.com/p1c2u/openapi-schema-validator/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('003ea97a1cac598eb3728d96291d8be56c6ba9e2d3cd4f77c1258962f67b460a887f4473fed39587870583e13a83403623c3b2f96fa8d02345583cd3bdaf008b')
-
-build() {
-  cd openapi-schema-validator-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd openapi-schema-validator-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd openapi-schema-validator-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-openapi-schema-validator/repos/community-any/PKGBUILD (from rev 1292415, python-openapi-schema-validator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-03 13:25:45 UTC (rev 1292416)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-openapi-schema-validator
+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-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=('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
+}
+
+check() {
+  cd openapi-schema-validator-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd openapi-schema-validator-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list