[arch-commits] Commit in python-engineio/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Aug 9 08:22:29 UTC 2018


    Date: Thursday, August 9, 2018 @ 08:22:28
  Author: anthraxx
Revision: 370498

archrelease: copy trunk to community-any

Added:
  python-engineio/repos/community-any/PKGBUILD
    (from rev 370497, python-engineio/trunk/PKGBUILD)
Deleted:
  python-engineio/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  148 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 75 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-09 08:22:21 UTC (rev 370497)
+++ PKGBUILD	2018-08-09 08:22:28 UTC (rev 370498)
@@ -1,73 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-engineio
-pkgname=('python-engineio' 'python2-engineio')
-pkgver=2.1.1
-pkgrel=2
-pkgdesc='Python implementation of the Engine.IO realtime server'
-url='https://github.com/miguelgrinberg/python-engineio'
-arch=('any')
-license=('MIT')
-makedepends=('python-setuptools' 'python-sphinx' 'python-six'
-             'python2-setuptools' 'python2-sphinx' 'python2-six')
-checkdepends=('python-mock' 'python-eventlet' 'python-pytest' 'python-pytest-runner' 'python-aiohttp'
-              'python2-mock' 'python2-eventlet' 'python2-pytest' 'python2-pytest-runner')
-options=('!makeflags')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}.tar.gz)
-sha256sums=('053e281005f8d649eb31d514dc2fd5b04330c3ee68e84189f32d0f00b290387c')
-sha512sums=('14f081d351424ed1e562b1bb4b350bafe93946dddae6a1a6153292711a1fb93a73929b3b2902c27e5a278d632a34e519937afe6be4ab7512280f5861586abb4a')
-
-prepare() {
-  cp -ra ${pkgbase}-${pkgver}{,-py2}
-}
-
-build() {
-  (cd ${pkgbase}-${pkgver}
-    python setup.py build
-    make -C docs man text SPHINXBUILD=sphinx-build
-  )
-  (cd ${pkgbase}-${pkgver}-py2
-    python2 setup.py build
-    make -C docs man text SPHINXBUILD=sphinx-build2
-  )
-}
-
-check() {
-  (cd ${pkgbase}-${pkgver}
-    python setup.py test
-  )
-  (cd ${pkgbase}-${pkgver}-py2
-    python2 setup.py test
-  )
-}
-
-package_python-engineio() {
-  depends=('python-six')
-  optdepends=(
-    'python-eventlet: eventlet support'
-    'python-aiohttp: aiohttp support'
-  )
-
-  cd ${pkgbase}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
-  install -Dm 644 docs/_build/man/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-package_python2-engineio() {
-  depends=('python2-six')
-  optdepends=(
-    'python2-eventlet: eventlet support'
-  )
-
-  cd ${pkgbase}-${pkgver}-py2
-  python2 setup.py install -O1 --root="${pkgdir}" --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
-  install -Dm 644 docs/_build/man/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-engineio/repos/community-any/PKGBUILD (from rev 370497, python-engineio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-09 08:22:28 UTC (rev 370498)
@@ -0,0 +1,75 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-engineio
+pkgname=('python-engineio' 'python2-engineio')
+pkgver=2.2.0
+pkgrel=1
+pkgdesc='Python implementation of the Engine.IO realtime server'
+url='https://github.com/miguelgrinberg/python-engineio'
+arch=('any')
+license=('MIT')
+makedepends=('python-setuptools' 'python-sphinx' 'python-six'
+             'python2-setuptools' 'python2-sphinx' 'python2-six')
+checkdepends=('python-mock' 'python-eventlet' 'python-pytest' 'python-pytest-runner' 'python-aiohttp' 'python-tornado'
+              'python2-mock' 'python2-eventlet' 'python2-pytest' 'python2-pytest-runner' 'python2-tornado')
+options=('!makeflags')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}.tar.gz)
+sha256sums=('965a0d168f5ff42ae0fda4f7cbec4adcc323efffea245d97995e34f45e4dfeaa')
+sha512sums=('408172e522a734fbd921b303832676e9d970c8d121301a13d97c39268c1f20a72e43b610f7e3574895faf4b8c592e4db00def2ba14327d391d821c7136a999ce')
+
+prepare() {
+  cp -ra ${pkgbase}-${pkgver}{,-py2}
+}
+
+build() {
+  (cd ${pkgbase}-${pkgver}
+    python setup.py build
+    make -C docs man text SPHINXBUILD=sphinx-build
+  )
+  (cd ${pkgbase}-${pkgver}-py2
+    python2 setup.py build
+    make -C docs man text SPHINXBUILD=sphinx-build2
+  )
+}
+
+check() {
+  (cd ${pkgbase}-${pkgver}
+    python setup.py test
+  )
+  (cd ${pkgbase}-${pkgver}-py2
+    python2 setup.py test
+  )
+}
+
+package_python-engineio() {
+  depends=('python-six')
+  optdepends=(
+    'python-eventlet: eventlet support'
+    'python-aiohttp: aiohttp support'
+    'python-tornado: tornado asyncio support'
+  )
+
+  cd ${pkgbase}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
+  install -Dm 644 docs/_build/man/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+package_python2-engineio() {
+  depends=('python2-six')
+  optdepends=(
+    'python2-eventlet: eventlet support'
+    'python-tornado: tornado asyncio support'
+  )
+
+  cd ${pkgbase}-${pkgver}-py2
+  python2 setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
+  install -Dm 644 docs/_build/man/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list