summaryrefslogtreecommitdiff
path: root/pcr-testing/python-atpublic/PKGBUILD
blob: 4d8e28139efa3cb6c9f62fc788224d9d9b7d9c29 (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
# 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
}