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

Felix Yan felixonmars at archlinux.org
Fri May 14 13:56:40 UTC 2021


    Date: Friday, May 14, 2021 @ 13:56:40
  Author: felixonmars
Revision: 934016

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 13:56:29 UTC (rev 934015)
+++ PKGBUILD	2021-05-14 13:56:40 UTC (rev 934016)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-benchmark
-pkgver=3.4.0
-pkgrel=1
-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=('53e190c03123c3eb3f613d3a7b36212547e5e1b9f193d8ec9a6f19392dee5ac49069037df8773ed089816027573ca4d0cba5441977ad89f608aa6b637a17f817')
-
-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:

Copied: python-pytest-benchmark/repos/community-any/PKGBUILD (from rev 934015, python-pytest-benchmark/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-14 13:56:40 UTC (rev 934016)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-benchmark
+pkgver=3.4.1
+pkgrel=1
+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=('54fb5e3a176578b3c8f339878c7a9d047a0785befcbba42bb68c34b4b636d9b6f6a2097b36c5eefbbcf1a91f943bdae762c7978a0dba1af53514052f513ef4c5')
+
+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