upgpkg: commitizen 2.18.1-1

New upstream release.
This commit is contained in:
George Rawlinson 2021-09-13 04:06:08 +00:00
parent 0aa3584dbd
commit 8034ae6a98
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -1,7 +1,7 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=commitizen
pkgver=2.18.0
pkgver=2.18.1
pkgrel=1
pkgdesc="A tool for enforcing descriptive commit messages and version/changelog management"
arch=('any')
@ -28,7 +28,7 @@ optdepends=()
# 'python-pytest-mock'
#)
source=("$pkgname-$pkgver.tar.gz::$url/archive//v$pkgver.tar.gz")
b2sums=('a68369276f5c3521bfddc1af438feabccd236e84f2e5161ba523b41c12fc2ede79ab0713925633093b53b16637e720649d2169989dbc66254e36e70371e14e0b')
b2sums=('f13add189f94e617242663946ac03fe9f171db67c9e95310814611c55dfcecf1aaed5b68b6b4f22a73e11473e51f7a2a74f5ae0e4f1bff5ae1dac8695f0664a9')
#prepare() {
#cd "$pkgname-$pkgver"
@ -58,11 +58,6 @@ package() {
--no-deps \
dist/*.whl
# delete direct_url.json
# TODO: figure out $pkgdir in bytecode
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
rm -vf "$pkgdir$site_packages/$pkgname-$pkgver.dist-info/direct_url.json"
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}