upgpkg: commitizen 2.18.0-1

New upstream release.
This commit is contained in:
George Rawlinson 2021-08-14 02:09:50 +00:00
parent 4446de2068
commit 15345634cd
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -1,7 +1,7 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
pkgname=commitizen
pkgver=2.17.13
pkgver=2.18.0
pkgrel=1
pkgdesc="A tool for enforcing descriptive commit messages and version/changelog management"
arch=('any')
@ -9,8 +9,8 @@ url="https://github.com/commitizen-tools/commitizen"
license=('MIT')
depends=(
'python'
'python-questionary' # AUR
'python-decli' # AUR
'python-questionary'
'python-decli'
'python-colorama'
'python-termcolor'
'python-packaging'
@ -28,7 +28,7 @@ optdepends=()
# 'python-pytest-mock'
#)
source=("$pkgname-$pkgver.tar.gz::$url/archive//v$pkgver.tar.gz")
b2sums=('da8414d261ac7a1ad5217f6965e2819a936692e5e282d98a1bebcd7e21da4446b75f677e58408301f12c3903c25f1e3149c7d2958aefe7c672a5b673bb3f8edf')
b2sums=('a68369276f5c3521bfddc1af438feabccd236e84f2e5161ba523b41c12fc2ede79ab0713925633093b53b16637e720649d2169989dbc66254e36e70371e14e0b')
#prepare() {
#cd "$pkgname-$pkgver"
@ -58,6 +58,11 @@ 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
}