summaryrefslogtreecommitdiff
path: root/repo/python-sphinx/python-sphinx.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/python-sphinx/python-sphinx.xibuild')
-rw-r--r--repo/python-sphinx/python-sphinx.xibuild13
1 files changed, 7 insertions, 6 deletions
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
}