summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c6f612d5ae7447aa321aeed94eb55daf40ce854 (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
pkgname=python-logging-helper
pkgver=1.8.6
pkgrel=1
pkgdesc="Provides some enhancements to built-in logging module"
url="https://pypi.python.org/pypi/logging-helper"
arch=(any)
license=('MIT')
makedepends=('python-setuptools')
depends=('python-better-exceptions' 'python-future')
source=("https://pypi.io/packages/source/l/logging_helper/logging_helper-${pkgver}.tar.gz")
sha256sums=('270b7b57f163528709a162d48388518d8a109d33b014fd44893a493841549942')

prepare() {
  cd "${srcdir}"/logging_helper-$pkgver
}

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

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