[arch-commits] Commit in python-flask-socketio/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Jul 17 16:36:25 UTC 2017
Date: Monday, July 17, 2017 @ 16:36:25
Author: anthraxx
Revision: 245504
archrelease: copy trunk to community-any
Added:
python-flask-socketio/repos/community-any/PKGBUILD
(from rev 245503, python-flask-socketio/trunk/PKGBUILD)
Deleted:
python-flask-socketio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 127 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-17 16:36:19 UTC (rev 245503)
+++ PKGBUILD 2017-07-17 16:36:25 UTC (rev 245504)
@@ -1,63 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-flask-socketio
-pkgname=('python-flask-socketio' 'python2-flask-socketio')
-_pkgname=Flask-SocketIO
-pkgver=2.8.6
-pkgrel=1
-pkgdesc='Socket.IO integration for Flask applications'
-url='https://flask-socketio.readthedocs.org/'
-arch=('any')
-license=('MIT')
-makedepends=('python-setuptools' 'python-sphinx' 'python-flask' 'python-eventlet' 'python-socketio'
- 'python2-setuptools' 'python2-sphinx' 'python2-flask' 'python2-eventlet' 'python2-socketio')
-checkdepends=('python-coverage' 'python-pytest' 'python2-coverage' 'python2-pytest')
-options=('!makeflags')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/Flask-SocketIO/archive/v${pkgver}.tar.gz)
-sha512sums=('b487aa8930375adcb48c4afdeea34560ccd4b96365c373186902819d333b4c7c827f283c0fd5cce3e426d6521a983655709c17a2ffbac432975147b22dbbf28a')
-
-prepare() {
- cp -ra ${_pkgname}-${pkgver}{,-py2}
-}
-
-build() {
- (cd ${_pkgname}-${pkgver}
- python setup.py build
- make -C docs man text SPHINXBUILD=sphinx-build
- )
- (cd ${_pkgname}-${pkgver}-py2
- python2 setup.py build
- make -C docs man text SPHINXBUILD=sphinx-build2
- )
-}
-
-check() {
- (cd ${_pkgname}-${pkgver}
- py.test test_socketio.py
- )
- (cd ${_pkgname}-${pkgver}-py2
- py.test2 test_socketio.py
- )
-}
-
-package_python-flask-socketio() {
- depends=('python-flask' 'python-eventlet' 'python-socketio')
- cd ${_pkgname}-${pkgver}
- python setup.py install -O1 --root="${pkgdir}" --skip-build
- install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm 644 README.md "${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/flask-socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-package_python2-flask-socketio() {
- depends=('python2-flask' 'python2-eventlet' 'python-socketio')
- cd ${_pkgname}-${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.md "${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/flask-socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-flask-socketio/repos/community-any/PKGBUILD (from rev 245503, python-flask-socketio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-07-17 16:36:25 UTC (rev 245504)
@@ -0,0 +1,64 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-flask-socketio
+pkgname=('python-flask-socketio' 'python2-flask-socketio')
+_pkgname=Flask-SocketIO
+pkgver=2.9.1
+pkgrel=1
+pkgdesc='Socket.IO integration for Flask applications'
+url='https://flask-socketio.readthedocs.org/'
+arch=('any')
+license=('MIT')
+makedepends=('python-setuptools' 'python-sphinx' 'python-flask' 'python-eventlet' 'python-socketio'
+ 'python2-setuptools' 'python2-sphinx' 'python2-flask' 'python2-eventlet' 'python2-socketio')
+checkdepends=('python-coverage' 'python-pytest' 'python2-coverage' 'python2-pytest')
+options=('!makeflags')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/Flask-SocketIO/archive/v${pkgver}.tar.gz)
+sha256sums=('c649d1e826b91c740e304b91c0777f44f91ee8ee083bc07ec4f3caea404826d4')
+sha512sums=('772b304ef39cb68840b7ad9842696c5fb381533aa81decd72e920df15a3f042e9bd7dd82d460d28ba41d11a06f6010e3ad6f1bfb018a9caab96d15c233489e45')
+
+prepare() {
+ cp -ra ${_pkgname}-${pkgver}{,-py2}
+}
+
+build() {
+ (cd ${_pkgname}-${pkgver}
+ python setup.py build
+ make -C docs man text SPHINXBUILD=sphinx-build
+ )
+ (cd ${_pkgname}-${pkgver}-py2
+ python2 setup.py build
+ make -C docs man text SPHINXBUILD=sphinx-build2
+ )
+}
+
+check() {
+ (cd ${_pkgname}-${pkgver}
+ py.test test_socketio.py
+ )
+ (cd ${_pkgname}-${pkgver}-py2
+ py.test2 test_socketio.py
+ )
+}
+
+package_python-flask-socketio() {
+ depends=('python-flask' 'python-eventlet' 'python-socketio')
+ cd ${_pkgname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm 644 README.md "${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/flask-socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+package_python2-flask-socketio() {
+ depends=('python2-flask' 'python2-eventlet' 'python-socketio')
+ cd ${_pkgname}-${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.md "${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/flask-socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list