blob: 3205ac947babfe4df1f60b32cf99d6714c82c0bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
pkgname=python-argdispatch
pkgver=1.3.1
pkgrel=2
pkgdesc="Drop-in replacement for python package argparse, dispatching subcommand calls to functions, modules or binaries."
depends=('python-setuptools')
url="https://framagit.org/spalax/argdispatch"
license=('GPLv3')
arch=('any')
source=("$pkgname-$pkgver.tar.gz::$url/-/archive/v$pkgver/argdispatch-v$pkgver.tar.gz")
md5sums=('504665cc4c3f8496a2fac41b787d9f03')
build() {
cd "$srcdir/argdispatch-v$pkgver"
python setup.py build
}
package() {
cd "$srcdir/argdispatch-v$pkgver"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|