mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-30 13:51:31 +01:00
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
# 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 python py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="http://pypi.python.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"
|
|
python setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python 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"
|