blob: 242e6f52382a8db964800c5006efd9994ec9c923 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Daringcuteseal <daringcuteseal at gmail dot com>
pkgname=python-commitizen
pkgver=3.31.0
pkgrel=1
pkgdesc="Create committing rules for projects, auto bump versions, and auto changelog generation"
arch=('any')
url="https://github.com/commitizen-tools/commitizen"
license=('MIT')
makedepends=(
'python-build'
'python-installer'
'python-wheel'
)
depends=(
'python-argcomplete'
'python-colorama'
'python-decli'
'python-jinja'
'python-packaging'
'python-pyaml'
'python-questionary'
'python-termcolor'
'python-tomlkit'
'python-importlib-metadata'
)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('37f9ebf2f1ee4ed392525c51552c24717a384df1c6616b7adcc69167352d890e')
_pkgname="${pkgname/python-/}"
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|