[arch-commits] Commit in python-pybtex/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 16:46:44 UTC 2020
Date: Monday, November 9, 2020 @ 16:46:43
Author: foutrelis
Revision: 747515
archrelease: copy trunk to community-staging-any
Added:
python-pybtex/repos/community-staging-any/
python-pybtex/repos/community-staging-any/PKGBUILD
(from rev 747513, python-pybtex/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-pybtex/repos/community-staging-any/PKGBUILD (from rev 747513, python-pybtex/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:46:43 UTC (rev 747515)
@@ -0,0 +1,33 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Contributor: Immae
+
+pkgname=python-pybtex
+pkgver=0.22.2
+pkgrel=4
+pkgdesc="A BibTeX-compatible bibliography processor written in Python"
+arch=("any")
+url="https://pybtex.org"
+license=("GPL")
+# Overridden in package_* functions
+depends=('python' 'python-setuptools' 'python-six' 'python-yaml' 'python-latexcodec')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/p/pybtex/pybtex-$pkgver.tar.gz")
+sha256sums=('00816e5f8570609d8ce3360cd23916bd3e50428a3508127578fdb4dc2b731c1c')
+
+build() {
+ cd "$srcdir/pybtex-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir/pybtex-$pkgver"
+ python setup.py nosetests
+}
+
+package() {
+ cd "$srcdir/pybtex-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ # Files under site-packages/tests/ conflict with other python packages.
+ rm -rf "$pkgdir"/usr/lib/python3.?/site-packages/tests/
+}
More information about the arch-commits
mailing list