[arch-commits] Commit in python-pydantic/repos/community-any (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun May 16 16:14:07 UTC 2021
Date: Sunday, May 16, 2021 @ 16:14:07
Author: ffy00
Revision: 935885
archrelease: copy trunk to community-any
Added:
python-pydantic/repos/community-any/PKGBUILD
(from rev 935884, python-pydantic/trunk/PKGBUILD)
Deleted:
python-pydantic/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-16 16:14:04 UTC (rev 935884)
+++ PKGBUILD 2021-05-16 16:14:07 UTC (rev 935885)
@@ -1,40 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=pydantic
-pkgname=python-$_pkgname
-pkgver=1.8.1
-pkgrel=2
-pkgdesc='Data parsing and validation using Python type hints'
-arch=('any')
-url='https://github.com/samuelcolvin/pydantic'
-license=('MIT')
-depends=('python' 'python-typing-extensions')
-optdepends=('python-email-validator: email')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-pytest-mock')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('dc58ab2e411744e63408c952c92c589acf037e809c60b85e02f277af2c6342c99c4fbfa7a585f14e57256912c0e6471821973bd2f755aac3822eb3a7883fd407')
-
-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 935884, python-pydantic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-16 16:14:07 UTC (rev 935885)
@@ -0,0 +1,40 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pydantic
+pkgname=python-$_pkgname
+pkgver=1.8.2
+pkgrel=1
+pkgdesc='Data parsing and validation using Python type hints'
+arch=('any')
+url='https://github.com/samuelcolvin/pydantic'
+license=('MIT')
+depends=('python' 'python-typing-extensions')
+optdepends=('python-email-validator: email')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-mock')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('0a28c64b97678b932092e546da877a4a6d104fc7d3b7cb043b3494f0b7c6900cdc1ab8a83bdbd1879956a81da1b28ca27578b1a003bdca3e08f0f107e5690e06')
+
+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