blob: 927010f2133870a4252760c67323f7d6fe934240 (
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
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-logbook
pkgver=0.12.5
pkgrel=0
pkgdesc="A logging replacement for Python"
url="https://pypi.python.org/pypi/Logbook"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev python2 py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/L/Logbook/Logbook-$pkgver.tar.gz"
_builddir="$srcdir"/Logbook-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python2 setup.py build || return 1
}
package() {
cd "$_builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="1bf64289b9b4cada5a61817c63dd9e82 Logbook-0.12.5.tar.gz"
sha256sums="3567eca498179609433f9dba0dea3d07a74d79822c1e086340dfcd33eb8a8d7e Logbook-0.12.5.tar.gz"
sha512sums="79139e09e1ee6534236af53f59fb09e45acdf777070076d51e23490f6832422295b6ee1106d467a26a22c0c470921cca9f1830b69b345ff3e0cea95564ddf6f5 Logbook-0.12.5.tar.gz"
|