mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py-twiggy: new aport
A Pythonic logger http://twiggy.wearpants.org
This commit is contained in:
parent
a468d32f61
commit
d4e9ef6e72
41
testing/py-twiggy/APKBUILD
Normal file
41
testing/py-twiggy/APKBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
||||
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
||||
pkgname=py-twiggy
|
||||
_pkgname=Twiggy
|
||||
pkgver=0.4.5
|
||||
pkgrel=0
|
||||
pkgdesc="A Pythonic logger"
|
||||
url="http://twiggy.wearpants.org"
|
||||
arch="noarch"
|
||||
license="BSD"
|
||||
depends="python"
|
||||
depends_dev=""
|
||||
makedepends="python-dev py-setuptools"
|
||||
install=""
|
||||
subpackages=""
|
||||
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir"/$_pkgname-$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="b0dfbbb7f56342e448af4d22a47a339c Twiggy-0.4.5.tar.gz"
|
||||
sha256sums="4e8f1894e5aee522db6cb245ccbfde3c5d1aa08d31330c7e3af783b0e66eec23 Twiggy-0.4.5.tar.gz"
|
||||
sha512sums="72855bc3a9b25ba95787558b29565b6cf131a5eed5238062ee885d35e0e27a89b802083304a320a6638a96e0c0932c2c43ed4dea31dbc92492037d9ec56f45fd Twiggy-0.4.5.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user