Date: Friday, May 6, 2022 @ 21:48:19 Author: anthraxx Revision: 1196075
archrelease: copy trunk to community-x86_64 Added: python-websockets/repos/community-x86_64/PKGBUILD (from rev 1196074, 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-05-06 21:48:16 UTC (rev 1196074) +++ PKGBUILD 2022-05-06 21:48:19 UTC (rev 1196075) @@ -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.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: Copied: python-websockets/repos/community-x86_64/PKGBUILD (from rev 1196074, python-websockets/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-06 21:48:19 UTC (rev 1196075) @@ -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.3 +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=('75a11dd7605808954c5f59decda5b115db73de96ed4023d8d7ee3c9966551a9ded2d771f76b086c76f49b0787f19349dadcd9010eb5fea8eeddf3d9bba1c6cbb') +b2sums=('db6075304613ff74ad5928a0c57e90a7d418ac0b9532adba4c6a17b3c3f1982cc94db8ac4c0da5f65343a915f3b2e7ccedce4e6d5d4960cb72fc93c3db6e041c') + +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: