[arch-commits] Commit in uwsgi/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Aug 28 07:28:10 UTC 2014
Date: Thursday, August 28, 2014 @ 09:28:10
Author: svenstaro
Revision: 118005
Fix FS#41227
Modified:
uwsgi/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-28 07:19:20 UTC (rev 118004)
+++ PKGBUILD 2014-08-28 07:28:10 UTC (rev 118005)
@@ -25,7 +25,7 @@
#uwsgi-plugin-erlang
#uwsgi-plugin-admin
pkgver=2.0.6
-pkgrel=2
+pkgrel=3
arch=(i686 x86_64)
url="http://projects.unbit.it/$pkgbase"
license=(GPL2)
@@ -135,6 +135,9 @@
install -Dm755 greenlet_plugin.so $pkgdir/usr/lib/uwsgi/greenlet_plugin.so
install -Dm755 gevent_plugin.so $pkgdir/usr/lib/uwsgi/gevent_plugin.so
ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-}
+ install -Dm644 uwsgidecorators.py $pkgdir/usr/lib/python2.7/site-packages/uwsgidecorators.py
+ python2 -m compileall $pkgdir/usr/lib/python2.7/site-packages/
+ python2 -O -m compileall $pkgdir/usr/lib/python2.7/site-packages/
}
package_uwsgi-plugin-python(){
@@ -144,6 +147,9 @@
cd $srcdir/$pkgbase-$pkgver
install -Dm755 $srcdir/$pkgbase-$pkgver/python_plugin.so $pkgdir/usr/lib/uwsgi/python_plugin.so
ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-}
+ install -Dm644 uwsgidecorators.py $pkgdir/usr/lib/python3.4/site-packages/uwsgidecorators.py
+ python -m compileall $pkgdir/usr/lib/python3.4/site-packages/
+ python -O -m compileall $pkgdir/usr/lib/python3.4/site-packages/
}
package_uwsgi-plugin-pypy(){
@@ -153,6 +159,9 @@
cd $srcdir/$pkgbase-$pkgver
install -Dm755 $srcdir/$pkgbase-$pkgver/pypy_plugin.so $pkgdir/usr/lib/uwsgi/pypy_plugin.so
ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-}
+ install -Dm644 uwsgidecorators.py $pkgdir/opt/pypy/site-packages/uwsgidecorators.py
+ pypy -m compileall $pkgdir/opt/pypy/site-packages/
+ pypy -O -m compileall $pkgdir/opt/pypy/site-packages/
}
package_uwsgi-plugin-nagios(){
More information about the arch-commits
mailing list