[arch-commits] Commit in python-pytest-benchmark/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 18 18:07:51 UTC 2020


    Date: Wednesday, November 18, 2020 @ 18:07:50
  Author: felixonmars
Revision: 757147

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-benchmark/repos/community-staging-any/PKGBUILD
    (from rev 757146, python-pytest-benchmark/trunk/PKGBUILD)
Deleted:
  python-pytest-benchmark/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 41 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-18 18:07:39 UTC (rev 757146)
+++ PKGBUILD	2020-11-18 18:07:50 UTC (rev 757147)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-benchmark
-pkgver=3.2.3
-pkgrel=3
-pkgdesc='A py.test fixture for benchmarking code'
-arch=('any')
-license=('BSD')
-url='https://github.com/ionelmc/pytest-benchmark'
-depends=('python-pytest' 'python-py-cpuinfo')
-makedepends=('python-setuptools')
-checkdepends=('python-pygal' 'python-freezegun' 'mercurial' 'python-aspectlib'
-              'python-pytest-xdist' 'python-elasticsearch' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/pytest-benchmark/archive/v$pkgver.tar.gz")
-sha512sums=('952dbe2a9af1ae5de966543eae3b4523a5418c8441785714cbb7a5d17697046f060befb4a40cf216526e2a9a63d91c598d65e65618bd78fc2d889c92cecbbe53')
-
-build() {
-  cd pytest-benchmark-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd pytest-benchmark-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" python -m pytest tests
-}
-
-package() {
-  cd "$srcdir"/pytest-benchmark-$pkgver
-  python setup.py install --root="$pkgdir"/ --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-benchmark/repos/community-staging-any/PKGBUILD (from rev 757146, python-pytest-benchmark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-18 18:07:50 UTC (rev 757147)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-benchmark
+pkgver=3.2.3
+pkgrel=4
+pkgdesc='A py.test fixture for benchmarking code'
+arch=('any')
+license=('BSD')
+url='https://github.com/ionelmc/pytest-benchmark'
+depends=('python-pytest' 'python-py-cpuinfo')
+makedepends=('python-setuptools')
+checkdepends=('python-pygal' 'python-freezegun' 'mercurial' 'python-aspectlib'
+              'python-pytest-xdist' 'python-elasticsearch' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ionelmc/pytest-benchmark/archive/v$pkgver.tar.gz")
+sha512sums=('952dbe2a9af1ae5de966543eae3b4523a5418c8441785714cbb7a5d17697046f060befb4a40cf216526e2a9a63d91c598d65e65618bd78fc2d889c92cecbbe53')
+
+prepare() {
+  cd pytest-benchmark-$pkgver
+  sed -i 's/\[glob_or_file ...]]/...]/' tests/test_cli.py
+}
+
+build() {
+  cd pytest-benchmark-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-benchmark-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" PATH="$PWD/tmp_install/usr/bin:$PATH" python -m pytest tests
+}
+
+package() {
+  cd "$srcdir"/pytest-benchmark-$pkgver
+  python setup.py install --root="$pkgdir"/ --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list