mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-25 18:42:12 +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-settings
|
|
_pkgname=pyramid_settings
|
|
pkgver=0.1.2
|
|
pkgrel=0
|
|
pkgdesc="A pyramid plugin that provides a settings module"
|
|
url="http://github.com/niktto/pyramid_settings/"
|
|
arch="noarch"
|
|
license="BSD"
|
|
depends="python2 py-pyramid"
|
|
depends_dev=""
|
|
makedepends="python2-dev py-setuptools"
|
|
install=""
|
|
subpackages=""
|
|
source="https://files.pythonhosted.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"
|
|
python2 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="692bc5ac99929ccdc795d02c42774a09 pyramid_settings-0.1.2.tar.gz"
|
|
sha256sums="02500aaa8158f0dd9d55271df956a8bc1112eaf2325f0c16bf7c05a1fe591896 pyramid_settings-0.1.2.tar.gz"
|
|
sha512sums="9b293d75ebe44f2a8bf01cbbb81e2d697bc9aaaadfa98da3b89571cb7990da26f96e103fc7a67957cc8dd57fee910a44cb9d4a732a9ec15e6dcb4452ef03a384 pyramid_settings-0.1.2.tar.gz"
|