[arch-commits] Commit in python-engineio/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri Feb 3 18:24:43 UTC 2017
Date: Friday, February 3, 2017 @ 18:24:43
Author: anthraxx
Revision: 209775
archrelease: copy trunk to community-any
Added:
python-engineio/repos/community-any/PKGBUILD
(from rev 209774, python-engineio/trunk/PKGBUILD)
Deleted:
python-engineio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-03 18:24:38 UTC (rev 209774)
+++ PKGBUILD 2017-02-03 18:24:43 UTC (rev 209775)
@@ -1,65 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-engineio
-pkgname=('python-engineio' 'python2-engineio')
-pkgver=1.1.0
-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'
- '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=('38f8785c82695ffcdd81c8c58bf7ab4bcc719e19f2f295e21ea5b8fd438ea7fa94fc73de9211c119797265db722a528bf187a6db5f16523ebb82efc622229a37')
-
-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 209774, python-engineio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-03 18:24:43 UTC (rev 209775)
@@ -0,0 +1,65 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-engineio
+pkgname=('python-engineio' 'python2-engineio')
+pkgver=1.1.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=('5377a70263c13f79e53c61298411ceb63fe28240b4c27774481383ba808183a981a16dcd3908285dd72a946b06c3a2b0d9dae984e9b09c8e18d67fce2b0761f7')
+
+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:
More information about the arch-commits
mailing list