[arch-commits] Commit in python-pybtex/repos/community-staging-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 08:05:06 UTC 2020


    Date: Thursday, November 12, 2020 @ 08:05:05
  Author: felixonmars
Revision: 751330

archrelease: copy trunk to community-staging-any

Added:
  python-pybtex/repos/community-staging-any/PKGBUILD
    (from rev 751329, python-pybtex/trunk/PKGBUILD)
Deleted:
  python-pybtex/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 08:04:54 UTC (rev 751329)
+++ PKGBUILD	2020-11-12 08:05:05 UTC (rev 751330)
@@ -1,33 +0,0 @@
-# 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/
-}

Copied: python-pybtex/repos/community-staging-any/PKGBUILD (from rev 751329, python-pybtex/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 08:05:05 UTC (rev 751330)
@@ -0,0 +1,33 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Contributor: Immae
+
+pkgname=python-pybtex
+pkgver=0.23.0
+pkgrel=1
+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-pytest')
+source=("https://pypi.io/packages/source/p/pybtex/pybtex-$pkgver.tar.gz")
+sha256sums=('b92be18ccd5e9a37895949dcf359a1f6890246b73646dddf1129178ee12e4bef')
+
+build() {
+  cd "$srcdir/pybtex-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir/pybtex-$pkgver"
+  pytest
+}
+
+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