[arch-commits] Commit in python-pydantic/repos/community-any (PKGBUILD PKGBUILD)

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


    Date: Saturday, July 11, 2020 @ 12:58:30
  Author: ffy00
Revision: 663261

archrelease: copy trunk to community-any

Added:
  python-pydantic/repos/community-any/PKGBUILD
    (from rev 663260, python-pydantic/trunk/PKGBUILD)
Deleted:
  python-pydantic/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 42 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-11 12:58:21 UTC (rev 663260)
+++ PKGBUILD	2020-07-11 12:58:30 UTC (rev 663261)
@@ -1,40 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=pydantic
-pkgname=python-$_pkgname
-pkgver=1.5.1
-pkgrel=1
-pkgdesc='Data parsing and validation using Python type hints'
-arch=('any')
-url='https://github.com/samuelcolvin/pydantic'
-license=('MIT')
-depends=('python')
-optdepends=('python-email-validator: email'
-            'python-typing-extensions: typing_extensions')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('beadba0f57bd669ac97f4d7288cdf9598f6c791f46258ba75a3ec93361ebba010d7b1784e8b50534b12f9fb3606e8cc0cbbc7a9321a1d9a6a29e1e73a057f9c4')
-
-prepare() {
-  rm $_pkgname-$pkgver/tests/test_validators.py
-}
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  python setup.py pytest
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-

Copied: python-pydantic/repos/community-any/PKGBUILD (from rev 663260, python-pydantic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-11 12:58:30 UTC (rev 663261)
@@ -0,0 +1,42 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pydantic
+pkgname=python-$_pkgname
+pkgver=1.6
+pkgrel=1
+pkgdesc='Data parsing and validation using Python type hints'
+arch=('any')
+url='https://github.com/samuelcolvin/pydantic'
+license=('MIT')
+depends=('python')
+optdepends=('python-email-validator: email'
+            'python-typing-extensions: typing_extensions')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('03558169f1174b7a24bab1f1b9c52c4545ecc13c48179764ae1fd51bef7317ca37fb166b7068f99ede839d81965694f92a1df35b83c5beec98a4bfb50554a77e')
+
+prepare() {
+  rm $_pkgname-$pkgver/tests/test_validators.py
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python setup.py pytest
+}
+
+package() {
+  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