# Description: @deprecated decorator to deprecate old python classes, functions or methods
# URL: https://github.com/tantale/deprecated
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-wrapt

name=python3-deprecated
version=1.2.14
release=1
source=(https://github.com/tantale/deprecated/archive/v$version/deprecated-$version.tar.gz)

build() {
  cd deprecated-$version

  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr \
    --root=$PKG \
    --skip-build
}
