[arch-commits] Commit in python-websockets/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Thu Dec 9 03:27:32 UTC 2021
Date: Thursday, December 9, 2021 @ 03:27:31
Author: foutrelis
Revision: 1065796
upgpkg: python-websockets 10.1-2: re-enable docs
Modified:
python-websockets/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-09 03:24:36 UTC (rev 1065795)
+++ PKGBUILD 2021-12-09 03:27:31 UTC (rev 1065796)
@@ -4,15 +4,16 @@
pkgname=python-websockets
pkgver=10.1
-pkgrel=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')
-# disable docs until python-sphinx-furo is updated
-#makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx-autodoc-typehints' 'python-sphinxcontrib-trio')
+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')
@@ -20,8 +21,8 @@
build() {
cd websockets-${pkgver}
python setup.py build
- #sphinx-build -b text docs docs/_build/text
- #sphinx-build -b man docs docs/_build/man
+ sphinx-build -b dirhtml docs docs/_build/html
+ sphinx-build -b man docs docs/_build/man
}
check() {
@@ -34,8 +35,8 @@
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}"
- #install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
- #install -Dm 644 docs/_build/man/websockets.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ 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:
More information about the arch-commits
mailing list