mvpkg: commitizen > python-commitizen 2.20.4-1
* Add provides: cz, git-cz. * Add conflicts: nodejs-commitizen, commitizen-go.
This commit is contained in:
parent
97e350dbc6
commit
5b9f6962b5
1 changed files with 15 additions and 9 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
||||||
# Contributor: Jayson Reis <santosdosreis@gmail.com>
|
# Contributor: Jayson Reis <santosdosreis@gmail.com>
|
||||||
|
|
||||||
pkgname=commitizen
|
_pkgname=commitizen
|
||||||
pkgver=2.20.3
|
pkgname=python-commitizen
|
||||||
|
pkgver=2.20.4
|
||||||
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')
|
||||||
|
@ -24,14 +25,16 @@ depends=(
|
||||||
makedepends=(
|
makedepends=(
|
||||||
'python-install'
|
'python-install'
|
||||||
'python-build'
|
'python-build'
|
||||||
'python-poetry'
|
'python-poetry-core'
|
||||||
)
|
)
|
||||||
|
provides=('cz' 'git-cz')
|
||||||
|
conflicts=('nodejs-commitizen' 'commitizen-go')
|
||||||
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
|
||||||
sha512sums=('e7cb917541f97e658b970d18694e989d2f4960ffc4a979f99dab8bea1e8e717c83bf221384462734782154bd2509d088a96ef1cc984beebaef3b2971b3efb76d')
|
sha512sums=('d649455d67065c0469f7a962e01383c1fce02424931efaf27211eef0ea65ac329e7286014958659b6642b92565320e3addb878c955248c1e1c89a5f611cd7fb6')
|
||||||
b2sums=('3418447960d6832213c694f769ee0cc259e4647cb2bbe0221856af1d9a3dc591a2a8f1d48d599e8ae1acc346807691bf42e3958152165c8fa6da3950dd951a6e')
|
b2sums=('df4550788f4a35043cd862850c9391906c119cd4de0fe6625a86a6edd7b34b343cf515d106fc7e7e21f2c915aeb723cb3cbf7bfecca2073ef6e368c2c0d598f9')
|
||||||
|
|
||||||
prepare () {
|
prepare () {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$_pkgname-$pkgver"
|
||||||
|
|
||||||
# create completions
|
# create completions
|
||||||
mkdir completions
|
mkdir completions
|
||||||
|
@ -40,13 +43,16 @@ prepare () {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$_pkgname-$pkgver"
|
||||||
|
|
||||||
python -m build --wheel --skip-dependency-check --no-isolation
|
python -m build \
|
||||||
|
--wheel \
|
||||||
|
--skip-dependency-check \
|
||||||
|
--no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$_pkgname-$pkgver"
|
||||||
|
|
||||||
python -m install \
|
python -m install \
|
||||||
--optimize=1 \
|
--optimize=1 \
|
Loading…
Reference in a new issue