[arch-commits] Commit in python-socketio/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue Nov 14 18:40:13 UTC 2017
Date: Tuesday, November 14, 2017 @ 18:40:12
Author: anthraxx
Revision: 266795
archrelease: copy trunk to community-any
Added:
python-socketio/repos/community-any/PKGBUILD
(from rev 266794, python-socketio/trunk/PKGBUILD)
Deleted:
python-socketio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 133 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 68 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-11-14 18:40:01 UTC (rev 266794)
+++ PKGBUILD 2017-11-14 18:40:12 UTC (rev 266795)
@@ -1,65 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-socketio
-pkgname=('python-socketio' 'python2-socketio')
-pkgver=1.8.1
-pkgrel=1
-pkgdesc='Python implementation of the Socket.IO realtime server'
-url='https://github.com/miguelgrinberg/python-socketio'
-arch=('any')
-license=('MIT')
-makedepends=('python-setuptools' 'python-sphinx' 'python-six' 'python-engineio'
- 'python2-setuptools' 'python2-sphinx' 'python2-six' 'python2-engineio')
-checkdepends=('python-pytest' 'python-mock' 'python2-pytest' 'python2-mock')
-options=('!makeflags')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-socketio/archive/v${pkgver}.tar.gz)
-sha256sums=('de1bdd8f83b610c13156e0d1ca9b86d84bb33cb5ec403a7f3a2de096803d3b70')
-sha512sums=('071c52d7783d8d42ce2c168b925dc14aa4c89be00180fa0d963943c9c6d97f827092033d4cad5ebf9f803911cad7e217260548373e8b654fcb0aa29eebc20d5a')
-
-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-socketio() {
- depends=('python-six' 'python-engineio')
-
- 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/socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-package_python2-socketio() {
- depends=('python2-six' 'python2-engineio')
-
- 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/socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-socketio/repos/community-any/PKGBUILD (from rev 266794, python-socketio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-11-14 18:40:12 UTC (rev 266795)
@@ -0,0 +1,68 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-socketio
+pkgname=('python-socketio' 'python2-socketio')
+pkgver=1.8.3
+pkgrel=1
+pkgdesc='Python implementation of the Socket.IO realtime server'
+url='https://github.com/miguelgrinberg/python-socketio'
+arch=('any')
+license=('MIT')
+makedepends=('python-setuptools' 'python-sphinx' 'python-six' 'python-engineio'
+ 'python2-setuptools' 'python2-sphinx' 'python2-six' 'python2-engineio')
+checkdepends=('python-pytest' 'python-mock'
+ 'python2-pytest' 'python2-mock')
+options=('!makeflags')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-socketio/archive/v${pkgver}.tar.gz)
+sha256sums=('c8a6e0576e50e9cc3db3d8cc0901d3f1f587e67643775c40b9d4a3c30f6a7448')
+sha512sums=('e6b3c64c42c25490f9f5e45c32fad44cb5acb3c1ef09705d7539cf1ad828c3ab4cb75fbc4578ae85a4a98f6134827dbbfac02316c2afbb0508c0774aead35704')
+
+prepare() {
+ cp -ra ${pkgbase}-${pkgver}{,-py2}
+}
+
+build() {
+ msg2 'Building python...'
+ (cd ${pkgbase}-${pkgver}
+ python setup.py build
+ make -C docs man text SPHINXBUILD=sphinx-build
+ )
+ msg2 'Building python2...'
+ (cd ${pkgbase}-${pkgver}-py2
+ python2 setup.py build
+ make -C docs man text SPHINXBUILD=sphinx-build2
+ )
+}
+
+check() {
+ msg2 'Checking python...'
+ (cd ${pkgbase}-${pkgver}
+ py.test
+ )
+ msg2 'Checking python2...'
+ (cd ${pkgbase}-${pkgver}-py2
+ py.test2
+ )
+}
+
+package_python-socketio() {
+ depends=('python' 'python-six' 'python-engineio')
+ cd ${pkgbase}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
+ install -Dm 644 docs/_build/man/socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+package_python2-socketio() {
+ depends=('python2' 'python2-six' 'python2-engineio')
+ cd ${pkgbase}-${pkgver}-py2
+ python2 setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -Dm 644 docs/_build/text/index.txt "${pkgdir}/usr/share/doc/${pkgname}/DOCUMENTATION"
+ install -Dm 644 docs/_build/man/socketio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list