Skip to content
Snippets Groups Projects
Commit 72df5ab6 authored by Patrycja Rosa's avatar Patrycja Rosa :cat: Committed by Francesco Colista
Browse files

community/py3-decorator: run tests

switch to github tarballs, as they have tests and are actually up to date :)
parent 4aff8925
1 merge request!39304[3.16] main/expat: security upgrade to 2.4.9
......@@ -3,15 +3,14 @@
pkgname=py3-decorator
_pkgname=decorator
pkgver=5.1.1
pkgrel=0
pkgrel=1
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"
source="https://github.com/micheles/decorator/archive/refs/tags/$pkgver/py3-decorator-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-decorator" # Backwards compatibility
......@@ -22,12 +21,13 @@ build() {
}
check() {
python3 setup.py check
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="
584857ffb0c3e52344b473ceb9e28adfd7d789d480a528471f8ab37be055ebe5feb170f41077010e25350e1c311189d45b90773cf12f0043de98ea8ebcde20ab decorator-5.1.1.tar.gz
26bab2c378dc30ae1d688b25ed5c56632df9847e09baa6143a92e2c6376db4125aa044d235c137eebae487b23c756d417ecb2e35be88fa21e05d52a58408bd22 py3-decorator-5.1.1.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment