[arch-commits] Commit in python-sphinx/repos (2 files)

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 12:12:46
  Author: foutrelis
Revision: 746860

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |   54 ++
 1 file changed, 54 insertions(+)

Copied: python-sphinx/repos/community-staging-any/PKGBUILD (from rev 746859, 
python-sphinx/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-09 12:12:46 UTC (rev 746860)
@@ -0,0 +1,54 @@
+# Maintainer: Johannes Löthberg 
+# Maintainer: Daniel M. Capella 
+# Contributor: Sébastien Luttringer
+# Contributor: Angel Velasquez 
+# Contributor: Fabio Volpe 
+
+pkgname=python-sphinx
+pkgver=3.2.1
+pkgrel=2
+pkgdesc='Python documentation generator'
+arch=('any')
+url=http://www.sphinx-doc.org/
+license=('BSD')
+depends=('python-babel'
+ 'python-docutils'
+ 'python-imagesize'
+ 'python-jinja'
+ 'python-pygments'
+ 'python-requests'
+ 'python-setuptools'
+ 'python-snowballstemmer'
+ 'python-sphinx-alabaster-theme'
+ 
'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml})
+checkdepends=('cython'
+  'imagemagick' 'librsvg'
+  'python-html5lib'
+  'python-pytest'
+  'texlive-fontsextra' 'texlive-latexextra')
+optdepends=('imagemagick: for ext.imgconverter'
+'texlive-latexextra: for generation of PDF documentation')
+source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc})
+sha256sums=('321d6d9b16fa381a5306e5a0b76cd48ffbc588e6340059a729c6fdd66087e0e8'
+'SKIP')
+validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E'  # Takeshi KOMIYA
+  'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07') # Takayuki 
Shimizukawa
+
+build() {
+  cd Sphinx-$pkgver
+  make build
+}
+
+check() {
+  cd Sphinx-$pkgver
+  LC_ALL="en_US.UTF-8" make test
+  rm -r tests
+}
+
+package() {
+  cd Sphinx-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-sphinx/repos (2 files)

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Saturday, October 26, 2019 @ 04:11:13
  Author: foutrelis
Revision: 519926

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |   53 +
 1 file changed, 53 insertions(+)

Copied: python-sphinx/repos/community-staging-any/PKGBUILD (from rev 519925, 
python-sphinx/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-26 04:11:13 UTC (rev 519926)
@@ -0,0 +1,53 @@
+# Maintainer: Johannes Löthberg 
+# Maintainer: Daniel M. Capella 
+# Contributor: Sébastien Luttringer
+# Contributor: Angel Velasquez 
+# Contributor: Fabio Volpe 
+
+pkgname=python-sphinx
+pkgver=2.2.0
+pkgrel=2
+pkgdesc='Python documentation generator'
+arch=('any')
+url=http://www.sphinx-doc.org/
+license=('BSD')
+depends=('python-babel'
+ 'python-docutils'
+ 'python-imagesize'
+ 'python-jinja'
+ 'python-pygments'
+ 'python-requests'
+ 'python-setuptools'
+ 'python-snowballstemmer'
+ 'python-sphinx-alabaster-theme'
+ 
'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml})
+checkdepends=('imagemagick' 'librsvg'
+  'python-html5lib'
+  'python-pytest'
+  'texlive-fontsextra' 'texlive-latexextra')
+optdepends=('imagemagick: for ext.imgconverter'
+'texlive-latexextra: for generation of PDF documentation')
+source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc})
+sha256sums=('0d586b0f8c2fc3cc6559c5e8fd6124628110514fda0e5d7c82e682d749d2e845'
+'SKIP')
+validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E'  # Takeshi KOMIYA
+  'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07') # Takayuki 
Shimizukawa
+
+build() {
+  cd Sphinx-$pkgver
+  make build
+}
+
+check() {
+  cd Sphinx-$pkgver
+  LC_ALL="en_US.UTF-8" make test
+  rm -r tests
+}
+
+package() {
+  cd Sphinx-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-sphinx/repos (2 files)

2018-10-16 Thread Felix Yan via arch-commits
Date: Wednesday, October 17, 2018 @ 05:49:37
  Author: felixonmars
Revision: 394958

archrelease: copy trunk to community-testing-any

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

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

Copied: python-sphinx/repos/community-testing-any/PKGBUILD (from rev 394957, 
python-sphinx/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2018-10-17 05:49:37 UTC (rev 394958)
@@ -0,0 +1,149 @@
+# Maintainer: Johannes Löthberg 
+# Contributor: Sébastien Luttringer
+# Contributor: Angel Velasquez 
+# Contributor: Fabio Volpe 
+
+pkgbase=python-sphinx
+pkgname=('python-sphinx' 'python2-sphinx')
+pkgver=1.8.1
+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=('971a478ccd0f77e7e9bf8548a31805140d2d757f237493e63a3046309683b1f6ae4f943f0b66cc8e00c3917a40c1c8e4cd2ec5133ff7ca565584b058bab5e677'
+'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 

[arch-commits] Commit in python-sphinx/repos (2 files)

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 07:33:15
  Author: felixonmars
Revision: 347966

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |  150 +
 1 file changed, 150 insertions(+)

Copied: python-sphinx/repos/community-staging-any/PKGBUILD (from rev 347965, 
python-sphinx/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-06-30 07:33:15 UTC (rev 347966)
@@ -0,0 +1,150 @@
+# $Id$
+# Maintainer: Johannes Löthberg 
+# Contributor: Sébastien Luttringer
+# Contributor: Angel Velasquez 
+# Contributor: Fabio Volpe 
+
+pkgbase=python-sphinx
+pkgname=('python-sphinx' 'python2-sphinx')
+pkgver=1.7.5
+pkgrel=2
+
+arch=('any')
+url='http://sphinx.pocoo.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')
+md5sums=('478a4d94506febd4786f47cc8ae297bb'
+ '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:


[arch-commits] Commit in python-sphinx/repos (2 files)

2016-12-24 Thread Bartłomiej Piotrowski
Date: Sunday, December 25, 2016 @ 02:50:15
  Author: bpiotrowski
Revision: 201803

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |  126 +
 1 file changed, 126 insertions(+)

Copied: python-sphinx/repos/community-staging-any/PKGBUILD (from rev 201802, 
python-sphinx/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-25 02:50:15 UTC (rev 201803)
@@ -0,0 +1,126 @@
+# $Id$
+# Maintainer: Johannes Löthberg 
+# Contributor: Sébastien Luttringer
+# Contributor: Angel Velasquez 
+# Contributor: Fabio Volpe 
+
+pkgbase=python-sphinx
+pkgname=('python-sphinx' 'python2-sphinx')
+pkgver=1.5.1
+pkgrel=2
+
+arch=('any')
+url='http://sphinx.pocoo.org/'
+license=('BSD')
+
+makedepends=(
+  'python-setuptools'
+  'python-docutils'
+  'python-jinja'
+  'python-pygments'
+  'python-six'
+  'python-imagesize'
+  'python2-setuptools'
+  'python2-docutils'
+  'python2-jinja'
+  'python2-pygments'
+  'python2-six'
+  'python2-imagesize'
+)
+
+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-enum34'
+)
+
+source=("https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz;)
+
+md5sums=('1abb725861037e13cbc49eb84cd8cef3')
+
+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-jinja'
+'python-pygments'
+'python-docutils'
+'python-sphinx_rtd_theme'
+'python-sphinx-alabaster-theme'
+'python-babel'
+'python-snowballstemmer'
+'python-six'
+'python-imagesize'
+'python-requests'
+  )
+  optdepends=('texlive-latexextra: for generation of PDF documentation')
+
+  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-jinja'
+'python2-pygments'
+'python2-docutils'
+'python2-sphinx_rtd_theme'
+'python2-sphinx-alabaster-theme'
+'python2-babel'
+'python2-snowballstemmer'
+'python2-six'
+'python2-imagesize'
+'python2-requests'
+  )
+  optdepends=('texlive-latexextra: for generation of PDF documentation')
+
+  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:


[arch-commits] Commit in python-sphinx/repos (2 files)

2016-08-21 Thread Johannes Löthberg
Date: Sunday, August 21, 2016 @ 08:57:03
  Author: demize
Revision: 187229

archrelease: copy trunk to community-testing-any

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

--+
 PKGBUILD |  123 +
 1 file changed, 123 insertions(+)

Copied: python-sphinx/repos/community-testing-any/PKGBUILD (from rev 187228, 
python-sphinx/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2016-08-21 08:57:03 UTC (rev 187229)
@@ -0,0 +1,123 @@
+# $Id$
+# Maintainer: Johannes Löthberg 
+# Contributor: Sébastien Luttringer
+# Contributor: Angel Velasquez 
+# Contributor: Fabio Volpe 
+
+pkgbase=python-sphinx
+pkgname=('python-sphinx' 'python2-sphinx')
+pkgver=1.4.6
+pkgrel=1
+
+arch=('any')
+url='http://sphinx.pocoo.org/'
+license=('BSD')
+
+makedepends=(
+  'python-setuptools'
+  'python-docutils'
+  'python-jinja'
+  'python-pygments'
+  'python-six'
+  'python-imagesize'
+  'python2-setuptools'
+  'python2-docutils'
+  'python2-jinja'
+  'python2-pygments'
+  'python2-six'
+  'python2-imagesize'
+)
+
+checkdepends=(
+  'python-nose' 'python2-nose'
+  'texlive-latexextra'
+  'python-snowballstemmer' 'python2-snowballstemmer'
+  'python-babel' 'python2-babel'
+  'python-sphinx-alabaster-theme' 'python2-sphinx-alabaster-theme'
+  'python-sphinx_rtd_theme' 'python2-sphinx_rtd_theme'
+  'python2-mock'
+)
+
+source=("https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc})
+
+validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E')
+md5sums=('e86658823b51296dbe6ebff5f58988c9'
+ '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
+#  make PYTHON=python3 test
+  rm -r tests
+
+  msg2 'Python 2 version'
+  cd "$srcdir"/Sphinx-${pkgver}2
+#  make PYTHON=python2 test
+  rm -r tests
+}
+
+package_python-sphinx() {
+  pkgdesc='Python3 documentation generator'
+  depends=(
+'python-jinja'
+'python-pygments'
+'python-docutils'
+'python-sphinx_rtd_theme'
+'python-sphinx-alabaster-theme'
+'python-babel'
+'python-snowballstemmer'
+'python-six'
+'python-imagesize'
+  )
+  optdepends=('texlive-latexextra: for generation of PDF documentation')
+
+  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-jinja'
+'python2-pygments'
+'python2-docutils'
+'python2-sphinx_rtd_theme'
+'python2-sphinx-alabaster-theme'
+'python2-babel'
+'python2-snowballstemmer'
+'python2-six'
+'python2-imagesize'
+  )
+  optdepends=('texlive-latexextra: for generation of PDF documentation')
+
+  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:


[arch-commits] Commit in python-sphinx/repos (2 files)

2015-05-09 Thread Antonio Rojas
Date: Saturday, May 9, 2015 @ 21:32:32
  Author: arojas
Revision: 133138

archrelease: copy trunk to community-testing-any

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

--+
 PKGBUILD |   88 +
 1 file changed, 88 insertions(+)

Copied: python-sphinx/repos/community-testing-any/PKGBUILD (from rev 133137, 
python-sphinx/trunk/PKGBUILD)
===
--- community-testing-any/PKGBUILD  (rev 0)
+++ community-testing-any/PKGBUILD  2015-05-09 19:32:32 UTC (rev 133138)
@@ -0,0 +1,88 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Angel Velasquez an...@archlinux.org
+# Contributor: Fabio Volpe volpefa...@gmail.com
+
+pkgbase=python-sphinx
+pkgname=('python-sphinx' 'python2-sphinx')
+pkgver=1.3.1
+pkgrel=1
+arch=('any')
+url='http://sphinx.pocoo.org/'
+license=('GPL')
+makedepends=(
+  'python-setuptools'
+  'python-docutils'
+  'python-jinja'
+  'python-pygments'
+  'python-six'
+  'python2-setuptools'
+  'python2-docutils'
+  'python2-jinja'
+  'python2-pygments'
+  'python2-six'
+)
+checkdepends=(
+  'python-nose' 'python2-nose'
+  'texlive-latexextra'
+  'python-snowballstemmer' 'python2-snowballstemmer'
+  'python-babel' 'python2-babel'
+  'python-sphinx-alabaster-theme' 'python2-sphinx-alabaster-theme'
+  'python-sphinx_rtd_theme' 'python2-sphinx_rtd_theme'
+  'python2-mock'
+)
+source=(http://pypi.python.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz;)
+md5sums=('8786a194acf9673464c5455b11fd4332')
+
+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
+  make PYTHON=python3 test
+  rm -r tests
+
+  msg2 'Python 2 version'
+  cd $srcdir/Sphinx-${pkgver}2
+  make PYTHON=python2 test
+  rm -r tests
+}
+
+package_python-sphinx() {
+  pkgdesc='Python3 documentation generator'
+  depends=('python-jinja' 'python-pygments' 'python-docutils')
+  optdepends=('texlive-latexextra: for generation of PDF documentation')
+
+  cd Sphinx-$pkgver
+  python setup.py install --root=$pkgdir --optimize=1
+}
+
+package_python2-sphinx() {
+  pkgdesc='Python2 documentation generator'
+  depends=('python2-jinja' 'python2-pygments' 'python2-docutils')
+  optdepends=('texlive-latexextra: for generation of PDF documentation')
+
+  cd Sphinx-${pkgver}2
+  python2 setup.py install --root=$pkgdir --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in python-sphinx/repos (2 files)

2014-03-17 Thread Sébastien Luttringer
Date: Tuesday, March 18, 2014 @ 01:25:30
  Author: seblu
Revision: 107566

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |   79 +
 1 file changed, 79 insertions(+)

Copied: python-sphinx/repos/community-staging-any/PKGBUILD (from rev 107565, 
python-sphinx/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2014-03-18 00:25:30 UTC (rev 107566)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Angel Velasquez an...@archlinux.org
+# Contributor: Fabio Volpe volpefa...@gmail.com
+
+pkgbase=python-sphinx
+pkgname=('python-sphinx' 'python2-sphinx')
+pkgver=1.2.2
+pkgrel=2
+arch=('any')
+url='http://sphinx.pocoo.org/'
+license=('GPL')
+makedepends=(
+  'python-setuptools'
+  'python-docutils'
+  'python-jinja'
+  'python-pygments'
+  'python2-setuptools'
+  'python2-docutils'
+  'python2-jinja'
+  'python2-pygments'
+)
+checkdepends=(
+  'python-nose'
+  'python2-nose'
+  'texlive-latexextra'
+)
+source=(http://pypi.python.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz;)
+md5sums=('3dc73ccaa8d0bfb2d62fb671b1f7e8a4')
+
+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
+  make PYTHON=python3 test
+  msg2 'Python 2 version'
+  cd $srcdir/Sphinx-${pkgver}2
+  make PYTHON=python2 test
+}
+
+package_python-sphinx() {
+  pkgdesc='Python3 documentation generator'
+  depends=('python-jinja' 'python-pygments' 'python-docutils')
+  optdepends=('texlive-latexextra: for generation of PDF documentation')
+
+  cd Sphinx-$pkgver
+  python setup.py install --root=$pkgdir --optimize=1
+}
+
+package_python2-sphinx() {
+  pkgdesc='Python2 documentation generator'
+  depends=('python2-jinja' 'python2-pygments' 'python2-docutils')
+  optdepends=('texlive-latexextra: for generation of PDF documentation')
+
+  cd Sphinx-${pkgver}2
+  python2 setup.py install --root=$pkgdir --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: