blob: a28ee055b9b892bcb9f9b12a325387f4dde45fa3 (
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
41
|
# Maintainer: Daringcuteseal <daringcuteseal at gmail dot com>
pkgname=python-commitizen
pkgver=4.8.3
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'
'python-poetry-core'
)
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=('ca8c4aa93b21e18f74ab19df42df0b0c2ea8e7a22066f60c9427307d088d9d50')
_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
}
|