# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=py3-decorator _pkgname=decorator pkgver=5.0.9 pkgrel=0 pkgdesc="Python3 Decorator module" options="!check" # No checks on PYPI, github tarball is outdated (4.3.2) url="https://github.com/micheles/decorator" arch="noarch" license="BSD-2-Clause" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-decorator" # Backwards compatibility provides="py-decorator=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums=" 8b46370bbc9cff5208823af60f31779b0ee02e03c796223ddfeb473f7c36bf7ee7da48c5712eea89ca8a96ef32695ff31c4902a76284caf543cf4937a0bd7aa5 decorator-5.0.9.tar.gz "