[arch-commits] Commit in python-sphinxcontrib-bibtex/repos/community-any (2 files)
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 === --- PKGBUILD2020-09-01 11:25:46 UTC (rev 695387) +++ PKGBUILD2020-09-01 11:25:52 UTC (rev 695388) @@ -1,32 +0,0 @@ -# Maintainer: Baptiste Jonglez -# Contributor: Patrice Peterson - -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) +++ PKGBUILD2020-09-01 11:25:52 UTC (rev 695388) @@ -0,0 +1,35 @@ +# Maintainer: Konstantin Gizdov +# Co-Maintainer: Baptiste Jonglez +# Contributor: Patrice Peterson + +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" +}
[arch-commits] Commit in python-sphinxcontrib-bibtex/repos/community-any (2 files)
Date: Friday, December 6, 2019 @ 21:47:26 Author: zorun Revision: 536118 archrelease: copy trunk to community-any Added: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 536117, python-sphinxcontrib-bibtex/trunk/PKGBUILD) Deleted: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD --+ PKGBUILD | 64 ++--- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-12-06 21:47:12 UTC (rev 536117) +++ PKGBUILD2019-12-06 21:47:26 UTC (rev 536118) @@ -1,32 +0,0 @@ -# Maintainer: Baptiste Jonglez -# Contributor: Patrice Peterson - -pkgname=python-sphinxcontrib-bibtex -pkgver=0.4.2 -pkgrel=3 -pkgdesc="A Sphinx extension for BibTeX style citations" -arch=('any') -url="https://sphinxcontrib-bibtex.readthedocs.org; -license=('BSD') -depends=('python-six' '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=('169afb3a3485775e5473934a0fdff1780e8bdcdd44db7ed286044a074331c729') - -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 536117, python-sphinxcontrib-bibtex/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-12-06 21:47:26 UTC (rev 536118) @@ -0,0 +1,32 @@ +# Maintainer: Baptiste Jonglez +# Contributor: Patrice Peterson + +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" +}
[arch-commits] Commit in python-sphinxcontrib-bibtex/repos/community-any (2 files)
Date: Sunday, April 14, 2019 @ 10:36:55 Author: zorun Revision: 451572 archrelease: copy trunk to community-any Added: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 451571, python-sphinxcontrib-bibtex/trunk/PKGBUILD) Deleted: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD --+ PKGBUILD | 88 ++--- 1 file changed, 32 insertions(+), 56 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-04-14 10:36:45 UTC (rev 451571) +++ PKGBUILD2019-04-14 10:36:55 UTC (rev 451572) @@ -1,56 +0,0 @@ -# Maintainer: Baptiste Jonglez -# Contributor: Patrice Peterson - -pkgbase=python-sphinxcontrib-bibtex -pkgname=(python-sphinxcontrib-bibtex python2-sphinxcontrib-bibtex) -pkgver=0.4.2 -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=('169afb3a3485775e5473934a0fdff1780e8bdcdd44db7ed286044a074331c729') - -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" -} Copied: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 451571, python-sphinxcontrib-bibtex/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-04-14 10:36:55 UTC (rev 451572) @@ -0,0 +1,32 @@ +# Maintainer: Baptiste Jonglez +# Contributor: Patrice Peterson + +pkgname=python-sphinxcontrib-bibtex +pkgver=0.4.2 +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') +makedepends=('python-setuptools') +checkdepends=('python-nose' 'python-sphinx-testing') +source=("https://pypi.io/packages/source/s/sphinxcontrib-bibtex/sphinxcontrib-bibtex-$pkgver.tar.gz;) +sha256sums=('169afb3a3485775e5473934a0fdff1780e8bdcdd44db7ed286044a074331c729') + +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" +}
[arch-commits] Commit in python-sphinxcontrib-bibtex/repos/community-any (2 files)
Date: Saturday, January 12, 2019 @ 14:40:32 Author: zorun Revision: 422719 archrelease: copy trunk to community-any Added: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 422718, python-sphinxcontrib-bibtex/trunk/PKGBUILD) Deleted: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD --+ PKGBUILD | 112 ++--- 1 file changed, 56 insertions(+), 56 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-12 14:40:17 UTC (rev 422718) +++ PKGBUILD2019-01-12 14:40:32 UTC (rev 422719) @@ -1,56 +0,0 @@ -# Maintainer: Baptiste Jonglez -# Contributor: Patrice Peterson - -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" -} Copied: python-sphinxcontrib-bibtex/repos/community-any/PKGBUILD (from rev 422718, python-sphinxcontrib-bibtex/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-12 14:40:32 UTC (rev 422719) @@ -0,0 +1,56 @@ +# Maintainer: Baptiste Jonglez +# Contributor: Patrice Peterson + +pkgbase=python-sphinxcontrib-bibtex +pkgname=(python-sphinxcontrib-bibtex python2-sphinxcontrib-bibtex) +pkgver=0.4.2 +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=('169afb3a3485775e5473934a0fdff1780e8bdcdd44db7ed286044a074331c729') + +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'
[arch-commits] Commit in python-sphinxcontrib-bibtex/repos/community-any (2 files)
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 === --- PKGBUILD2018-12-03 10:23:03 UTC (rev 410900) +++ PKGBUILD2018-12-03 10:23:18 UTC (rev 410901) @@ -1,54 +0,0 @@ -# Maintainer: Baptiste Jonglez -# Contributor: Patrice Peterson - -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) +++ PKGBUILD2018-12-03 10:23:18 UTC (rev 410901) @@ -0,0 +1,56 @@ +# Maintainer: Baptiste Jonglez +# Contributor: Patrice Peterson + +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
[arch-commits] Commit in python-sphinxcontrib-bibtex/repos/community-any (2 files)
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 === --- PKGBUILD2018-04-20 06:53:25 UTC (rev 317111) +++ PKGBUILD2018-04-20 06:53:45 UTC (rev 317112) @@ -1,54 +0,0 @@ -# Maintainer: Baptiste Jonglez -# Contributor: Patrice Peterson - -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) +++ PKGBUILD2018-04-20 06:53:45 UTC (rev 317112) @@ -0,0 +1,54 @@ +# Maintainer: Baptiste Jonglez +# Contributor: Patrice Peterson + +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 +