aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-03 23:52:23 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-04 03:49:40 +0000
commit9035d8d593eabbaaa6972e8a26ca811cf5fc94fb (patch)
tree1dee1100eb2996c385b5b1a5f3a17298dc11721e
parent5eb030ff3b416c888709f75ac75b278f76dc00d3 (diff)
downloadaports-9035d8d593eabbaaa6972e8a26ca811cf5fc94fb.tar.bz2
aports-9035d8d593eabbaaa6972e8a26ca811cf5fc94fb.tar.xz
main/py3-sphinx: upgrade to 2.4.4
-rw-r--r--main/py3-sphinx/APKBUILD47
1 files changed, 31 insertions, 16 deletions
diff --git a/main/py3-sphinx/APKBUILD b/main/py3-sphinx/APKBUILD
index e6853c3e1c..d2b7aa6012 100644
--- a/main/py3-sphinx/APKBUILD
+++ b/main/py3-sphinx/APKBUILD
@@ -1,24 +1,39 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sphinx
-_pkgname=${pkgname#py3-}
-pkgver=2.2.1
-pkgrel=1
-pkgdesc="Python Documentation Generator"
+pkgver=2.4.4
+pkgrel=0
+pkgdesc="Python Documentation Generator"
+# checkdepends require 'imagemagick' and 'py3-html5lib' which
+# are in community/, 'imagemagick' itself also needs 'librsvg'
+# and 'libheif', which bring in 'rust', 'x265' and others, this
+# is too much of a burden to put on main/
+options="!check"
url="http://sphinx.pocoo.org/"
arch="noarch"
license="BSD-2-Clause"
-depends="py3-docutils py3-jinja2 py3-pygments py3-six py3-sphinx_rtd_theme
- py3-alabaster<0.8 py3-babel py3-snowballstemmer py3-imagesize
- py3-requests py3-sphinxcontrib-websupport py3-setuptools py3-packaging
- py3-sphinxcontrib-applehelp py3-sphinxcontrib-devhelp
- py3-sphinxcontrib-jsmath py3-sphinxcontrib-htmlhelp
- py3-sphinxcontrib-serializinghtml py3-sphinxcontrib-qthelp
- py3-attrs make"
-checkdepends="py3-pytest py3-funcsigs py3-pluggy"
-options="!check" # py3-pluggy and some other packages needs to be moved to main first
-source="$_pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinx/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
+depends="
+ py3-babel
+ py3-docutils
+ py3-imagesize
+ py3-jinja2
+ py3-pygments
+ py3-requests
+ py3-setuptools
+ py3-snowballstemmer
+ py3-alabaster
+ py3-sphinxcontrib-applehelp
+ py3-sphinxcontrib-devhelp
+ py3-sphinxcontrib-htmlhelp
+ py3-sphinxcontrib-jsmath
+ py3-sphinxcontrib-serializinghtml
+ py3-sphinxcontrib-qthelp
+ "
+# imagemagick is for tests/test_ext_imgconverter.py::test_ext_imgconverter
+# which calls the 'convert' binary
+checkdepends="py3-pytest py3-funcsigs py3-pluggy imagemagick py3-html5lib"
+source="$pkgname-$pkgver.tar.gz::https://github.com/sphinx-doc/sphinx/archive/v$pkgver.tar.gz"
+builddir="$srcdir/sphinx-$pkgver"
build() {
python3 setup.py build
@@ -43,4 +58,4 @@ package() {
done
}
-sha512sums="d3f3f89ddf7d007ac271e6351223852918f028ba0ce39f06f4a75babeb4525cdc65c625162b2d1e732db448f77aeb9cae656eb484a7c9eab7ad6dd563b92fe52 sphinx-2.2.1.tar.gz"
+sha512sums="51f038122d0313c8ad69bbcbb7e67d8485b3d7b312c7dbbcea6db444f21897bf9eeb452192388402341d7e0cd641df136b2e9fc24f482475afc4689ca4d864d1 py3-sphinx-2.4.4.tar.gz"