upgpkg: commitizen 2.20.1-1

* New upstream release.
* Switch from python-pip to python-install.
This commit is contained in:
George Rawlinson 2021-12-14 02:10:32 +00:00
parent 1db010ad2e
commit dee1dbe8c5
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -2,8 +2,8 @@
# Contributor: Jayson Reis <santosdosreis@gmail.com>
pkgname=commitizen
pkgver=2.20.0
pkgrel=2
pkgver=2.20.1
pkgrel=1
pkgdesc="A tool for enforcing descriptive commit messages and version/changelog management"
arch=('any')
url="https://github.com/commitizen-tools/commitizen"
@ -22,13 +22,13 @@ depends=(
'python-prompt_toolkit'
)
makedepends=(
'python-pip'
'python-install'
'python-build'
'python-poetry'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('e32d9a3dc077631dfc7ab323138e328ace55a85fd2d7c8f491dca65c74553fb5567abcf7205de8bd2265e2894658e9bae1ca6c345b5ea72ab394156d43052574')
b2sums=('ad135d23ffb2b4e84eaadf27923cbf2fb50cff36ce80540d7a7ec96789fe201dc2d06f71895a094ae8e9282b208456dce55d95f73afffb6e617a5a3b3e630455')
sha512sums=('def54ac6f1f36d05c211cda21b6a5e00788ae5d186f0f92e62a4dd5c82ed9c29a44183d863b8228b7b199274c9b8ad0459ef510627e962b12246e5124dc0c67f')
b2sums=('0612face428eed02423e37f457b2249ab8e8b9c07fd20f9b2ac47176bf2f7f4e236d05e1cc9455b23a39ae6db579bc6ecd8e536c0335423cb1b82bb5e31c35e4')
prepare () {
cd "$pkgname-$pkgver"
@ -48,12 +48,9 @@ build() {
package() {
cd "$pkgname-$pkgver"
PIP_CONFIG_FILE=/dev/null pip \
install \
--isolated \
--root="$pkgdir" \
--ignore-installed \
--no-deps \
python -m install \
--optimize=1 \
--destdir="$pkgdir" \
dist/*.whl
# license