[arch-commits] Commit in python-pydantic/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Nov 1 21:14:28 UTC 2020
Date: Sunday, November 1, 2020 @ 21:14:27
Author: ffy00
Revision: 739019
archrelease: copy trunk to community-any
Added:
python-pydantic/repos/community-any/PKGBUILD
(from rev 739018, python-pydantic/trunk/PKGBUILD)
Deleted:
python-pydantic/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-01 21:14:22 UTC (rev 739018)
+++ PKGBUILD 2020-11-01 21:14:27 UTC (rev 739019)
@@ -1,42 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=pydantic
-pkgname=python-$_pkgname
-pkgver=1.7.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' 'python-pytest-mock')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('a1f7767221256c290d856bb7ba5148040369a2221712348c96194694205138f18e77121d74cfb0c0e2de6b626dfde03dd550fc6e694f6424c5e8575e405c9a38')
-
-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
-}
-
Copied: python-pydantic/repos/community-any/PKGBUILD (from rev 739018, python-pydantic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-01 21:14:27 UTC (rev 739019)
@@ -0,0 +1,42 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pydantic
+pkgname=python-$_pkgname
+pkgver=1.7.2
+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' 'python-pytest-mock')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('59398b2f3e842180be7f9fca8156b1a983c9668df30ea82663a8abc09775950ba69e5ddf20dd8a899a12ee96b2f3a8dc5ff12da543673281620bdef47894c976')
+
+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