From 7ce291d70af610c404c734111569a6e1660fe39c Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 30 May 2019 17:45:22 -0300 Subject: testing/py3-bottle-session: rename from py-bottle-session --- testing/py3-bottle-session/APKBUILD | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/py3-bottle-session/APKBUILD (limited to 'testing/py3-bottle-session') diff --git a/testing/py3-bottle-session/APKBUILD b/testing/py3-bottle-session/APKBUILD new file mode 100644 index 0000000000..a8b96ea8e5 --- /dev/null +++ b/testing/py3-bottle-session/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=py-bottle-session +_pkgname=bottle-session +pkgver=0.4 +pkgrel=0 +pkgdesc="Bottle session plugin" +url="https://bitbucket.org/devries/bottle-session" +arch="noarch" +license="Artistic" +depends="python2 py-bottle py-redis" +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="21e876d4c0573f94cda51b68de512560 bottle-session-0.4.tar.gz" +sha256sums="c62fb9348e3cdc3251ece83a0373c159859d435032afa68aa39fefd8f7ba89e1 bottle-session-0.4.tar.gz" +sha512sums="1f052c1fbca1dc3ab0bb1352ef9c83a1cfcf4131d356543ce73226408335edc31780e4e486fdeb0bf1c0a2bf649efaa64267d42af0aa2ddb454ac2b01a48f53e bottle-session-0.4.tar.gz" -- cgit v1.2.3