Date: Tuesday, January 31, 2023 @ 23:56:15
  Author: felixonmars
Revision: 1391593

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 38 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-31 23:56:03 UTC (rev 1391592)
+++ PKGBUILD    2023-01-31 23:56:15 UTC (rev 1391593)
@@ -1,42 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-# Contributor: Felix Yan <[email protected]>
-
-pkgname=python-openapi-schema-validator
-pkgver=0.4.1
-pkgrel=1
-pkgdesc="OpenAPI schema validation for Python"
-url="https://github.com/p1c2u/openapi-schema-validator";
-license=('BSD')
-arch=('any')
-depends=('python-jsonschema')
-makedepends=('python-build' 'python-installer' 'python-poetry-core')
-checkdepends=('python-pytest' 'python-isodate' 'python-rfc3339-validator' 
'python-strict-rfc3339')
-optdepends=(
-  'python-isodate: validate datetime with isodate'
-  'python-rfc3339-validator: validate datetime with rfc3339_validator'
-  'python-strict-rfc3339: validate datetime with strict_rfc3339'
-)
-source=("https://github.com/p1c2u/openapi-schema-validator/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('e437309a6e741eaefa6b49bb038bd5976288bd6559fc6957d7029d9c0fed36ee368ac5fb26133a0fe54366da77ec649b5e44eb6a7926d9d5c49573afdfa3309b')
-
-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/
-}

Copied: python-openapi-schema-validator/repos/community-any/PKGBUILD (from rev 
1391592, python-openapi-schema-validator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-31 23:56:15 UTC (rev 1391593)
@@ -0,0 +1,38 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+
+pkgname=python-openapi-schema-validator
+pkgver=0.4.2
+_commit=f9165ecf70e8d00584a723ade7e0aedec48dd70f
+pkgrel=1
+pkgdesc="OpenAPI schema validation for Python"
+url="https://github.com/p1c2u/openapi-schema-validator";
+license=('BSD')
+arch=('any')
+depends=('python-jsonschema')
+makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core')
+checkdepends=('python-pytest' 'python-rfc3339-validator')
+optdepends=('python-rfc3339-validator: validate datetime with 
rfc3339_validator')
+source=("git+https://github.com/p1c2u/openapi-schema-validator.git#commit=$_commit";)
+sha512sums=('SKIP')
+
+prepare() {
+  cd openapi-schema-validator
+  sed -i '/--cov/d' pyproject.toml
+}
+
+build() {
+  cd openapi-schema-validator
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd openapi-schema-validator
+  python -m pytest
+}
+
+package() {
+  cd openapi-schema-validator
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to