2012-03-12 21:04:39 +00:00
|
|
|
# Maintainer: Angel Velasquez <angvp@archlinux.org>
|
2011-03-27 16:11:24 +00:00
|
|
|
# Contributor: Vsevolod Balashov <vsevolod@balashov.name>, Kevin Zuber <uKev@knet.eu>
|
2012-03-12 21:04:39 +00:00
|
|
|
pkgname=uwsgi
|
2013-05-05 20:15:22 +00:00
|
|
|
pkgver=1.9.8
|
|
|
|
pkgrel=3
|
2011-03-27 16:11:24 +00:00
|
|
|
pkgdesc="a fast (pure C), self-healing, developer-friendly WSGI server"
|
2012-03-12 21:04:39 +00:00
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="http://projects.unbit.it/$pkgname"
|
2011-02-16 15:12:59 +00:00
|
|
|
license=(GPL2)
|
2012-03-12 21:04:39 +00:00
|
|
|
depends=(python2 libxml2)
|
|
|
|
conflicts=(python-$pkgname)
|
|
|
|
makedepends=(gcc python2)
|
2013-05-05 20:15:22 +00:00
|
|
|
backup=(etc/uwsgi/emperor.ini)
|
2012-03-12 21:04:39 +00:00
|
|
|
source=(http://projects.unbit.it/downloads/$pkgname-$pkgver.tar.gz
|
2012-10-13 22:34:39 +00:00
|
|
|
emperor.ini
|
2013-05-05 20:15:22 +00:00
|
|
|
emperor.uwsgi.service)
|
|
|
|
md5sums=('f9844674deb5da5565620a53c4b230d1'
|
2012-03-12 21:04:39 +00:00
|
|
|
'495afaafac6da631a859ab72c5983c36'
|
2013-05-05 20:15:22 +00:00
|
|
|
'a9788b2f174a7ab38c58c702be4513e8')
|
2011-02-16 15:12:59 +00:00
|
|
|
|
|
|
|
build() {
|
2012-03-12 21:04:39 +00:00
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2012-04-15 17:12:37 +00:00
|
|
|
python2 uwsgiconfig.py --build
|
2012-03-12 21:04:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $srcdir/$pkgname-$pkgver
|
2011-03-27 16:11:24 +00:00
|
|
|
mkdir -p $pkgdir/usr/bin
|
|
|
|
install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi
|
2012-03-12 21:04:39 +00:00
|
|
|
mkdir -p $pkgdir/etc/uwsgi/apps
|
2012-10-13 22:34:39 +00:00
|
|
|
install -Dm644 $srcdir/emperor.ini $pkgdir/etc/uwsgi/emperor.ini
|
2013-05-05 20:15:22 +00:00
|
|
|
install -Dm644 $srcdir/emperor.uwsgi.service $pkgdir/usr/lib/systemd/system/emperor.uwsgi.service
|
2011-02-16 15:12:59 +00:00
|
|
|
}
|