diff options
author | Jakob Gahde | 2019-05-08 14:13:27 +0200 |
---|---|---|
committer | Jakob Gahde | 2019-05-08 14:13:27 +0200 |
commit | 478618bd0941c39dbd1e0202c3579902a64a53b2 (patch) | |
tree | 0f7895b8ff0470bcb587c2e4820079509c29ae4d | |
parent | 4e35d35e82cf50039d766681fa65995c6bf99471 (diff) | |
download | aur-478618bd0941c39dbd1e0202c3579902a64a53b2.tar.gz |
python-sphinx1 1.8.5-1: New package based on python-sphinx
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 25 insertions, 14 deletions
@@ -1,4 +1,4 @@ -pkgbase = python-sphinx +pkgbase = python-sphinx1 pkgver = 1.8.5 pkgrel = 1 url = http://www.sphinx-doc.org/ @@ -54,8 +54,8 @@ pkgbase = python-sphinx sha512sums = d7e6a7a6186d1d4e4de0233fb6859da1ef3e02f628512ff9096ef4775b9fb8589edb9052d752925d7a2f1cb7901291af96b5036a5d00f5f58966609bd42872f4 sha512sums = SKIP -pkgname = python-sphinx - pkgdesc = Python3 documentation generator +pkgname = python-sphinx1 + pkgdesc = Python3 documentation generator (version 1) depends = python-setuptools depends = python-jinja depends = python-pygments @@ -72,9 +72,11 @@ pkgname = python-sphinx depends = python-whoosh optdepends = texlive-latexextra: for generation of PDF documentation optdepends = imagemagick: ext.imageconverter + provides = python-sphinx=1.8.5 + conflicts = python-sphinx -pkgname = python2-sphinx - pkgdesc = Python2 documentation generator +pkgname = python2-sphinx1 + pkgdesc = Python2 documentation generator (version 1) depends = python2-setuptools depends = python2-jinja depends = python2-pygments @@ -92,4 +94,6 @@ pkgname = python2-sphinx depends = python2-typing optdepends = texlive-latexextra: for generation of PDF documentation optdepends = imagemagick: ext.imageconverter + provides = python2-sphinx=1.8.5 + conflicts = python2-sphinx @@ -1,10 +1,11 @@ -# Maintainer: Johannes Löthberg <johannes@kyriasis.com> +# Contributor: Jakob Gahde <j5lx@fmail.co.uk> +# Contributor: Johannes Löthberg <johannes@kyriasis.com> # Contributor: Sébastien Luttringer # Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Fabio Volpe <volpefabio@gmail.com> -pkgbase=python-sphinx -pkgname=('python-sphinx' 'python2-sphinx') +pkgbase=python-sphinx1 +pkgname=('python-sphinx1' 'python2-sphinx1') pkgver=1.8.5 pkgrel=1 @@ -91,8 +92,8 @@ build() { # rm -r tests #} -package_python-sphinx() { - pkgdesc='Python3 documentation generator' +package_python-sphinx1() { + pkgdesc='Python3 documentation generator (version 1)' depends=( 'python-setuptools' 'python-jinja' @@ -112,14 +113,17 @@ package_python-sphinx() { optdepends=('texlive-latexextra: for generation of PDF documentation' 'imagemagick: ext.imageconverter') + provides=("python-sphinx=$pkgver") + conflicts=('python-sphinx') + cd Sphinx-$pkgver python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python-sphinx/LICENSE + install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python-sphinx1/LICENSE } -package_python2-sphinx() { - pkgdesc='Python2 documentation generator' +package_python2-sphinx1() { + pkgdesc='Python2 documentation generator (version 1)' depends=( 'python2-setuptools' 'python2-jinja' @@ -140,10 +144,13 @@ package_python2-sphinx() { optdepends=('texlive-latexextra: for generation of PDF documentation' 'imagemagick: ext.imageconverter') + provides=("python2-sphinx=$pkgver") + conflicts=('python2-sphinx') + 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 + install -Dm644 "$srcdir"/Sphinx-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/python2-sphinx1/LICENSE } # vim:set ts=2 sw=2 et: |