mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/py3-deprecated: new aport
https://github.com/tantale/deprecated @deprecated decorator to deprecate old python classes, functions or methods.
This commit is contained in:
parent
270b203fe5
commit
aa8588fa12
28
testing/py3-deprecated/APKBUILD
Normal file
28
testing/py3-deprecated/APKBUILD
Normal file
@ -0,0 +1,28 @@
|
||||
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
||||
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
||||
pkgname=py3-deprecated
|
||||
pkgver=1.2.6
|
||||
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="fcef322c6d9c317081dae365d469d4b26b0d23d8290e7aa0ca18592fb098ae7f535cb5e898cc81e5c734e7e211c847cdd9d5430c1999a4b9612f30934243ee9e py3-deprecated-1.2.6.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user