aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pyramid-layout
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2018-06-12 15:02:23 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2018-06-12 15:05:50 +0000
commitd45c0ae4c362d94ec6ad647ed775b20b7ae159c8 (patch)
tree8ef852cd5323bab83da66ac07161a731dcf9466e /testing/py-pyramid-layout
parentf6df643f0768dfe1f1f72121e6cd0b24171f247b (diff)
downloadaports-d45c0ae4c362d94ec6ad647ed775b20b7ae159c8.tar.bz2
aports-d45c0ae4c362d94ec6ad647ed775b20b7ae159c8.tar.xz
testing/py-pyramid-layout: upgrade to 1.0 and modernize
Diffstat (limited to 'testing/py-pyramid-layout')
-rw-r--r--testing/py-pyramid-layout/APKBUILD29
1 files changed, 8 insertions, 21 deletions
diff --git a/testing/py-pyramid-layout/APKBUILD b/testing/py-pyramid-layout/APKBUILD
index 8ea10962ae..6087effa55 100644
--- a/testing/py-pyramid-layout/APKBUILD
+++ b/testing/py-pyramid-layout/APKBUILD
@@ -2,40 +2,27 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pyramid-layout
_pkgname=pyramid_layout
-pkgver=0.9
+pkgver=1.0
pkgrel=0
pkgdesc="A pyramid plugin that provides UI layout"
url="https://pypi.python.org/pypi/pyramid_layout"
arch="noarch"
license="BSD"
depends="python2 py-pyramid"
-depends_dev=""
makedepends="python2-dev py-setuptools"
-install=""
-subpackages=""
+options="!check"
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
-}
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ cd "$builddir"
+ python2 setup.py install --prefix=/usr --root="$pkgdir"
}
-md5sums="36c3edf642ee50af778c332c80c3c7ec pyramid_layout-0.9.tar.gz"
-sha256sums="eea00afc5a700743c6ab1f898f286b57e521e1164ce6dec3517900ff32858d67 pyramid_layout-0.9.tar.gz"
-sha512sums="02221c0f281633793e3e87662643d66dce4662ac6357a32ad6043e7e7477731494e9830409aa44b0d3995525a1f195e241435bea9afcc2f49328f41c3c765853 pyramid_layout-0.9.tar.gz"
+sha512sums="3cabb35cc0bb7a09f8b5b2ef439e689e3ab484bf73bb2664f4d250624dca601eada7204d894956bbc194a1da1977ded6d8d26c566f56fbde3c219adbfd7379be pyramid_layout-1.0.tar.gz"