upgpkg: commitizen 2.20.1-1
* New upstream release. * Switch from python-pip to python-install.
This commit is contained in:
parent
1db010ad2e
commit
dee1dbe8c5
1 changed files with 8 additions and 11 deletions
|
@ -2,8 +2,8 @@
|
||||||
# Contributor: Jayson Reis <santosdosreis@gmail.com>
|
# Contributor: Jayson Reis <santosdosreis@gmail.com>
|
||||||
|
|
||||||
pkgname=commitizen
|
pkgname=commitizen
|
||||||
pkgver=2.20.0
|
pkgver=2.20.1
|
||||||
pkgrel=2
|
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')
|
||||||
url="https://github.com/commitizen-tools/commitizen"
|
url="https://github.com/commitizen-tools/commitizen"
|
||||||
|
@ -22,13 +22,13 @@ depends=(
|
||||||
'python-prompt_toolkit'
|
'python-prompt_toolkit'
|
||||||
)
|
)
|
||||||
makedepends=(
|
makedepends=(
|
||||||
'python-pip'
|
'python-install'
|
||||||
'python-build'
|
'python-build'
|
||||||
'python-poetry'
|
'python-poetry'
|
||||||
)
|
)
|
||||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||||
sha512sums=('e32d9a3dc077631dfc7ab323138e328ace55a85fd2d7c8f491dca65c74553fb5567abcf7205de8bd2265e2894658e9bae1ca6c345b5ea72ab394156d43052574')
|
sha512sums=('def54ac6f1f36d05c211cda21b6a5e00788ae5d186f0f92e62a4dd5c82ed9c29a44183d863b8228b7b199274c9b8ad0459ef510627e962b12246e5124dc0c67f')
|
||||||
b2sums=('ad135d23ffb2b4e84eaadf27923cbf2fb50cff36ce80540d7a7ec96789fe201dc2d06f71895a094ae8e9282b208456dce55d95f73afffb6e617a5a3b3e630455')
|
b2sums=('0612face428eed02423e37f457b2249ab8e8b9c07fd20f9b2ac47176bf2f7f4e236d05e1cc9455b23a39ae6db579bc6ecd8e536c0335423cb1b82bb5e31c35e4')
|
||||||
|
|
||||||
prepare () {
|
prepare () {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
@ -48,12 +48,9 @@ build() {
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
||||||
PIP_CONFIG_FILE=/dev/null pip \
|
python -m install \
|
||||||
install \
|
--optimize=1 \
|
||||||
--isolated \
|
--destdir="$pkgdir" \
|
||||||
--root="$pkgdir" \
|
|
||||||
--ignore-installed \
|
|
||||||
--no-deps \
|
|
||||||
dist/*.whl
|
dist/*.whl
|
||||||
|
|
||||||
# license
|
# license
|
||||||
|
|
Loading…
Reference in a new issue