mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-03 01:42:03 +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.7.0
|
|
pkgrel=0
|
|
pkgdesc="A logging replacement for Python"
|
|
url="https://pypi.python.org/pypi/Logbook"
|
|
arch="noarch"
|
|
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="7916cd0934403f989fbb45bfa0e1ac6b Logbook-0.7.0.tar.gz"
|
|
sha256sums="597066a4e3c93113bfa9ddab0f4ffd95bd1e11b9f25e6bd9f7e83275e9401bf0 Logbook-0.7.0.tar.gz"
|
|
sha512sums="b6ef8b509ce0c06fab4ba888779def4310b64b99ff0282609230f16121f6bcae8eb7424229feca1951c7019a4401727c1d1fc8cffc05b0f802294b89798913f6 Logbook-0.7.0.tar.gz"
|