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

Sébastien Luttringer seblu at nymeria.archlinux.org
Sat Mar 8 20:39:18 UTC 2014


    Date: Saturday, March 8, 2014 @ 21:39:18
  Author: seblu
Revision: 106832

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-08 20:39:02 UTC (rev 106831)
+++ PKGBUILD	2014-03-08 20:39:18 UTC (rev 106832)
@@ -1,79 +0,0 @@
-# $Id$
-# Maintainer: 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.2.1
-pkgrel=1
-arch=('any')
-url='http://sphinx.pocoo.org/'
-license=('GPL')
-makedepends=(
-  'python-distribute'
-  'python-docutils'
-  'python-jinja'
-  'python-pygments'
-  'python2-distribute'
-  '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=('104494f036889122c9f403ae065ae7a9')
-
-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:

Copied: python-sphinx/repos/community-any/PKGBUILD (from rev 106831, python-sphinx/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-03-08 20:39:18 UTC (rev 106832)
@@ -0,0 +1,79 @@
+# $Id$
+# Maintainer: 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.2.2
+pkgrel=1
+arch=('any')
+url='http://sphinx.pocoo.org/'
+license=('GPL')
+makedepends=(
+  'python-distribute'
+  'python-docutils'
+  'python-jinja'
+  'python-pygments'
+  'python2-distribute'
+  '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:




More information about the arch-commits mailing list