summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1497b48f14c78cec83d87e8386845196de3bf158 (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: Achilleas Pipinellis <axilleas archlinux.info>

pkgname=python-bugzilla
pkgver=3.2.0
pkgrel=1
pkgdesc="Bugzilla XMLRPC access module"
arch=(any)
url="https://github.com/python-bugzilla/python-bugzilla"
license=(GPL2)
depends=("python" "python-requests" "python-docutils")
makedepends=("python-setuptools")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
sha1sums=('27586ca68dcbcc00910a1d1beb25c144fa3617cc')

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

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  python setup.py install --root="$pkgdir/" --optimize=1
}