aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pyramid-settings
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-29 12:18:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:16 +0000
commit0f0d5096307b46d4f9361ada5a4c9b4ac4f2f22b (patch)
tree90b8624e3e72148fa798a2df59f5975a3f8ed60f /testing/py-pyramid-settings
parentca88c5dfeca7e9b349ff855459082e1b4fa40eb8 (diff)
downloadaports-0f0d5096307b46d4f9361ada5a4c9b4ac4f2f22b.tar.bz2
aports-0f0d5096307b46d4f9361ada5a4c9b4ac4f2f22b.tar.xz
testing/py-pyramid-settings: new aport
A pyramid plugin that provides a settings module http://github.com/niktto/pyramid_settings/
Diffstat (limited to 'testing/py-pyramid-settings')
-rw-r--r--testing/py-pyramid-settings/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-pyramid-settings/APKBUILD b/testing/py-pyramid-settings/APKBUILD
new file mode 100644
index 0000000000..efe8117f43
--- /dev/null
+++ b/testing/py-pyramid-settings/APKBUILD
@@ -0,0 +1,41 @@
+# 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="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="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"