blob: 408b9ec1e4468834e949ed3ab2eed87d386e6b73 (
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: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-deprecated
pkgver=1.2.8
pkgrel=0
pkgdesc="@deprecated decorator to deprecate old python classes, functions or methods."
url="https://github.com/tantale/deprecated"
arch="noarch"
license="MIT"
depends="python3 py3-wrapt<2"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov"
source="$pkgname-$pkgver.tar.gz::https://github.com/tantale/deprecated/archive/v$pkgver.tar.gz"
builddir="$srcdir/deprecated-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="0a80775b3c9c52137ab22356ee1200d6b6faa7e202b85cd45fe99d58749569f4b6ebc53da0770c0bae1d59cc50dee7dd321b2e83bca85070a2d465080c399b03 py3-deprecated-1.2.8.tar.gz"
|