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

Levente Polyak anthraxx at archlinux.org
Mon Jul 17 16:29:32 UTC 2017


    Date: Monday, July 17, 2017 @ 16:29:31
  Author: anthraxx
Revision: 245502

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-17 16:29:24 UTC (rev 245501)
+++ PKGBUILD	2017-07-17 16:29:31 UTC (rev 245502)
@@ -1,65 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-socketio
-pkgname=('python-socketio' 'python2-socketio')
-pkgver=1.7.5
-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')
-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=('0f3d5a9903501062ad443170629235e9d4c848e723685b3458021d239f3e0eed')
-sha512sums=('39d94c79c7c3a5e583fe581423520c06eb25f0c1e7807dd1f5621f6434015e2d3812d9a7ae309b7ad4daba0da4fd35f6335360b9f7d270fe274e843fefa55563')
-
-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}
-    py.test
-  )
-  (cd ${pkgbase}-${pkgver}-py2
-    py.test2
-  )
-}
-
-package_python-socketio() {
-  depends=('python-six' 'python-engineio')
-
-  cd ${pkgbase}-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
-  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-  install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
-  install -Dm 644 docs/_build/man/socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-package_python2-socketio() {
-  depends=('python2-six' 'python2-engineio')
-
-  cd ${pkgbase}-${pkgver}-py2
-  python2 setup.py install -O1 --root="${pkgdir}" --skip-build
-  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
-  install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
-  install -Dm 644 docs/_build/man/socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-socketio/repos/community-any/PKGBUILD (from rev 245501, python-socketio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-17 16:29:31 UTC (rev 245502)
@@ -0,0 +1,65 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-socketio
+pkgname=('python-socketio' 'python2-socketio')
+pkgver=1.7.6
+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')
+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=('b14c43d5003044bd6d08fe81658a564e84c2625567691c86371b7e4c05e238f9')
+sha512sums=('e33aaaae4417e9cbc27b12fec124d115658285f47fa1bcf610e86e1ec0a581d90a26341bb38eeb016e9d3aceb4165bfa3f3deb6515f6f6197943ff8ea94bd4c1')
+
+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}
+    py.test
+  )
+  (cd ${pkgbase}-${pkgver}-py2
+    py.test2
+  )
+}
+
+package_python-socketio() {
+  depends=('python-six' 'python-engineio')
+
+  cd ${pkgbase}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
+  install -Dm 644 docs/_build/man/socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+package_python2-socketio() {
+  depends=('python2-six' 'python2-engineio')
+
+  cd ${pkgbase}-${pkgver}-py2
+  python2 setup.py install -O1 --root="${pkgdir}" --skip-build
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
+  install -Dm 644 docs/_build/man/socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list