mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 01:02:26 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-pyramid-layout
|
|
_pkgname=pyramid_layout
|
|
pkgver=0.9
|
|
pkgrel=0
|
|
pkgdesc="A pyramid plugin that provides UI layout"
|
|
url="https://pypi.python.org/pypi/pyramid_layout"
|
|
arch="noarch"
|
|
license="BSD"
|
|
depends="python py-pyramid"
|
|
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="36c3edf642ee50af778c332c80c3c7ec pyramid_layout-0.9.tar.gz"
|
|
sha256sums="eea00afc5a700743c6ab1f898f286b57e521e1164ce6dec3517900ff32858d67 pyramid_layout-0.9.tar.gz"
|
|
sha512sums="02221c0f281633793e3e87662643d66dce4662ac6357a32ad6043e7e7477731494e9830409aa44b0d3995525a1f195e241435bea9afcc2f49328f41c3c765853 pyramid_layout-0.9.tar.gz"
|