Date: Tuesday, September 1, 2020 @ 11:25:52 Author: kgizdov Revision: 695388
archrelease: copy trunk to community-any Added: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 695387, python-sphinxcontrib-bibtex/trunk/PKGBUILD) Deleted: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD ----------+ PKGBUILD | 67 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-01 11:25:46 UTC (rev 695387) +++ PKGBUILD 2020-09-01 11:25:52 UTC (rev 695388) @@ -1,32 +0,0 @@ -# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org> -# Contributor: Patrice Peterson <runiq at archlinux dot us> - -pkgname=python-sphinxcontrib-bibtex -pkgver=1.0.0 -pkgrel=1 -pkgdesc="A Sphinx extension for BibTeX style citations" -arch=('any') -url="https://sphinxcontrib-bibtex.readthedocs.org" -license=('BSD') -depends=('python-sphinx' 'python-pybtex' 'python-pybtex-docutils' 'python-oset') -makedepends=('python-setuptools') -checkdepends=('python-nose' 'python-sphinx-testing') -source=("https://pypi.io/packages/source/s/sphinxcontrib-bibtex/sphinxcontrib-bibtex-$pkgver.tar.gz") -sha256sums=('629612b001f86784669d65e662377a482052decfd9a0a17c46860878eef7b9e0') - -build() { - cd "$srcdir/sphinxcontrib-bibtex-$pkgver" - python setup.py build -} - -check() { - cd "$srcdir/sphinxcontrib-bibtex-$pkgver" - # Some tests fail because of a warning: https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/163 - python setup.py nosetests || warning "Some python3 tests failed" -} - -package() { - 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" -} Copied: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 695387, python-sphinxcontrib-bibtex/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-01 11:25:52 UTC (rev 695388) @@ -0,0 +1,35 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> +# Co-Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org> +# Contributor: Patrice Peterson <runiq at archlinux dot us> + +pkgname=python-sphinxcontrib-bibtex +pkgver=1.0.0 +pkgrel=2 +pkgdesc="A Sphinx extension for BibTeX style citations" +arch=('any') +url="https://sphinxcontrib-bibtex.readthedocs.org" +license=('BSD') +depends=('python-sphinx' 'python-pybtex' 'python-pybtex-docutils' 'python-oset') +makedepends=('python-setuptools') +checkdepends=('python-nose' 'python-sphinx-testing' 'python-coverage') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mcmtroffaes/sphinxcontrib-bibtex/archive/1.0.0.tar.gz") +sha256sums=('964798058d91783bdd358c68e9f3a4e214a075dca91f8d91637f09ac467130d8') + +build() { + cd "$srcdir/sphinxcontrib-bibtex-$pkgver" + python setup.py build +} + +check() { + cd "$srcdir/sphinxcontrib-bibtex-$pkgver" + # Some tests fail because of a warning: https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/163 + local MY_YELLOW='\033[1;33m' + local MY_NOCOLOUR='\033[0m' + python setup.py nosetests || echo -e "${MY_YELLOW}WARNING: Some python3 tests failed!\n(https://github.com/mcmtroffaes/sphinxcontrib-bibtex/issues/163)${MY_NOCOLOUR}" +} + +package() { + 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" +}