[arch-commits] Commit in python-pydantic/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat Jul 11 12:58:22 UTC 2020


    Date: Saturday, July 11, 2020 @ 12:58:21
  Author: ffy00
Revision: 663260

upgpkg: python-pydantic 1.6-1

Modified:
  python-pydantic/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-11 12:52:52 UTC (rev 663259)
+++ PKGBUILD	2020-07-11 12:58:21 UTC (rev 663260)
@@ -2,7 +2,7 @@
 
 _pkgname=pydantic
 pkgname=python-$_pkgname
-pkgver=1.5.1
+pkgver=1.6
 pkgrel=1
 pkgdesc='Data parsing and validation using Python type hints'
 arch=('any')
@@ -14,7 +14,7 @@
 makedepends=('python-setuptools')
 checkdepends=('python-pytest-runner')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('beadba0f57bd669ac97f4d7288cdf9598f6c791f46258ba75a3ec93361ebba010d7b1784e8b50534b12f9fb3606e8cc0cbbc7a9321a1d9a6a29e1e73a057f9c4')
+sha512sums=('03558169f1174b7a24bab1f1b9c52c4545ecc13c48179764ae1fd51bef7317ca37fb166b7068f99ede839d81965694f92a1df35b83c5beec98a4bfb50554a77e')
 
 prepare() {
   rm $_pkgname-$pkgver/tests/test_validators.py
@@ -36,5 +36,7 @@
   cd $_pkgname-$pkgver
 
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 


More information about the arch-commits mailing list