Date: Wednesday, December 1, 2021 @ 21:37:15 Author: felixonmars Revision: 1060901
archrelease: copy trunk to community-staging-any Added: python-websocket-client/repos/community-staging-any/PKGBUILD (from rev 1060899, python-websocket-client/trunk/PKGBUILD) Deleted: python-websocket-client/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-01 21:37:13 UTC (rev 1060900) +++ PKGBUILD 2021-12-01 21:37:15 UTC (rev 1060901) @@ -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' -pkgname=python-$_pkgbase -pkgver=0.59.0 -pkgrel=2 -pkgdesc="WebSocket client library for Python" -arch=('any') -url="https://github.com/$_pkgbase/$_pkgbase" -license=('LGPL') -depends=('python-six') -makedepends=('python-setuptools') -checkdepends=('python-pysocks') -source=("https://pypi.io/packages/source/w/$_pkgbase/$_pkgbase-$pkgver.tar.gz") -sha512sums=('c7f4a0336093de86fd00828049a836477a3c859cc4bddebd9e7d31eb746dab4de8fa11205a5fb182e5df3590964aa73f279310575dfabc4abc32157e80df42b1') - -prepare() { - # Not sure why the conditions are not working :/ - sed -i "s/'backports.ssl_match_hostname'//" $_pkgbase-$pkgver/setup.py -} - -build() { - cd $_pkgbase-$pkgver - python setup.py build -} - -check() { - cd $_pkgbase-$pkgver - python setup.py test -} - -package() { - cd $_pkgbase-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} - -# vim:set ts=2 sw=2 ft=sh et: Copied: python-websocket-client/repos/community-staging-any/PKGBUILD (from rev 1060899, python-websocket-client/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-01 21:37:15 UTC (rev 1060901) @@ -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' +pkgname=python-$_pkgbase +pkgver=0.59.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') +checkdepends=('python-pysocks') +source=("https://pypi.io/packages/source/w/$_pkgbase/$_pkgbase-$pkgver.tar.gz") +sha512sums=('c7f4a0336093de86fd00828049a836477a3c859cc4bddebd9e7d31eb746dab4de8fa11205a5fb182e5df3590964aa73f279310575dfabc4abc32157e80df42b1') + +prepare() { + # Not sure why the conditions are not working :/ + sed -i "s/'backports.ssl_match_hostname'//" $_pkgbase-$pkgver/setup.py +} + +build() { + cd $_pkgbase-$pkgver + python setup.py build +} + +check() { + cd $_pkgbase-$pkgver + python setup.py test +} + +package() { + cd $_pkgbase-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +} + +# vim:set ts=2 sw=2 ft=sh et: