blob: 33dfd72bcc4d4407986691d9522dffba4bab6f59 (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-inflect
pkgver=6.0.0
pkgrel=2
pkgdesc="Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words"
url="https://github.com/jaraco/inflect"
arch="noarch"
license="MIT"
depends="
py3-pydantic
python3
"
makedepends="
py3-build
py3-installer
py3-setuptools
py3-setuptools_scm
py3-wheel
"
checkdepends="
py3-pytest
py3-pytest-black
py3-pytest-cov
py3-pytest-flake8
"
source="https://pypi.python.org/packages/source/i/inflect/inflect-$pkgver.tar.gz"
builddir="$srcdir/inflect-$pkgver"
build() {
python3 -m build --no-isolation --wheel
}
check() {
python3 -m installer -d testenv dist/*.whl
pytest
}
package() {
python3 -m installer -d "$pkgdir" dist/*.whl
}
sha512sums="
8cd38dc2e59bba5b47dfbf0f7626fce43bc4ecafa22f4555e48d9827b4f7f235c282477e9a008f172cc08eefcb5f44e2133de2c28e04ddb29c9392a5486b2719 inflect-6.0.0.tar.gz
"
|