diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-06 02:19:48 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-06 02:35:56 +0300 |
commit | f8a80eee3ae1682676fcc609721384eed2016b7d (patch) | |
tree | 5300020f5efa5988282c23f56c896b8b9afe392b /testing/py3-sphinxcontrib-adadomain | |
parent | b9140747853d6311709c92445cdecca04b869c01 (diff) | |
download | aports-f8a80eee3ae1682676fcc609721384eed2016b7d.tar.bz2 aports-f8a80eee3ae1682676fcc609721384eed2016b7d.tar.xz |
testing/py3-sphinxcontrib-adadomain: upgrade to 0.2
Diffstat (limited to 'testing/py3-sphinxcontrib-adadomain')
-rw-r--r-- | testing/py3-sphinxcontrib-adadomain/APKBUILD | 8 | ||||
-rw-r--r-- | testing/py3-sphinxcontrib-adadomain/fix-imports.patch | 18 |
2 files changed, 23 insertions, 3 deletions
diff --git a/testing/py3-sphinxcontrib-adadomain/APKBUILD b/testing/py3-sphinxcontrib-adadomain/APKBUILD index 07c985bd48..550eb4f467 100644 --- a/testing/py3-sphinxcontrib-adadomain/APKBUILD +++ b/testing/py3-sphinxcontrib-adadomain/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py3-sphinxcontrib-adadomain _pkgname=sphinxcontrib-adadomain -pkgver=0.1 +pkgver=0.2 pkgrel=0 pkgdesc="Sphinx adadomain extension" url="https://pypi.python.org/pypi/sphinxcontrib-adadomain" @@ -10,7 +10,8 @@ arch="noarch" license="BSD-2-Clause" depends="py3-sphinx" makedepends="py3-setuptools" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz + fix-imports.patch" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-sphinxcontrib-adadomain" # for backwards compatibility @@ -24,4 +25,5 @@ package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } -sha512sums="2cff0b1807d736c47e2d3fc6e3f31adb92f8e07c8606038b2d827362a19b7f9709719dbaf382e504afb2e7063210d27dab4a6eb06e61ae45f624fec891b02a31 sphinxcontrib-adadomain-0.1.tar.gz" +sha512sums="99d2b8b2dcb16e76c33c4a7965140c44ec3b4a166b69e930a68f27a1ddbb0871d77bc6b05fce79d161063561d21ebf5205218a05aebf9ff073e9ab2a3ba4e9a7 sphinxcontrib-adadomain-0.2.tar.gz +d3f3c278cef536cc7c9f0a8321baefce3dfdda9d81570d9be0b1451a5c8d38dd091abf7edb718b3516631aa6bb74bb679cfe9f4b2bb2f531e185dc8a05591da2 fix-imports.patch" diff --git a/testing/py3-sphinxcontrib-adadomain/fix-imports.patch b/testing/py3-sphinxcontrib-adadomain/fix-imports.patch new file mode 100644 index 0000000000..27234bcf26 --- /dev/null +++ b/testing/py3-sphinxcontrib-adadomain/fix-imports.patch @@ -0,0 +1,18 @@ +--- a/sphinxcontrib/adadomain.py ++++ b/sphinxcontrib/adadomain.py +@@ -17,14 +17,13 @@ + import string + + from docutils import nodes +-from docutils.parsers.rst import directives ++from docutils.parsers.rst import Directive, directives + + from sphinx import addnodes + from sphinx.roles import XRefRole + from sphinx.locale import l_, _ + from sphinx.directives import ObjectDescription + from sphinx.domains import Domain, ObjType, Index +-from sphinx.util.compat import Directive + from sphinx.util.nodes import make_refnode + from sphinx.util.docfields import Field, TypedField + |