[arch-commits] Commit in python-engineio/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Oct 22 23:12:46 UTC 2018
Date: Monday, October 22, 2018 @ 23:12:45
Author: anthraxx
Revision: 398586
archrelease: copy trunk to community-any
Added:
python-engineio/repos/community-any/PKGBUILD
(from rev 398585, python-engineio/trunk/PKGBUILD)
Deleted:
python-engineio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 150 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 75 insertions(+), 75 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-22 23:12:38 UTC (rev 398585)
+++ PKGBUILD 2018-10-22 23:12:45 UTC (rev 398586)
@@ -1,75 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=python-engineio
-pkgname=('python-engineio' 'python2-engineio')
-pkgver=2.3.1
-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' 'python-pytest-runner' 'python-aiohttp' 'python-tornado'
- 'python2-mock' 'python2-eventlet' 'python2-pytest' 'python2-pytest-runner' 'python2-tornado')
-options=('!makeflags')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}.tar.gz)
-sha256sums=('7ddbf8962d9ac4446db612b68e7a0aed86467070114388d25eea8eb9d10cd2c9')
-sha512sums=('8de99953a3f8125b6f8028e040c6388e865b3b668ea7a0551e271d61d8e3e8405fa5402cfb65af025a0bc4a79375adc1d3ca9c7162280e32f06ff74102b123b7')
-
-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}
- python setup.py test
- )
- (cd ${pkgbase}-${pkgver}-py2
- python2 setup.py test
- )
-}
-
-package_python-engineio() {
- depends=('python-six')
- optdepends=(
- 'python-eventlet: eventlet support'
- 'python-aiohttp: aiohttp support'
- 'python-tornado: tornado asyncio support'
- )
-
- 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-package_python2-engineio() {
- depends=('python2-six')
- optdepends=(
- 'python2-eventlet: eventlet support'
- 'python-tornado: tornado asyncio support'
- )
-
- 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-engineio/repos/community-any/PKGBUILD (from rev 398585, python-engineio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-22 23:12:45 UTC (rev 398586)
@@ -0,0 +1,75 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=python-engineio
+pkgname=('python-engineio' 'python2-engineio')
+pkgver=2.3.2
+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' 'python-pytest-runner' 'python-aiohttp' 'python-tornado'
+ 'python2-mock' 'python2-eventlet' 'python2-pytest' 'python2-pytest-runner' 'python2-tornado')
+options=('!makeflags')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/miguelgrinberg/python-engineio/archive/v${pkgver}.tar.gz)
+sha256sums=('05ffe33151bbd4735d7fd0a6cd2ce350642855e1f6e30d41c71580432ce1535a')
+sha512sums=('598d067ccff24253feb95e91d5e73a7a4f154c32b8c2a4cdde75a0d08f5d64b10f2e92f514f8d89c1d38ee4d8d652dcd197a02e4d7c2fccfc79c61fe1bef61b3')
+
+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}
+ python setup.py test
+ )
+ (cd ${pkgbase}-${pkgver}-py2
+ python2 setup.py test
+ )
+}
+
+package_python-engineio() {
+ depends=('python-six')
+ optdepends=(
+ 'python-eventlet: eventlet support'
+ 'python-aiohttp: aiohttp support'
+ 'python-tornado: tornado asyncio support'
+ )
+
+ 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+package_python2-engineio() {
+ depends=('python2-six')
+ optdepends=(
+ 'python2-eventlet: eventlet support'
+ 'python-tornado: tornado asyncio support'
+ )
+
+ 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/engineio.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list