blob: fcb7371ebf4701bb795edb7ad952b157ba890d87 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-docopt
_pkgname=docopt
pkgver=0.6.2
pkgrel=8
pkgdesc="A Python argument parser"
options="!check" # Tests need to be updated to pytest-6.1
url="https://github.com/docopt/docopt"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/docopt/docopt/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces=py-docopt # Backwards compatibility
provides=py-docopt=$pkgver-r$pkgrel # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="228661924329682786b143f414c9df911016963cdc91ae6eba833285144e71744df507321a476b51f779e3ea270af6dc4e50edb8b0ee99674c19acccaab57a03 docopt-0.6.2.tar.gz"
|