[arch-commits] Commit in python-engineio/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Jan 25 23:51:14 UTC 2018
Date: Thursday, January 25, 2018 @ 23:51:13
Author: anthraxx
Revision: 286984
upgpkg: python-engineio 2.0.2-1
Modified:
python-engineio/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-25 23:41:37 UTC (rev 286983)
+++ PKGBUILD 2018-01-25 23:51:13 UTC (rev 286984)
@@ -2,7 +2,7 @@
pkgbase=python-engineio
pkgname=('python-engineio' 'python2-engineio')
-pkgver=2.0.1
+pkgver=2.0.2
pkgrel=1
pkgdesc='Python implementation of the Engine.IO realtime server'
url='https://github.com/miguelgrinberg/python-engineio'
@@ -10,12 +10,12 @@
license=('MIT')
makedepends=('python-setuptools' 'python-sphinx' 'python-six'
'python2-setuptools' 'python2-sphinx' 'python2-six')
-checkdepends=('python-mock' 'python-eventlet' 'python-pytest' 'python-aiohttp'
- 'python2-mock' 'python2-eventlet' 'python2-pytest')
+checkdepends=('python-mock' 'python-eventlet' 'python-pytest' 'python-pytest-runner' 'python-aiohttp'
+ 'python2-mock' 'python2-eventlet' 'python2-pytest' 'python2-pytest-runner')
options=('!makeflags')
source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}.tar.gz)
-sha256sums=('0402619cacd202ed24da4a3e6958104913abeab12b7c2ac6551cadbf568527a7')
-sha512sums=('799676a6e63e231459013f987bde4af705fb3ad8e807809cff418a46d7301d18681ce4012f8c02ff2da3628a142983e9a165e16e2cdb5839e745ee3eceeb07b0')
+sha256sums=('9fbe531108a95bc61518b61c4718e2661fc81d32b54fd6af34799bf10a367a6b')
+sha512sums=('eca3aae5fb0377dd04cb75bb2a42121049cb6fecb3aeb89ed4469f2504e4a741fd2c00abccdb10dc775077ba3ca62435713763969278cd13143b9a9a9d056084')
prepare() {
cp -ra ${pkgbase}-${pkgver}{,-py2}
@@ -34,10 +34,10 @@
check() {
(cd ${pkgbase}-${pkgver}
- py.test
+ python setup.py test
)
(cd ${pkgbase}-${pkgver}-py2
- py.test2
+ python2 setup.py test
)
}
@@ -50,8 +50,8 @@
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 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
}
@@ -64,8 +64,8 @@
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 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
}
More information about the arch-commits
mailing list