Date: Monday, January 4, 2016 @ 19:30:46 Author: anthraxx Revision: 155473
archrelease: copy trunk to community-any Added: python-engineio/repos/community-any/PKGBUILD (from rev 155472, python-engineio/trunk/PKGBUILD) Deleted: python-engineio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 130 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-01-04 18:30:41 UTC (rev 155472) +++ PKGBUILD 2016-01-04 18:30:46 UTC (rev 155473) @@ -1,65 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgbase=python-engineio -pkgname=('python-engineio' 'python2-engineio') -pkgver=0.8.4 -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' - 'python2-mock' 'python2-eventlet' 'python2-pytest') -options=('!makeflags') -source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}.tar.gz) -sha512sums=('6ec614b27b1a1cba83cbd6277376c0d7187e7869b85a6cfe77b5a9e30459e71ea6e857bd961ac35f162af82a36cf256020f76270f75f27ebc7b06673e48ada0e') - -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-engineio() { - depends=('python-six') - - 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" -} - -package_python2-engineio() { - depends=('python2-six') - - 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" -} - -# vim: ts=2 sw=2 et: Copied: python-engineio/repos/community-any/PKGBUILD (from rev 155472, python-engineio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-01-04 18:30:46 UTC (rev 155473) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgbase=python-engineio +pkgname=('python-engineio' 'python2-engineio') +pkgver=0.8.5 +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' + 'python2-mock' 'python2-eventlet' 'python2-pytest') +options=('!makeflags') +source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}.tar.gz) +sha512sums=('9db94f842af46c7e2457840f4da3348a263c241c21a81da83cc0bd7af7dd5fa6991615f9d77e5d3a225115f2645d124a92081e79e1871cbcb49b7abb11c696ef') + +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-engineio() { + depends=('python-six') + + 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +package_python2-engineio() { + depends=('python2-six') + + 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +# vim: ts=2 sw=2 et: