[arch-commits] Commit in python-sphinx/repos/community-any (PKGBUILD PKGBUILD)

Johannes Löthberg demize at archlinux.org
Tue Jan 1 18:03:03 UTC 2019


    Date: Tuesday, January 1, 2019 @ 18:03:03
  Author: demize
Revision: 420205

archrelease: copy trunk to community-any

Added:
  python-sphinx/repos/community-any/PKGBUILD
    (from rev 420204, python-sphinx/trunk/PKGBUILD)
Deleted:
  python-sphinx/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  305 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 149 insertions(+), 156 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-01 18:02:59 UTC (rev 420204)
+++ PKGBUILD	2019-01-01 18:03:03 UTC (rev 420205)
@@ -1,156 +0,0 @@
-# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
-# Contributor: Sébastien Luttringer
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Fabio Volpe <volpefabio at gmail.com>
-
-pkgbase=python-sphinx
-pkgname=('python-sphinx' 'python2-sphinx')
-pkgver=1.8.1
-pkgrel=2
-
-arch=('any')
-url='http://www.sphinx-doc.org/'
-license=('BSD')
-
-makedepends=(
-  'python-setuptools'
-  'python-docutils'
-  'python-jinja'
-  'python-pygments'
-  'python-six'
-  'python-imagesize'
-  'python-sphinxcontrib-websupport'
-  'python-sqlalchemy'
-  'python-whoosh'
-  'python2-setuptools'
-  'python2-docutils'
-  'python2-jinja'
-  'python2-pygments'
-  'python2-six'
-  'python2-imagesize'
-  'python2-sphinxcontrib-websupport'
-  'python2-sqlalchemy'
-  'python2-whoosh'
-  'python2-typing'
-)
-
-checkdepends=(
-  'texlive-latexextra'
-  'python-nose' 'python2-nose'
-  'python-snowballstemmer' 'python2-snowballstemmer'
-  'python-babel' 'python2-babel'
-  'python-sphinx-alabaster-theme' 'python2-sphinx-alabaster-theme'
-  'python-sphinx_rtd_theme' 'python2-sphinx_rtd_theme'
-  'python-mock' 'python2-mock'
-  'python-html5lib' 'python2-html5lib'
-  'python-requests' 'python2-requests'
-  'python2-pytest' 'python-pytest'
-  'python2-enum34'
-  'python-sphinxcontrib-websupport' 'python2-sphinxcontrib-websupport'
-  'imagemagick' 'librsvg'
-)
-
-source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc}
-        sphinx-graphviz.patch::"https://patch-diff.githubusercontent.com/raw/sphinx-doc/sphinx/pull/5549.patch")
-
-validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E'
-              'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07')
-sha512sums=('971a478ccd0f77e7e9bf8548a31805140d2d757f237493e63a3046309683b1f6ae4f943f0b66cc8e00c3917a40c1c8e4cd2ec5133ff7ca565584b058bab5e677'
-            'SKIP'
-            '3f690a4b96ea32694600a83482fee4753c6ee128c0599d4ef2d227b02263f762110cad414a2ea992439d434bcaba7acd259843c17922514295852f2abe67e0d1')
-
-prepare() {
-  # backport sagemath-doc build fix
-  pushd Sphinx-$pkgver
-    patch -p1 -i ../sphinx-graphviz.patch
-  popd
-
-  # souce duplication is required because makefile modify source code
-  # setyp.py --build tricks don't works well
-  cp -a Sphinx-$pkgver Sphinx-${pkgver}2
-  # change python2 interpreter
-  find Sphinx-${pkgver}2 -type f -exec \
-    sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
-  # change sphinx-binaries name in source code
-  find Sphinx-${pkgver}2 -type f -name '*.py' -exec \
-    sed -ri 's,(sphinx-(:?build|apidoc|autogen|quickstart)),\12,' {} \;
-}
-
-build() {
-  msg2 'Python 3 version'
-  cd "$srcdir"/Sphinx-$pkgver
-  make PYTHON=python3 build
-
-  msg2 'Python 2 version'
-  cd "$srcdir"/Sphinx-${pkgver}2
-  make PYTHON=python2 build
-}
-
-#check() {
-#  msg2 'Python 3 version'
-#  cd "$srcdir"/Sphinx-$pkgver
-#  LC_ALL="en_US.UTF-8" make PYTHON=python3 test
-#  rm -r tests
-#
-#  msg2 'Python 2 version'
-#  cd "$srcdir"/Sphinx-${pkgver}2
-#  LC_ALL="en_US.UTF-8" make PYTHON=python2 test
-#  rm -r tests
-#}
-
-package_python-sphinx() {
-  pkgdesc='Python3 documentation generator'
-  depends=(
-    'python-setuptools'
-    'python-jinja'
-    'python-pygments'
-    'python-docutils'
-    'python-sphinx_rtd_theme'
-    'python-sphinx-alabaster-theme'
-    'python-babel'
-    'python-snowballstemmer'
-    'python-six'
-    'python-imagesize'
-    'python-requests'
-    'python-sphinxcontrib-websupport'
-    'python-sqlalchemy'
-    'python-whoosh'
-  )
-  optdepends=('texlive-latexextra: for generation of PDF documentation'
-              'imagemagick: ext.imageconverter')
-
-  cd Sphinx-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python-sphinx/LICENSE
-}
-
-package_python2-sphinx() {
-  pkgdesc='Python2 documentation generator'
-  depends=(
-    'python2-setuptools'
-    'python2-jinja'
-    'python2-pygments'
-    'python2-docutils'
-    'python2-sphinx_rtd_theme'
-    'python2-sphinx-alabaster-theme'
-    'python2-babel'
-    'python2-snowballstemmer'
-    'python2-six'
-    'python2-imagesize'
-    'python2-requests'
-    'python2-sphinxcontrib-websupport'
-    'python2-sqlalchemy'
-    'python2-whoosh'
-    'python2-typing'
-  )
-  optdepends=('texlive-latexextra: for generation of PDF documentation'
-              'imagemagick: ext.imageconverter')
-
-  cd Sphinx-${pkgver}2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python2-sphinx/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-sphinx/repos/community-any/PKGBUILD (from rev 420204, python-sphinx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-01 18:03:03 UTC (rev 420205)
@@ -0,0 +1,149 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: Sébastien Luttringer
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Fabio Volpe <volpefabio at gmail.com>
+
+pkgbase=python-sphinx
+pkgname=('python-sphinx' 'python2-sphinx')
+pkgver=1.8.3
+pkgrel=1
+
+arch=('any')
+url='http://www.sphinx-doc.org/'
+license=('BSD')
+
+makedepends=(
+  'python-setuptools'
+  'python-docutils'
+  'python-jinja'
+  'python-pygments'
+  'python-six'
+  'python-imagesize'
+  'python-sphinxcontrib-websupport'
+  'python-sqlalchemy'
+  'python-whoosh'
+  'python2-setuptools'
+  'python2-docutils'
+  'python2-jinja'
+  'python2-pygments'
+  'python2-six'
+  'python2-imagesize'
+  'python2-sphinxcontrib-websupport'
+  'python2-sqlalchemy'
+  'python2-whoosh'
+  'python2-typing'
+)
+
+checkdepends=(
+  'texlive-latexextra'
+  'python-nose' 'python2-nose'
+  'python-snowballstemmer' 'python2-snowballstemmer'
+  'python-babel' 'python2-babel'
+  'python-sphinx-alabaster-theme' 'python2-sphinx-alabaster-theme'
+  'python-sphinx_rtd_theme' 'python2-sphinx_rtd_theme'
+  'python-mock' 'python2-mock'
+  'python-html5lib' 'python2-html5lib'
+  'python-requests' 'python2-requests'
+  'python2-pytest' 'python-pytest'
+  'python2-enum34'
+  'python-sphinxcontrib-websupport' 'python2-sphinxcontrib-websupport'
+  'imagemagick' 'librsvg'
+)
+
+source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc})
+
+validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E'
+              'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07')
+sha512sums=('f0a0aa9f6c57001c0c5326d941aa81cd49ec79abd15b217b121750c405a8f5bd6ab965e5eaf15c8be3d681aa711bac0405ff13f2b0a1d58b03c44be4335ed8e3'
+            'SKIP')
+
+prepare() {
+  # souce duplication is required because makefile modify source code
+  # setyp.py --build tricks don't works well
+  cp -a Sphinx-$pkgver Sphinx-${pkgver}2
+  # change python2 interpreter
+  find Sphinx-${pkgver}2 -type f -exec \
+    sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
+  # change sphinx-binaries name in source code
+  find Sphinx-${pkgver}2 -type f -name '*.py' -exec \
+    sed -ri 's,(sphinx-(:?build|apidoc|autogen|quickstart)),\12,' {} \;
+}
+
+build() {
+  msg2 'Python 3 version'
+  cd "$srcdir"/Sphinx-$pkgver
+  make PYTHON=python3 build
+
+  msg2 'Python 2 version'
+  cd "$srcdir"/Sphinx-${pkgver}2
+  make PYTHON=python2 build
+}
+
+#check() {
+#  msg2 'Python 3 version'
+#  cd "$srcdir"/Sphinx-$pkgver
+#  LC_ALL="en_US.UTF-8" make PYTHON=python3 test
+#  rm -r tests
+#
+#  msg2 'Python 2 version'
+#  cd "$srcdir"/Sphinx-${pkgver}2
+#  LC_ALL="en_US.UTF-8" make PYTHON=python2 test
+#  rm -r tests
+#}
+
+package_python-sphinx() {
+  pkgdesc='Python3 documentation generator'
+  depends=(
+    'python-setuptools'
+    'python-jinja'
+    'python-pygments'
+    'python-docutils'
+    'python-sphinx_rtd_theme'
+    'python-sphinx-alabaster-theme'
+    'python-babel'
+    'python-snowballstemmer'
+    'python-six'
+    'python-imagesize'
+    'python-requests'
+    'python-sphinxcontrib-websupport'
+    'python-sqlalchemy'
+    'python-whoosh'
+  )
+  optdepends=('texlive-latexextra: for generation of PDF documentation'
+              'imagemagick: ext.imageconverter')
+
+  cd Sphinx-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python-sphinx/LICENSE
+}
+
+package_python2-sphinx() {
+  pkgdesc='Python2 documentation generator'
+  depends=(
+    'python2-setuptools'
+    'python2-jinja'
+    'python2-pygments'
+    'python2-docutils'
+    'python2-sphinx_rtd_theme'
+    'python2-sphinx-alabaster-theme'
+    'python2-babel'
+    'python2-snowballstemmer'
+    'python2-six'
+    'python2-imagesize'
+    'python2-requests'
+    'python2-sphinxcontrib-websupport'
+    'python2-sqlalchemy'
+    'python2-whoosh'
+    'python2-typing'
+  )
+  optdepends=('texlive-latexextra: for generation of PDF documentation'
+              'imagemagick: ext.imageconverter')
+
+  cd Sphinx-${pkgver}2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python2-sphinx/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list