aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-bottle-renderer
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-30 17:37:51 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-14 08:19:32 -0300
commitce614fcc8868d8dc46794285ad89c132cbda614f (patch)
tree66e9af5589e648b4bd45b5b5de20cf355a43128d /testing/py3-bottle-renderer
parent2bba249ad02d7332d150c08a18011690145b13a8 (diff)
downloadaports-ce614fcc8868d8dc46794285ad89c132cbda614f.tar.bz2
aports-ce614fcc8868d8dc46794285ad89c132cbda614f.tar.xz
testing/py3-bottle-renderer: rename from py-bottle-renderer
Diffstat (limited to 'testing/py3-bottle-renderer')
-rw-r--r--testing/py3-bottle-renderer/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py3-bottle-renderer/APKBUILD b/testing/py3-bottle-renderer/APKBUILD
new file mode 100644
index 0000000000..b88d70e55c
--- /dev/null
+++ b/testing/py3-bottle-renderer/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-bottle-renderer
+_pkgname=bottle-renderer
+pkgver=0.1.1
+pkgrel=0
+pkgdesc="Bottle renderer plugin"
+url="https://pypi.python.org/pypi/bottle-renderer"
+arch="noarch"
+license="MIT"
+depends="python2 py-bottle"
+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="d188c368d4b0544808cb7d625522ad15 bottle-renderer-0.1.1.tar.gz"
+sha256sums="fbe2809750f33e254169f7a55824a72e2c7bb367c1cb624ed9d56bc8ebc196cc bottle-renderer-0.1.1.tar.gz"
+sha512sums="1bbf5750de425afa201b525d4207d542512288fa2506053b460db9d6ffd2d5040cefe29ed663abb85e337b66025cd594d401c25181bdcdfbbe4c0cbd709f8311 bottle-renderer-0.1.1.tar.gz"