[arch-commits] Commit in python-socketio/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Aug 9 09:08:12 UTC 2018


    Date: Thursday, August 9, 2018 @ 09:08:12
  Author: anthraxx
Revision: 370602

upgpkg: python-socketio 2.0.0-1

Modified:
  python-socketio/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-09 08:59:09 UTC (rev 370601)
+++ PKGBUILD	2018-08-09 09:08:12 UTC (rev 370602)
@@ -2,20 +2,20 @@
 
 pkgbase=python-socketio
 pkgname=('python-socketio' 'python2-socketio')
-pkgver=1.9.0
-pkgrel=2
+pkgver=2.0.0
+pkgrel=1
 pkgdesc='Python implementation of the Socket.IO realtime server'
 url='https://github.com/miguelgrinberg/python-socketio'
 arch=('any')
 license=('MIT')
-makedepends=('python-setuptools' 'python-sphinx' 'python-six' 'python-engineio'
-             'python2-setuptools' 'python2-sphinx' 'python2-six' 'python2-engineio')
+makedepends=('python-setuptools' 'python-sphinx' 'python-six' 'python-engineio' 'python-tornado'
+             'python2-setuptools' 'python2-sphinx' 'python2-six' 'python2-engineio' 'python2-tornado')
 checkdepends=('python-pytest' 'python-mock'
               'python2-pytest' 'python2-mock')
 options=('!makeflags')
 source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-socketio/archive/v${pkgver}.tar.gz)
-sha256sums=('807be9d8d133d1b4693cbcf35b6fc240058333bb849cc85f6559a17e401eb70f')
-sha512sums=('9d93044b2a84146df99e148c0dae49359a8eeb36c6e6733132d9700c6c39c617a2602edef3420263ee6447e1f507444152d62bb7ca3c758693defe8b0fc8925e')
+sha256sums=('e1bd0d7c697744db4be3d98010b6b169bdeff551dedf419c3f40f432cfa8a88a')
+sha512sums=('685061ef1cebc8d7f16bbd128ce7b274a89e0527418a5a54541fcc4e7aec660a5dca681e694ae373b86eadb376892ec2c57547505243d463e7e69bd9aeb7d7d3')
 
 prepare() {
   cp -ra ${pkgbase}-${pkgver}{,-py2}
@@ -47,6 +47,7 @@
 
 package_python-socketio() {
   depends=('python' 'python-six' 'python-engineio')
+  optdepends=('python-tornado: tornado asyncio webserver')
   cd ${pkgbase}-${pkgver}
   python setup.py install -O1 --root="${pkgdir}" --skip-build
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
@@ -57,6 +58,7 @@
 
 package_python2-socketio() {
   depends=('python2' 'python2-six' 'python2-engineio')
+  optdepends=('python2-tornado: tornado asyncio webserver')
   cd ${pkgbase}-${pkgver}-py2
   python2 setup.py install -O1 --root="${pkgdir}" --skip-build
   install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"



More information about the arch-commits mailing list