Date: Tuesday, May 17, 2016 @ 20:21:26 Author: anthraxx Revision: 175555
archrelease: copy trunk to community-any Added: python-engineio/repos/community-any/PKGBUILD (from rev 175554, python-engineio/trunk/PKGBUILD) Deleted: python-engineio/repos/community-any/PKGBUILD ----------+ PKGBUILD | 130 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-05-17 18:21:17 UTC (rev 175554) +++ PKGBUILD 2016-05-17 18:21:26 UTC (rev 175555) @@ -1,65 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgbase=python-engineio -pkgname=('python-engineio' 'python2-engineio') -pkgver=0.9.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' - '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=('4c7cea490901c9eea4606dd7998b91e056dd6286b32038e8a59244bb0f3b4a2de5f3e67d2de2aefd2e6cc54b962ee2cefc5e496d5b879d81ffd0430984f28b18') - -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 175554, python-engineio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-05-17 18:21:26 UTC (rev 175555) @@ -0,0 +1,65 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgbase=python-engineio +pkgname=('python-engineio' 'python2-engineio') +pkgver=0.9.1 +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=('1141c4f998a407058391796480867eef64ab7c8f4ed3f6e2de0d1972c11666e00fc871fed16194421b0c6ff238150c8b9b8b94d30fa6fb8b20eb6e1174908d8f') + +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: