diff options
-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 |