diff options
author | Dimitris Kiziridis | 2020-06-25 23:00:43 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-06-25 23:00:43 +0300 |
commit | 0a494cd840a3d273ce86ff06e90c3246512ae484 (patch) | |
tree | ed689fee6550c86a30bf66c30c4ad69286ae0a63 | |
parent | 4400e4104afd460545f2f3a05d56489df5c17ae3 (diff) | |
download | aur-0a494cd840a3d273ce86ff06e90c3246512ae484.tar.gz |
bugfix
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 6 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = python-pydantic-git pkgdesc = Data parsing and validation using Python type hints - pkgver = 1.5.1.r13.g5067508e + pkgver = 1.5.1.r41.g70d531ff pkgrel = 1 url = https://pydantic-docs.helpmanual.io arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Dimitris Kiziridis <ragouel at outlook dot com> pkgname=python-pydantic-git -pkgver=1.5.1.r13.g5067508e +pkgver=1.5.1.r41.g70d531ff pkgrel=1 pkgdesc='Data parsing and validation using Python type hints' arch=('x86_64') @@ -13,21 +13,21 @@ makedepends=('cython' 'git') optdepends=('python-ujson: Faster JSON parsing in pure Python' 'python-email-validator: Enable email validation') checkdepends=('python-pytest-cov' 'mypy') -source=("python-pydantic::git+https://github.com/samuelcolvin/pydantic") +source=("${pkgname%-git}::git+https://github.com/samuelcolvin/pydantic") sha256sums=('SKIP') pkgver() { - cd pydantic + cd "${pkgname%-git}" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd pydantic + cd "${pkgname%-git}" python setup.py build } package() { - cd pydantic + cd "${pkgname%-git}" python setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
\ No newline at end of file |