Date: Thursday, December 26, 2019 @ 01:25:03 Author: felixonmars Revision: 541765
archrelease: copy trunk to community-any Added: python-websocket-client/repos/community-any/PKGBUILD (from rev 541764, python-websocket-client/trunk/PKGBUILD) Deleted: python-websocket-client/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-26 01:24:50 UTC (rev 541764) +++ PKGBUILD 2019-12-26 01:25:03 UTC (rev 541765) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Thore Bödecker <fox...@archlinux.org> -# Contributor: Matmas <mat...@matmas.net> -# Contributor: Thomas Gubler <thomasgub...@gmail.com> -# Contributor: Daniel YC Lin <dlin.tw at gmail> -# Contributor: Florian Bruhin <archlinux....@the-compiler.org> - -_pkgbase='websocket-client' -__pkgbase="${_pkgbase//-/_}" -pkgname=python-${_pkgbase} -pkgver=0.56.0 -pkgrel=3 -pkgdesc="WebSocket client library for Python" -arch=(any) -url="https://github.com/${_pkgbase}/${_pkgbase}" -license=('LGPL') -depends=('python-six') -makedepends=('python-setuptools') -source=("https://pypi.io/packages/source/w/${_pkgbase}/${__pkgbase}-${pkgver}.tar.gz") -sha512sums=('f61497b5fa6deea11d0e81c1c0d3092d1efba9bcdb3427a45f51b81059444a486a9aa6a4d046fc2aa805e855d2c8e68a4ba46669c05a45eb928251c50e2e3a50') - -prepare() { - # Not sure why the conditions are not working :/ - sed -i "s/'backports.ssl_match_hostname'//" "${srcdir}/${__pkgbase}-${pkgver}/setup.py" -} - -build() { - cd "${srcdir}/${__pkgbase}-${pkgver}" - python setup.py build -} - -check() { - cd "${srcdir}/${__pkgbase}-${pkgver}" - python setup.py test -} - -package() { - cd "${srcdir}/${__pkgbase}-${pkgver}" - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} - -# vim:set ts=2 sw=2 ft=sh et: Copied: python-websocket-client/repos/community-any/PKGBUILD (from rev 541764, python-websocket-client/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-26 01:25:03 UTC (rev 541765) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Thore Bödecker <fox...@archlinux.org> +# Contributor: Matmas <mat...@matmas.net> +# Contributor: Thomas Gubler <thomasgub...@gmail.com> +# Contributor: Daniel YC Lin <dlin.tw at gmail> +# Contributor: Florian Bruhin <archlinux....@the-compiler.org> + +_pkgbase='websocket-client' +__pkgbase="${_pkgbase//-/_}" +pkgname=python-${_pkgbase} +pkgver=0.57.0 +pkgrel=1 +pkgdesc="WebSocket client library for Python" +arch=(any) +url="https://github.com/${_pkgbase}/${_pkgbase}" +license=('LGPL') +depends=('python-six') +makedepends=('python-setuptools') +source=("https://pypi.io/packages/source/w/${_pkgbase}/${__pkgbase}-${pkgver}.tar.gz") +sha512sums=('8677b00abbdd995ef1c2254f73a01713eb0707ee2549031f410205af7bbbf57b4730b38a78d683a90605c1412863f57a3829d8be1c058f3e9bfb177bd49c4525') + +prepare() { + # Not sure why the conditions are not working :/ + sed -i "s/'backports.ssl_match_hostname'//" "${srcdir}/${__pkgbase}-${pkgver}/setup.py" +} + +build() { + cd "${srcdir}/${__pkgbase}-${pkgver}" + python setup.py build +} + +check() { + cd "${srcdir}/${__pkgbase}-${pkgver}" + python setup.py test +} + +package() { + cd "${srcdir}/${__pkgbase}-${pkgver}" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 ft=sh et: