blob: 372cfac9638aa655652918e266d0eab1369024b1 (
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
42
43
44
45
46
47
|
# Maintainer: Daringcuteseal <daringcuteseal at gmail dot com>
pkgname=python-commitizen
pkgver=3.27.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'
)
checkdepends=(
'python-pytest-freezegun'
'python-pytest-mock'
'python-pytest-regressions'
'python-pytest'
'python-deprecated'
)
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=('6896d7f1a7cbddefbd5f97584316f08a746c52403f15cb0be29c4bac65bd3723')
_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
}
|