aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-deprecated/APKBUILD
blob: 4873ebea0c1a0b94f3619c23f823a1449894fe9b (plain) (tree)
1
2
3
4
5
                                             
             
                      
             
        





















                                                                                               
                                                                                                                                                                           
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-deprecated
pkgver=1.2.10
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="4bd53b759d04ab15c74a4c147b2c69c73aed6e40555acf0e84cf0c5b7ffe248da234bd1311c5629f9357d50bc08e55e81363340dcfdabe88933525bcc7859a70  py3-deprecated-1.2.10.tar.gz"