[arch-commits] Commit in python-tornado/repos (4 files)
Felix Yan
fyan at nymeria.archlinux.org
Tue Jan 14 16:47:01 UTC 2014
Date: Tuesday, January 14, 2014 @ 17:47:00
Author: fyan
Revision: 104038
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
python-tornado/repos/community-testing-i686/
python-tornado/repos/community-testing-i686/PKGBUILD
(from rev 104037, python-tornado/trunk/PKGBUILD)
python-tornado/repos/community-testing-x86_64/
python-tornado/repos/community-testing-x86_64/PKGBUILD
(from rev 104037, python-tornado/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 47 ++++++++++++++++++++++++++++++++++++
2 files changed, 94 insertions(+)
Copied: python-tornado/repos/community-testing-i686/PKGBUILD (from rev 104037, python-tornado/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2014-01-14 16:47:00 UTC (rev 104038)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=('python-tornado' 'python2-tornado')
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='open source version of the scalable, non-blocking web server and tools'
+arch=('i686' 'x86_64')
+url='http://www.tornadoweb.org/'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-backports.ssl_match_hostname')
+source=("https://github.com/facebook/tornado/archive/v${pkgver}.tar.gz")
+
+build() {
+ cd "$srcdir"
+ cp -r tornado-${pkgver} python2-tornado-${pkgver}
+
+ cd tornado-${pkgver}
+
+ python setup.py build
+
+ cd ../python2-tornado-${pkgver}
+
+ # python -> python2 rename
+ find -name '*py' -exec sed -e 's_#!/usr/bin/env python_&2_' -i {} \;
+
+ python2 setup.py build
+}
+
+package_python-tornado() {
+ depends=('python')
+
+ cd "$srcdir/tornado-${pkgver}"
+
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-tornado() {
+ depends=('python2' 'python2-backports.ssl_match_hostname')
+
+ cd "$srcdir/python2-tornado-${pkgver}"
+
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+sha512sums=('1703178be34060a6c36e9e0aa742b87ad905dfb0f565e43a1158edfe5c7800fe35aff9168b60aabd3b831b339af6ef95aaa144a9fb167c5d93f548eb59fc2557')
Copied: python-tornado/repos/community-testing-x86_64/PKGBUILD (from rev 104037, python-tornado/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2014-01-14 16:47:00 UTC (rev 104038)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+
+pkgname=('python-tornado' 'python2-tornado')
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='open source version of the scalable, non-blocking web server and tools'
+arch=('i686' 'x86_64')
+url='http://www.tornadoweb.org/'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python2-backports.ssl_match_hostname')
+source=("https://github.com/facebook/tornado/archive/v${pkgver}.tar.gz")
+
+build() {
+ cd "$srcdir"
+ cp -r tornado-${pkgver} python2-tornado-${pkgver}
+
+ cd tornado-${pkgver}
+
+ python setup.py build
+
+ cd ../python2-tornado-${pkgver}
+
+ # python -> python2 rename
+ find -name '*py' -exec sed -e 's_#!/usr/bin/env python_&2_' -i {} \;
+
+ python2 setup.py build
+}
+
+package_python-tornado() {
+ depends=('python')
+
+ cd "$srcdir/tornado-${pkgver}"
+
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-tornado() {
+ depends=('python2' 'python2-backports.ssl_match_hostname')
+
+ cd "$srcdir/python2-tornado-${pkgver}"
+
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+sha512sums=('1703178be34060a6c36e9e0aa742b87ad905dfb0f565e43a1158edfe5c7800fe35aff9168b60aabd3b831b339af6ef95aaa144a9fb167c5d93f548eb59fc2557')
More information about the arch-commits
mailing list