Date: Friday, April 20, 2018 @ 06:53:45 Author: zorun Revision: 317112
archrelease: copy trunk to community-any Added: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 317111, python-sphinxcontrib-bibtex/trunk/PKGBUILD) Deleted: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD ----------+ PKGBUILD | 108 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-20 06:53:25 UTC (rev 317111) +++ PKGBUILD 2018-04-20 06:53:45 UTC (rev 317112) @@ -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.3.6 -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=('ec4ec071d8c81d2165c55736bfd917352ef59247d2098339fed9e0aecc1cd4d5') - -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 317111, python-sphinxcontrib-bibtex/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-20 06:53:45 UTC (rev 317112) @@ -0,0 +1,54 @@ +# 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=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=('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" +}