[arch-commits] Commit in python-engineio/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Jan 11 00:36:33 UTC 2016
Date: Monday, January 11, 2016 @ 01:36:33
Author: anthraxx
Revision: 155882
archrelease: copy trunk to community-any
Added:
python-engineio/repos/community-any/PKGBUILD
(from rev 155881, 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-11 00:36:26 UTC (rev 155881)
+++ PKGBUILD 2016-01-11 00:36:33 UTC (rev 155882)
@@ -1,65 +0,0 @@
-# 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:
Copied: python-engineio/repos/community-any/PKGBUILD (from rev 155881, python-engineio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-01-11 00:36:33 UTC (rev 155882)
@@ -0,0 +1,65 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-engineio
+pkgname=('python-engineio' 'python2-engineio')
+pkgver=0.8.6
+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=('b65d76345f1f517a821308f1c6ab7bfe7bb35a9ebb3f6cb35f628343c827fcb8b47f04fd54b591d9f0c8374d0f3aa1cb7bacaf197d32703f05fb34cec4463c2f')
+
+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