summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2033ef90d57551d212e09cdbf7ec84823bcbeccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
pkgname=('python-drf-nested-routers')
_name=${pkgname#python-}
pkgver=0.91
pkgrel=1
pkgdesc="Nested resources for the Django Rest Framework"
arch=(any)
url="https://pypi.org/project/drf-nested-routers/"
license=('Apache')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('46e5c3abc15c782cafafd7d75028e8f9121bbc6228e3599bbb48a3daa4585034')
makedepends=('python-setuptools')

build() {
  cd ${srcdir}/$_name-${pkgver}
  python setup.py build
}

package() {
  cd ${srcdir}/$_name-${pkgver}
  python setup.py install --prefix=/usr --root=${pkgdir}
}