[arch-commits] Commit in python-socketio/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Mar 14 02:43:14 UTC 2018
Date: Wednesday, March 14, 2018 @ 02:43:13
Author: anthraxx
Revision: 307546
archrelease: copy trunk to community-any
Added:
python-socketio/repos/community-any/PKGBUILD
(from rev 307545, python-socketio/trunk/PKGBUILD)
Deleted:
python-socketio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 136 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 68 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-14 02:42:54 UTC (rev 307545)
+++ PKGBUILD 2018-03-14 02:43:13 UTC (rev 307546)
@@ -1,68 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-socketio
-pkgname=('python-socketio' 'python2-socketio')
-pkgver=1.8.4
-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=('e7919a3b2a5403e2fc4246829f2732c145cbd0b22df4c649386a261d1c6d496d')
-sha512sums=('0cf6498cf509614cae10d9e30823b9f382ddc5e49f62234bb94716a713c22e0f1000914228c41b5a39125d7156230e050d88ad22b299cc44119a63158733ad46')
-
-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 -k 'not test_logger'
- )
- msg2 'Checking python2...'
- (cd ${pkgbase}-${pkgver}-py2
- py.test2 -k 'not test_logger'
- )
-}
-
-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:
Copied: python-socketio/repos/community-any/PKGBUILD (from rev 307545, python-socketio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-03-14 02:43:13 UTC (rev 307546)
@@ -0,0 +1,68 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-socketio
+pkgname=('python-socketio' 'python2-socketio')
+pkgver=1.9.0
+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=('807be9d8d133d1b4693cbcf35b6fc240058333bb849cc85f6559a17e401eb70f')
+sha512sums=('9d93044b2a84146df99e148c0dae49359a8eeb36c6e6733132d9700c6c39c617a2602edef3420263ee6447e1f507444152d62bb7ca3c758693defe8b0fc8925e')
+
+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 -k 'not test_logger'
+ )
+ msg2 'Checking python2...'
+ (cd ${pkgbase}-${pkgver}-py2
+ py.test2 -k 'not test_logger'
+ )
+}
+
+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