diff options
author | ParadoxSpiral | 2015-06-09 17:06:20 +0000 |
---|---|---|
committer | ParadoxSpiral | 2015-06-09 17:06:20 +0000 |
commit | 214fcaf5f02d86b10334836efbd5ea894cb5ecbb (patch) | |
tree | e6ae2c596b02a042d1032c4757c9260e0df9212f | |
download | aur-214fcaf5f02d86b10334836efbd5ea894cb5ecbb.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..716baf180861 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = python2-pylons + pkgdesc = A lightweight web framework emphasizing flexibility and rapid development. + pkgver = 1.0.1 + pkgrel = 2 + url = http://pylonsproject.com/ + arch = any + license = BSD + makedepends = python2-distribute + depends = python2 + depends = python2-routes>=1.12 + depends = python2-webhelpers>=0.6.4 + depends = python2-beaker>=1.3 + depends = python2-paste>=1.7.2 + depends = python2-paste-deploy>=1.3.3 + depends = python2-paste-script>=1.7.3 + depends = python2-formencode>=1.2.1 + depends = python2-simplejson>=2.0.8 + depends = python2-decorator>=2.3.2 + depends = python2-nose>=0.10.4 + depends = python2-mako>=0.2.4 + depends = python2-webob>=0.9.6.1 + depends = python2-weberror>=0.10.1 + depends = python2-webtest>=1.1 + depends = python2-tempita>=0.2 + replaces = python-pylons + source = http://pypi.python.org/packages/source/P/Pylons/Pylons-1.0.1.tar.gz + md5sums = 6cb880d75fa81213192142b07a6e4915 + +pkgname = python2-pylons + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a9bb05049cdf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +#Maintainer: ParadoxSpiral <skullduggery@riseup.net> +#Contributor: David Campbell <davekong@archlinux.us> +#Contributor: Cilyan Olowen <gaknar@gmail.com> +#Contributor: AXilleas Pipinellis <axilleas archlinux.gr> +pkgname=python2-pylons +pkgver=1.0.1 +pkgrel=2 +pkgdesc='A lightweight web framework emphasizing flexibility and rapid development.' +arch=('any') +url='http://pylonsproject.com/' +license=('BSD') +depends=('python2' 'python2-routes>=1.12' 'python2-webhelpers>=0.6.4' + 'python2-beaker>=1.3' 'python2-paste>=1.7.2' 'python2-paste-deploy>=1.3.3' + 'python2-paste-script>=1.7.3' 'python2-formencode>=1.2.1' + 'python2-simplejson>=2.0.8' 'python2-decorator>=2.3.2' 'python2-nose>=0.10.4' + 'python2-mako>=0.2.4' 'python2-webob>=0.9.6.1' 'python2-weberror>=0.10.1' + 'python2-webtest>=1.1' 'python2-tempita>=0.2') +makedepends=('python2-distribute') +source=(http://pypi.python.org/packages/source/P/Pylons/Pylons-${pkgver}.tar.gz) +replaces=('python-pylons') +md5sums=('6cb880d75fa81213192142b07a6e4915') + +package() { + cd $srcdir/Pylons-${pkgver} + python2 setup.py install --root=$pkgdir/ --optimize=1 + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE + sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ + -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ + $(find $pkgdir -name '*.py') +} |