Date: Tuesday, March 8, 2022 @ 21:13:47 Author: anthraxx Revision: 1145571
archrelease: copy trunk to community-x86_64 Added: python-websockets/repos/community-x86_64/PKGBUILD (from rev 1145570, python-websockets/trunk/PKGBUILD) Deleted: python-websockets/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-08 21:13:43 UTC (rev 1145570) +++ PKGBUILD 2022-03-08 21:13:47 UTC (rev 1145571) @@ -1,42 +0,0 @@ -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Contributor: Sherlock Holo <sherloc...@gmail.com> -# Contributor: user6553591 <Message on Reddit> - -pkgname=python-websockets -pkgver=10.1 -pkgrel=2 -pkgdesc='Python implementation of the WebSocket Protocol (RFC 6455)' -url='https://github.com/aaugustin/websockets' -arch=('x86_64') -license=('BSD') -depends=('python') -makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx-copybutton' - 'python-sphinx-furo' 'python-sphinx-inline-tabs' - 'python-sphinxcontrib-spelling' 'python-sphinxcontrib-trio' - 'python-sphinxext-opengraph') -source=(https://github.com/aaugustin/websockets/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('c284ec92bc133c7083a72d4f364d9ace13d3eb6d7355ae46084d8097c137cdec3933cae9d5ab72d8a517af38328cea6c39877f747f5386df54a7362271cc7e7b') -b2sums=('425e7c8597f081874127ac75003aed11ebb2cf647ce9fed9e17c955e485a7a59c95d1112524d3f0d747b796b0cc41972258661c9fc9c7972f68aaebe3223b596') - -build() { - cd websockets-${pkgver} - python setup.py build - sphinx-build -b dirhtml docs docs/_build/html - sphinx-build -b man docs docs/_build/man -} - -check() { - cd websockets-${pkgver} - python setup.py test -} - -package() { - cd websockets-${pkgver} - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build - install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - cp -rT docs/_build/html "${pkgdir}/usr/share/doc/${pkgname}" - install -Dm 644 docs/_build/man/websockets.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" -} - -# vim: ts=2 sw=2 et: Copied: python-websockets/repos/community-x86_64/PKGBUILD (from rev 1145570, python-websockets/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-08 21:13:47 UTC (rev 1145571) @@ -0,0 +1,42 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Sherlock Holo <sherloc...@gmail.com> +# Contributor: user6553591 <Message on Reddit> + +pkgname=python-websockets +pkgver=10.2 +pkgrel=1 +pkgdesc='Python implementation of the WebSocket Protocol (RFC 6455)' +url='https://github.com/aaugustin/websockets' +arch=('x86_64') +license=('BSD') +depends=('python') +makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx-copybutton' + 'python-sphinx-furo' 'python-sphinx-inline-tabs' + 'python-sphinxcontrib-spelling' 'python-sphinxcontrib-trio' + 'python-sphinxext-opengraph') +source=(https://github.com/aaugustin/websockets/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('b8c7fbe627e1c411112b0d66e561aa9bcf15d6de07a9cccd203211e0e6af49762774e09f8c5f4523fe214731ae7a96ed4b63639c7ed66fee062cdda3e5fba350') +b2sums=('2313bab904de3671f973191f1c43d275ede44c87811d82f22c6bd76145610ba5d4ba4d7a1b3a564bfc8c4a9b7921b2edc640af9304733e85deac1e728f0050f3') + +build() { + cd websockets-${pkgver} + python setup.py build + sphinx-build -b dirhtml docs docs/_build/html + sphinx-build -b man docs docs/_build/man +} + +check() { + cd websockets-${pkgver} + python setup.py test +} + +package() { + cd websockets-${pkgver} + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + cp -rT docs/_build/html "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 docs/_build/man/websockets.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1" +} + +# vim: ts=2 sw=2 et: