# Maintainer: bill-auger <bill-auger@programmer.net>
# Maintainer (AUR): Simon Hanna <simon dot hanna AT serve-me DOT info>


pkgname=('python-atpublic')
pkgver=0.5
pkgrel=1
pkgdesc="python '@public' decorator for populating '__all__'"
arch=(any)
url=https://gitlab.com/warsaw/public
license=('Apache')
options=(!emptydirs)

makedepends=('python-setuptools')

_upstream_name='public'
_release=${_upstream_name}-${pkgver}
source=(https://gitlab.com/warsaw/${_upstream_name}/-/archive/${pkgver}/${_release}.tar.gz)
sha256sums=('56b7878c84c90a6f95c24ddb5a71950a5f6024c4e4f143256bca8b57680bdc9b')


package()
{
  cd "${srcdir}/${_release}"

  python setup.py install --root="${pkgdir}/" --optimize=1
}
