[arch-commits] Commit in python-sphinxcontrib-bibtex/repos/community-any (2 files)

Baptiste Jonglez zorun at archlinux.org
Mon Dec 3 10:23:18 UTC 2018


    Date: Monday, December 3, 2018 @ 10:23:18
  Author: zorun
Revision: 410901

archrelease: copy trunk to community-any

Added:
  python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD
    (from rev 410900, python-sphinxcontrib-bibtex/trunk/PKGBUILD)
Deleted:
  python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-03 10:23:03 UTC (rev 410900)
+++ PKGBUILD	2018-12-03 10:23:18 UTC (rev 410901)
@@ -1,54 +0,0 @@
-# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
-# Contributor: Patrice Peterson <runiq at archlinux dot us>
-
-pkgbase=python-sphinxcontrib-bibtex
-pkgname=(python-sphinxcontrib-bibtex python2-sphinxcontrib-bibtex)
-pkgver=0.4.0
-pkgrel=2
-pkgdesc="A Sphinx extension for BibTeX style citations"
-arch=('any')
-url="http://sphinxcontrib-bibtex.readthedocs.org"
-license=('BSD')
-depends=('python-six' 'python-sphinx' 'python-pybtex' 'python-pybtex-docutils' 'python-oset'
-         'python2-six' 'python2-sphinx' 'python2-pybtex' 'python2-pybtex-docutils' 'python2-oset')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python-sphinx-testing'
-              'python2-nose' 'python2-sphinx-testing')
-source=("https://pypi.io/packages/source/s/sphinxcontrib-bibtex/sphinxcontrib-bibtex-$pkgver.tar.gz")
-sha256sums=('cb9fb4526642fc080204fccd5cd8f41e9e95387278e17b1d6969b1e27c2d3e0c')
-
-prepare() {
-  cp -a sphinxcontrib-bibtex-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/sphinxcontrib-bibtex-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/sphinxcontrib-bibtex-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/sphinxcontrib-bibtex-$pkgver"
-  python setup.py nosetests || warning "Some python3 tests failed"
-
-  cd "$srcdir/sphinxcontrib-bibtex-$pkgver-py2"
-  python2 setup.py nosetests || warning "Some python2 tests failed"
-}
-
-package_python-sphinxcontrib-bibtex() {
-  depends=('python-six' 'python-sphinx' 'python-pybtex' 'python-pybtex-docutils' 'python-oset')
-
-  cd "$srcdir/sphinxcontrib-bibtex-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-sphinxcontrib-bibtex() {
-  depends=('python2-six' 'python2-sphinx' 'python2-pybtex' 'python2-pybtex-docutils' 'python2-oset')
-
-  cd "$srcdir/sphinxcontrib-bibtex-$pkgver-py2"
-  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 410900, python-sphinxcontrib-bibtex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-03 10:23:18 UTC (rev 410901)
@@ -0,0 +1,56 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Contributor: Patrice Peterson <runiq at archlinux dot us>
+
+pkgbase=python-sphinxcontrib-bibtex
+pkgname=(python-sphinxcontrib-bibtex python2-sphinxcontrib-bibtex)
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A Sphinx extension for BibTeX style citations"
+arch=('any')
+url="http://sphinxcontrib-bibtex.readthedocs.org"
+license=('BSD')
+depends=('python-six' 'python-sphinx' 'python-pybtex' 'python-pybtex-docutils' 'python-oset'
+         'python2-six' 'python2-sphinx' 'python2-pybtex' 'python2-pybtex-docutils' 'python2-oset')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python-sphinx-testing'
+              'python2-nose' 'python2-sphinx-testing')
+source=("https://pypi.io/packages/source/s/sphinxcontrib-bibtex/sphinxcontrib-bibtex-$pkgver.tar.gz")
+sha256sums=('595b8d73fcb3c57f5b3cb4f377b9afd33a8b0e485fd4fbf3f3342627f122a04f')
+
+prepare() {
+  cp -a sphinxcontrib-bibtex-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir/sphinxcontrib-bibtex-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/sphinxcontrib-bibtex-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/sphinxcontrib-bibtex-$pkgver"
+  # Some tests fail because of a warning
+  python setup.py nosetests || warning "Some python3 tests failed"
+
+  cd "$srcdir/sphinxcontrib-bibtex-$pkgver-py2"
+  # Some tests fail because of a warning
+  python2 setup.py nosetests || warning "Some python2 tests failed"
+}
+
+package_python-sphinxcontrib-bibtex() {
+  depends=('python-six' 'python-sphinx' 'python-pybtex' 'python-pybtex-docutils' 'python-oset')
+
+  cd "$srcdir/sphinxcontrib-bibtex-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-sphinxcontrib-bibtex() {
+  depends=('python2-six' 'python2-sphinx' 'python2-pybtex' 'python2-pybtex-docutils' 'python2-oset')
+
+  cd "$srcdir/sphinxcontrib-bibtex-$pkgver-py2"
+  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list