# Contributor: Carlo Landmeter # Maintainer: Francesco Colista pkgname=py3-decorator _pkgname=decorator pkgver=4.4.0 pkgrel=2 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="32c35c80581cb7fd0b2461d21c7eb14190294b2ccc9f92749b6bc74449f7d02a26281e9a2817f6f16871a6cddb7b02b8fae8119c22256fe43a6aaa31a7599dd5 decorator-4.4.0.tar.gz"