Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-validators


Commits:
89583e8e by Felix Yan at 2024-10-21T02:06:09+03:00
upgpkg: 0.20.3-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
 pkgbase = python-validators
        pkgdesc = Python Data Validation for Humans
-       pkgver = 0.20.2
-       pkgrel = 2
+       pkgver = 0.20.3
+       pkgrel = 1
        url = https://github.com/kvesteri/validators
        arch = any
        license = MIT
        checkdepends = python-pytest
+       makedepends = git
        makedepends = python-build
        makedepends = python-installer
        makedepends = python-poetry-core
        depends = python
-       source = 
https://github.com/kvesteri/validators/archive/0.20.2/python-validators-0.20.2.tar.gz
-       sha512sums = 
95a7b1fd7f6462535fff49542230d8026b7148d5659e9055ae828d9f2247ceafd4244360570c96fb4fdc03438073ef9a922d0403e73a947f25c844259ee51375
+       source = git+https://github.com/kvesteri/validators.git#tag=0.20.3
+       sha512sums = 
dab6cbf4a365562162a32ed05241b4c260287bae8e9a33dd378ae2551fa4e4cdbf871c91950f663d0c84b03f5a56bb127b256ad0a430923e5eba6c7ed1625b80
 
 pkgname = python-validators


=====================================
PKGBUILD
=====================================
@@ -1,31 +1,30 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-validators
-pkgver=0.20.2
-pkgrel=2
+pkgver=0.20.3
+pkgrel=1
 pkgdesc="Python Data Validation for Humans"
 url="https://github.com/kvesteri/validators";
 license=('MIT')
 arch=('any')
 depends=('python')
-makedepends=('python-build' 'python-installer' 'python-poetry-core')
+makedepends=('git' 'python-build' 'python-installer' 'python-poetry-core')
 checkdepends=('python-pytest')
-source=("https://github.com/kvesteri/validators/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('95a7b1fd7f6462535fff49542230d8026b7148d5659e9055ae828d9f2247ceafd4244360570c96fb4fdc03438073ef9a922d0403e73a947f25c844259ee51375')
+source=("git+https://github.com/kvesteri/validators.git#tag=$pkgver";)
+sha512sums=('dab6cbf4a365562162a32ed05241b4c260287bae8e9a33dd378ae2551fa4e4cdbf871c91950f663d0c84b03f5a56bb127b256ad0a430923e5eba6c7ed1625b80')
 
 build() {
-  cd validators-$pkgver
+  cd validators
   python -m build -nw
 }
 
 check() {
-  cd validators-$pkgver
+  cd validators
   python -m pytest
 }
 
 package() {
-  cd validators-$pkgver
+  cd validators
   python -m installer -d "$pkgdir" dist/*.whl
-
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-validators/-/commit/89583e8ec46f7e2dba1ec2647ad4cfaf08084f5c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-validators/-/commit/89583e8ec46f7e2dba1ec2647ad4cfaf08084f5c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to