blob: eed2f1881a20e9170822fb43e450ac6dccbf2425 (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=python-commandlines
pkgver=0.4.1
pkgrel=4
pkgdesc='A command line argument to object parsing library for CLI application development'
arch=(any)
url="https://github.com/chrissimpkins/${pkgname#python-}"
license=(MIT)
depends=(python)
makedepends=(python-{build,installer,wheel}
python-setuptools)
_archive="${pkgname#python-}-$pkgver"
source=("$url/archive/v$pkgver/$_archive.tar.gz")
sha256sums=('716725f8cff484defc297498e23c575b6b2876e4919a9c03c23cbbab7542942a')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|