aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-docopt/APKBUILD
blob: 71c49842a97b7d17294079d8c98f2b00484c8bc0 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                               
        
                                  
                                                         
                                      



                            
                                                                                          












                                                               
                                                                                                                                                                  
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-docopt
_pkgname=docopt
pkgver=0.6.2
pkgrel=5
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"