mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/py-pyramid-addons: new aport
A pyramid plugin that provides extra functionality https://github.com/bboe/pyramid_addons
This commit is contained in:
parent
50d02e7648
commit
ca88c5dfec
41
testing/py-pyramid-addons/APKBUILD
Normal file
41
testing/py-pyramid-addons/APKBUILD
Normal file
@ -0,0 +1,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"
|
||||
Loading…
x
Reference in New Issue
Block a user