summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUniversebenzene2021-07-04 16:50:13 +0800
committerUniversebenzene2021-07-04 16:50:13 +0800
commitfe6c2ac5e8ec27a4ec35108b4faf4ab040eefb73 (patch)
tree0c060d3067ebc0d76c387e88568076eafe64b379
parenta1c488b5a66668fd4fe974af16169c9d481d542c (diff)
downloadaur-python-sphinx-copybutton-doc.tar.gz
Update to version 0.4.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ffa0d8a2a92..688013ae18e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = python-sphinx-copybutton-doc
pkgdesc = Documentation for Sphinx-Copybutton extension
- pkgver = 0.3.1
+ pkgver = 0.4.0
pkgrel = 1
url = https://sphinx-copybutton.readthedocs.io
arch = any
license = MIT
- makedepends = python-sphinx-copybutton=0.3.1
+ makedepends = python-sphinx-copybutton=0.4.0
makedepends = ipython
- source = https://files.pythonhosted.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-0.3.1.tar.gz
- md5sums = 52b3a51953ac19fef56e15f2a6be1b90
+ makedepends = python-sphinx-book-theme
+ source = https://files.pythonhosted.org/packages/source/s/sphinx-copybutton/sphinx-copybutton-0.4.0.tar.gz
+ md5sums = e7c8bd6e2a59e696b864281ff82f7194
pkgname = python-sphinx-copybutton-doc
pkgdesc = Documentation for Sphinx-Copybutton extension
-
diff --git a/PKGBUILD b/PKGBUILD
index ee0cd1d1eb1..cacca85297b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,32 @@
# Maintainer: Astro Benzene <universebenzene at sina dot com>
_pyname=sphinx-copybutton
pkgname="python-${_pyname}-doc"
-pkgver=0.3.1
+pkgver=0.4.0
pkgrel=1
pkgdesc="Documentation for Sphinx-Copybutton extension"
arch=('any')
url="https://sphinx-copybutton.readthedocs.io"
license=('MIT')
-makedepends=("python-${_pyname}=${pkgver}" 'ipython')
+makedepends=("python-${_pyname}=${pkgver}" 'ipython' 'python-sphinx-book-theme')
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
-md5sums=('52b3a51953ac19fef56e15f2a6be1b90')
+md5sums=('e7c8bd6e2a59e696b864281ff82f7194')
prepare() {
- cd ${srcdir}/${_pyname}-${pkgver}/doc
+ cd ${srcdir}/${_pyname}-${pkgver}/docs
# sed -i "/^exclude/s/\"\]/\",\ \"\*\*\.ipynb_checkpoints\"\]/" conf.py
sed -i "/^extensions/s/directive\"\]/directive\",\ \'IPython\.sphinxext\.ipython_console_highlighting\'\]/" conf.py
}
build() {
- cd ${srcdir}/${_pyname}-${pkgver}/doc
+ cd ${srcdir}/${_pyname}-${pkgver}/docs
make html
}
package() {
pkgdesc="Documentation for Sphinx-Copybutton extension"
- cd ${srcdir}/${_pyname}-${pkgver}/doc/_build
+ cd ${srcdir}/${_pyname}-${pkgver}/docs/_build
install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" ../../LICENSE
install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase%-doc}"