Date: Friday, February 10, 2023 @ 09:20:47
  Author: yan12125
Revision: 1399546

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 44 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-10 09:20:32 UTC (rev 1399545)
+++ PKGBUILD    2023-02-10 09:20:47 UTC (rev 1399546)
@@ -1,38 +0,0 @@
-# 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/
-}

Copied: python-openapi-schema-validator/repos/community-any/PKGBUILD (from rev 
1399545, python-openapi-schema-validator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-10 09:20:47 UTC (rev 1399546)
@@ -0,0 +1,44 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Felix Yan <[email protected]>
+
+pkgname=python-openapi-schema-validator
+# https://github.com/p1c2u/openapi-schema-validator/releases
+pkgver=0.4.3
+# curl 
https://api.github.com/repos/p1c2u/openapi-schema-validator/git/ref/tags/$pkgver
 | jq -r .object.sha
+_tag=03715982780dae67884228001ed056e88faa6ce2
+pkgrel=1
+pkgdesc="OpenAPI schema validation for Python"
+url="https://github.com/p1c2u/openapi-schema-validator";
+license=('BSD')
+arch=('any')
+depends=('python-jsonschema' 'python-rfc3339-validator')
+makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core')
+checkdepends=('python-pytest')
+source=("git+https://github.com/p1c2u/openapi-schema-validator.git#tag=$_tag";)
+sha512sums=('SKIP')
+
+pkgver() {
+  cd openapi-schema-validator
+  git describe --tags
+}
+
+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