blob: 23ab293e2287c8ec22b6e26a6fe87d2a97c88836 (
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
40
41
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pyramid-addons
_pkgname=pyramid_addons
pkgver=0.16
pkgrel=0
pkgdesc="A pyramid plugin that provides extra functionality"
url="https://github.com/bboe/pyramid_addons"
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="c13a4174d5bca84c2846ed4e70279695 pyramid_addons-0.16.tar.gz"
sha256sums="b0e8737aa6eda35debcabd909d5ff84ea0ee43314f284f04be924abb3a123c9d pyramid_addons-0.16.tar.gz"
sha512sums="c7de8203093e4859fa7a7f9a8188c92aade7860031e7c453fe5d3b1b2d9435c0cefba984996b9875348fdc340084feb4ec4e599f0b58cc73e6c39929a3be872a pyramid_addons-0.16.tar.gz"
|