[arch-commits] Commit in python-eventlet/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Aug 9 08:44:24 UTC 2018
Date: Thursday, August 9, 2018 @ 08:44:24
Author: anthraxx
Revision: 370597
archrelease: copy trunk to community-any
Added:
python-eventlet/repos/community-any/PKGBUILD
(from rev 370596, python-eventlet/trunk/PKGBUILD)
Deleted:
python-eventlet/repos/community-any/PKGBUILD
----------+
PKGBUILD | 161 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 81 insertions(+), 80 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-09 08:44:19 UTC (rev 370596)
+++ PKGBUILD 2018-08-09 08:44:24 UTC (rev 370597)
@@ -1,80 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-eventlet
-pkgname=('python-eventlet' 'python2-eventlet')
-_pyname=eventlet
-pkgver=0.23.0
-pkgrel=2
-pkgdesc='Highly concurrent networking library'
-url='http://eventlet.net'
-arch=('any')
-license=('MIT')
-makedepends=('python-greenlet' 'python-setuptools' 'python-sphinx' 'python2-greenlet' 'python2-setuptools' 'python2-sphinx')
-checkdepends=('python-psycopg2' 'python-nose' 'python-pyopenssl' 'python-httplib2' 'python-mock' 'python-pyzmq' 'python-dnspython'
- 'python2-psycopg2' 'python2-nose' 'python2-pyopenssl' 'python2-httplib2' 'python2-mock' 'python2-pyzmq' 'python2-dnspython' 'python2-subprocess32')
-options=('!makeflags')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/eventlet/eventlet/archive/v${pkgver}.tar.gz
- https://github.com/eventlet/eventlet/pull/506/commits/0d4e7bcb90800d6700b2c81c41c9770ee5f94358.patch)
-sha512sums=('7bd3e1afb0faf44b3d1cd480a53ded06220ad95291d3a749b1030d0249e36aa3893216a1c75e956c7907b506b33917b170f644450fa405e6d6bbee7944db7193'
- '90381eaad4d7845701c6741ee916e858ef506c3dae5e645eef3dc9ec23b214d5b60f6c8ce123595d97378b1fb8293beb196dc1c1a2f4e3df3bb05308e9128999')
-
-prepare() {
- patch -p1 -d ${_pyname}-${pkgver} < 0d4e7bcb90800d6700b2c81c41c9770ee5f94358.patch
- sed -r 's|(check_idle_cpu_usage\(.*,) .*\)|\1 0.8\)|g' -i ${_pyname}-${pkgver}/tests/*_test.py
- cp -a ${_pyname}-${pkgver}{,-py2}
- sed 's|python|python2|' -i ${_pyname}-${pkgver}-py2/examples/*
-}
-
-build() {
- (cd ${_pyname}-${pkgver}
- python setup.py build
- make -C doc text
- )
- (cd ${_pyname}-${pkgver}-py2
- python2 setup.py build
- make -C doc text
- )
-}
-
-check() {
- (cd ${_pyname}-${pkgver}
- nosetests -sv tests
- )
- (cd ${_pyname}-${pkgver}-py2
- nosetests2 -sv tests
- )
-}
-
-package_python-eventlet() {
- depends=('python' 'python-greenlet')
- optdepends=('python-psycopg2: non-blocking PostgreSQL support'
- 'python-pyopenssl: non-blocking SSL support'
- 'python-httplib2: non-blocking HTTP support'
- 'python-pyzmq: non-blocking ZeroMQ support'
- 'python-dnspython: non-blocking DNS support')
-
- cd ${_pyname}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" -O1
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -d "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r doc/_build/text "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-package_python2-eventlet() {
- depends=('python2' 'python2-greenlet' 'python2-subprocess32')
- optdepends=('python2-psycopg2: non-blocking PostgreSQL support'
- 'python2-pyopenssl: non-blocking SSL support'
- 'python2-httplib2: non-blocking HTTP support'
- 'python2-pyzmq: non-blocking ZeroMQ support'
- 'python2-dnspython: non-blocking DNS support')
-
- cd ${_pyname}-${pkgver}-py2
- python2 setup.py install --prefix=/usr --root="${pkgdir}" -O1
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -d "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r doc/_build/text "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-eventlet/repos/community-any/PKGBUILD (from rev 370596, python-eventlet/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-09 08:44:24 UTC (rev 370597)
@@ -0,0 +1,81 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-eventlet
+pkgname=('python-eventlet' 'python2-eventlet')
+_pyname=eventlet
+pkgver=0.24.1
+pkgrel=1
+pkgdesc='Highly concurrent networking library'
+url='http://eventlet.net'
+arch=('any')
+license=('MIT')
+makedepends=('python-greenlet' 'python-setuptools' 'python-sphinx' 'python-monotonic'
+ 'python2-greenlet' 'python2-setuptools' 'python2-sphinx' 'python2-monotonic')
+checkdepends=('python-psycopg2' 'python-nose' 'python-pyopenssl' 'python-httplib2' 'python-mock' 'python-pyzmq' 'python-dnspython'
+ 'python2-psycopg2' 'python2-nose' 'python2-pyopenssl' 'python2-httplib2' 'python2-mock' 'python2-pyzmq' 'python2-dnspython' 'python2-subprocess32')
+options=('!makeflags')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/eventlet/eventlet/archive/v${pkgver}.tar.gz
+ ${pkgbase}-python37-fix.patch::https://github.com/eventlet/eventlet/pull/506.patch)
+sha512sums=('f5df2b64d025de136bb6c4615633d3865c460b4916a4070d65113198da42d692cea9f689a57b79a4b5539dc545cdab7d52023cfae7b3d9140c11909b4784a205'
+ '7f13bfc830eee11275c70e538bd55dc1dfe71482b82e44908beef421182e9046873f6eb23722b3e76455db833cc3175d6ab486e89ac6ad434f28ca30ee299636')
+
+prepare() {
+ patch -d ${_pyname}-${pkgver} -Np1 < ${pkgbase}-python37-fix.patch
+ sed -r 's|(check_idle_cpu_usage\(.*,) .*\)|\1 0.8\)|g' -i ${_pyname}-${pkgver}/tests/*_test.py
+ cp -a ${_pyname}-${pkgver}{,-py2}
+ sed 's|python|python2|' -i ${_pyname}-${pkgver}-py2/examples/*
+}
+
+build() {
+ (cd ${_pyname}-${pkgver}
+ python setup.py build
+ make -C doc text
+ )
+ (cd ${_pyname}-${pkgver}-py2
+ python2 setup.py build
+ make -C doc text
+ )
+}
+
+check() {
+ (cd ${_pyname}-${pkgver}
+ nosetests -sv tests
+ )
+ (cd ${_pyname}-${pkgver}-py2
+ nosetests2 -sv tests
+ )
+}
+
+package_python-eventlet() {
+ depends=('python' 'python-greenlet' 'python-monotonic')
+ optdepends=('python-psycopg2: non-blocking PostgreSQL support'
+ 'python-pyopenssl: non-blocking SSL support'
+ 'python-httplib2: non-blocking HTTP support'
+ 'python-pyzmq: non-blocking ZeroMQ support'
+ 'python-dnspython: non-blocking DNS support')
+
+ cd ${_pyname}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" -O1
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -d "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r doc/_build/text "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_python2-eventlet() {
+ depends=('python2' 'python2-greenlet' 'python2-monotonic' 'python2-subprocess32')
+ optdepends=('python2-psycopg2: non-blocking PostgreSQL support'
+ 'python2-pyopenssl: non-blocking SSL support'
+ 'python2-httplib2: non-blocking HTTP support'
+ 'python2-pyzmq: non-blocking ZeroMQ support'
+ 'python2-dnspython: non-blocking DNS support')
+
+ cd ${_pyname}-${pkgver}-py2
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" -O1
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -d "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r doc/_build/text "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r examples "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list