Compare commits

...

4 commits

Author SHA1 Message Date
a9551a0158
upgpkg: python-commitizen 2.40.4-2
Fix permissions issue.

...I'm confused now.
2022-01-17 21:26:54 +00:00
5b9f6962b5
mvpkg: commitizen > python-commitizen 2.20.4-1
* Add provides: cz, git-cz.
* Add conflicts: nodejs-commitizen, commitizen-go.
2022-01-17 21:19:53 +00:00
97e350dbc6
submodule: pulldown-cmark 0.9.1-1 2022-01-17 21:01:10 +00:00
5f8686139e
submodule: aurutils 4.2-2 2022-01-17 20:59:16 +00:00
3 changed files with 21 additions and 12 deletions

@ -1 +1 @@
Subproject commit 77647c4c269ab0d78f0bf5556fffbdc0d8bec0e5
Subproject commit 3e2395a1e30a971f08bf1bc387a66b6b2cbba7c6

@ -1 +1 @@
Subproject commit 83d9388e0f286bf0110ba50e0ebc41b907ce03e1
Subproject commit b0365da7a3e707197c186008e90a71564e1568ce

View file

@ -1,9 +1,10 @@
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
# Contributor: Jayson Reis <santosdosreis@gmail.com>
pkgname=commitizen
pkgver=2.20.3
pkgrel=1
_pkgname=commitizen
pkgname=python-commitizen
pkgver=2.20.4
pkgrel=2
pkgdesc="A tool for enforcing descriptive commit messages and version/changelog management"
arch=('any')
url="https://github.com/commitizen-tools/commitizen"
@ -24,14 +25,16 @@ depends=(
makedepends=(
'python-install'
'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")
sha512sums=('e7cb917541f97e658b970d18694e989d2f4960ffc4a979f99dab8bea1e8e717c83bf221384462734782154bd2509d088a96ef1cc984beebaef3b2971b3efb76d')
b2sums=('3418447960d6832213c694f769ee0cc259e4647cb2bbe0221856af1d9a3dc591a2a8f1d48d599e8ae1acc346807691bf42e3958152165c8fa6da3950dd951a6e')
sha512sums=('d649455d67065c0469f7a962e01383c1fce02424931efaf27211eef0ea65ac329e7286014958659b6642b92565320e3addb878c955248c1e1c89a5f611cd7fb6')
b2sums=('df4550788f4a35043cd862850c9391906c119cd4de0fe6625a86a6edd7b34b343cf515d106fc7e7e21f2c915aeb723cb3cbf7bfecca2073ef6e368c2c0d598f9')
prepare () {
cd "$pkgname-$pkgver"
cd "$_pkgname-$pkgver"
# create completions
mkdir completions
@ -40,19 +43,25 @@ prepare () {
}
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() {
cd "$pkgname-$pkgver"
cd "$_pkgname-$pkgver"
python -m install \
--optimize=1 \
--destdir="$pkgdir" \
dist/*.whl
# fix permissions issue
find "$pkgdir/usr/bin" -type f -exec chmod 0755 {} +
# license
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE