upgpkg: commitizen 2.18.0-1
New upstream release.
This commit is contained in:
parent
4446de2068
commit
15345634cd
1 changed files with 10 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
||||||
|
|
||||||
pkgname=commitizen
|
pkgname=commitizen
|
||||||
pkgver=2.17.13
|
pkgver=2.18.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A tool for enforcing descriptive commit messages and version/changelog management"
|
pkgdesc="A tool for enforcing descriptive commit messages and version/changelog management"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -9,8 +9,8 @@ url="https://github.com/commitizen-tools/commitizen"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
depends=(
|
depends=(
|
||||||
'python'
|
'python'
|
||||||
'python-questionary' # AUR
|
'python-questionary'
|
||||||
'python-decli' # AUR
|
'python-decli'
|
||||||
'python-colorama'
|
'python-colorama'
|
||||||
'python-termcolor'
|
'python-termcolor'
|
||||||
'python-packaging'
|
'python-packaging'
|
||||||
|
@ -28,7 +28,7 @@ optdepends=()
|
||||||
# 'python-pytest-mock'
|
# 'python-pytest-mock'
|
||||||
#)
|
#)
|
||||||
source=("$pkgname-$pkgver.tar.gz::$url/archive//v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::$url/archive//v$pkgver.tar.gz")
|
||||||
b2sums=('da8414d261ac7a1ad5217f6965e2819a936692e5e282d98a1bebcd7e21da4446b75f677e58408301f12c3903c25f1e3149c7d2958aefe7c672a5b673bb3f8edf')
|
b2sums=('a68369276f5c3521bfddc1af438feabccd236e84f2e5161ba523b41c12fc2ede79ab0713925633093b53b16637e720649d2169989dbc66254e36e70371e14e0b')
|
||||||
|
|
||||||
#prepare() {
|
#prepare() {
|
||||||
#cd "$pkgname-$pkgver"
|
#cd "$pkgname-$pkgver"
|
||||||
|
@ -58,6 +58,11 @@ package() {
|
||||||
--no-deps \
|
--no-deps \
|
||||||
dist/*.whl
|
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
|
# license
|
||||||
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue