From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/python-sphinx/python-sphinx.xibuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'repo/python-sphinx') diff --git a/repo/python-sphinx/python-sphinx.xibuild b/repo/python-sphinx/python-sphinx.xibuild index 1bfaf8c..9c6b034 100644 --- a/repo/python-sphinx/python-sphinx.xibuild +++ b/repo/python-sphinx/python-sphinx.xibuild @@ -1,16 +1,17 @@ #!/bin/sh -MAKEDEPS="python python-setuptools" -DEPS="python-sphinxcontrib-applehelp python-sphinxcontrib-devhelp python-sphinxcontrib-htmlhelp python-sphinxcontrib-serializinghtml python-sphinxcontrib-qthelp python-Jinja2 python-docutils python-snowballstemmer python-babel python-alabaster python-imagesize python-requests python-packaging python-html5lib python-setuptools" +MAKEDEPS="python python-gpep517" +DEPS="python-sphinxcontrib python-sphinxcontrib python-sphinxcontrib python-sphinxcontrib python-sphinxcontrib python-sphinxcontrib python-Jinja2 python-Pygments python-docutils python-snowballstemmer python-babel python-alabaster python-imagesize python-requests python-packaging python-importlib python-colorama python-sphinxcontrib python-flake8 python-flake8 python-flake8 python-flake8 python-isort python-mypy python-sphinx python-docutils python-types python-types python-pytest python-html5lib python-typed_ast python-cython" -PKG_VER=4.4.0 -SOURCE=https://files.pythonhosted.org/packages/c9/08/c2932e66460cfbc8973928d276dc82ccde2d24b365055eeda9f0afc1951e/Sphinx-$PKG_VER.tar.gz +PKG_VER=5.3.0 +SOURCE="https://github.com/sphinx-doc/sphinx/archive/v$PKG_VER/sphinx-$PKG_VER.tar.gz" DESC="Python documentation generator" build() { - python setup.py build + mkdir dist + python -m gpep517 build-wheel --wheel-dir dist --output-fd 1 } package () { - python setup.py install --root="$PKG_DEST" --optimize=1 + python -m installer -d "$PKG_DEST" dist/sphinx-*.whl } -- cgit v1.2.1