[arch-commits] Commit in python-coverage/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Sep 3 14:19:37 UTC 2022


    Date: Saturday, September 3, 2022 @ 14:19:37
  Author: felixonmars
Revision: 1292494

archrelease: copy trunk to community-x86_64

Added:
  python-coverage/repos/community-x86_64/PKGBUILD
    (from rev 1292493, python-coverage/trunk/PKGBUILD)
Deleted:
  python-coverage/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-03 14:19:22 UTC (rev 1292493)
+++ PKGBUILD	2022-09-03 14:19:37 UTC (rev 1292494)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Clément Démoulins <clement at archivel.fr>
-# Contributor: Fazlul Shahriar <fshahriar at gmail.com>
-
-_pkgname=coveragepy
-pkgname=python-coverage
-pkgver=6.1.2
-pkgrel=1
-pkgdesc="A tool for measuring code coverage of Python programs"
-arch=('x86_64')
-url="https://nedbatchelder.com/code/coverage/"
-license=('Apache')
-depends=('python')
-optdepends=('python-tomli: for pyproject.toml support')
-makedepends=('python-setuptools')
-checkdepends=('python-flaky' 'python-hypothesis' 'python-mock'
-              'python-pycontracts' 'python-pytest' 'python-pytest-xdist' 'python-tomli'
-              'python-unittest-mixins' 'python-virtualenv')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nedbat/coveragepy/archive/$pkgver.tar.gz")
-sha512sums=('cc3bd6e0597a11154f9b18b655e6fcf5cee505d4a0b2b2c85e9078aff7abc4f23c5a810797399a4c4ac953f3627217fc2e8510005720a0c59a2a50f5d3bf341a')
-b2sums=('b8e4df3054766a05fe80b5ce537f50a54f5f7c8bcfa5445217b133e8e9796a3dc0a256d5ca942478cda33d109515a6e3496b85b88c7f44d107deb192b768b355')
-
-build() {
-  cd $_pkgname-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  local python_version="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
-  (
-    virtualenv "test_dir" --system-site-packages
-    . "test_dir/bin/activate"
-    export PYTHONPATH="/usr/lib/python$python_version/site-packages:$PYTHONPATH"
-    python setup.py --quiet clean develop
-    python igor.py zip_mods install_egg remove_extension
-    python igor.py test_with_tracer py
-    python setup.py --quiet build_ext --inplace
-    python igor.py test_with_tracer c
-  ) || echo "Known failing tests."
-}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="$pkgdir"
-}

Copied: python-coverage/repos/community-x86_64/PKGBUILD (from rev 1292493, python-coverage/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-03 14:19:37 UTC (rev 1292494)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Clément Démoulins <clement at archivel.fr>
+# Contributor: Fazlul Shahriar <fshahriar at gmail.com>
+
+_pkgname=coveragepy
+pkgname=python-coverage
+pkgver=6.2
+pkgrel=1
+pkgdesc="A tool for measuring code coverage of Python programs"
+arch=('x86_64')
+url="https://nedbatchelder.com/code/coverage/"
+license=('Apache')
+depends=('python')
+optdepends=('python-tomli: for pyproject.toml support')
+makedepends=('python-setuptools')
+checkdepends=('python-flaky' 'python-hypothesis' 'python-mock'
+              'python-pycontracts' 'python-pytest' 'python-pytest-xdist' 'python-tomli'
+              'python-unittest-mixins' 'python-virtualenv')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nedbat/coveragepy/archive/$pkgver.tar.gz")
+sha512sums=('fed10100131e8c53f4389de16d419412453e92ac8ecf0384b531d10c184247fe0da666369f9b04b3d0214c905091428e23fd0d0de82d39f9a77cb07a643d1ffe')
+b2sums=('4b62c5f28606867129f7674acabe3ecab5a68d15055efe08c797693922b1e98feffec382e8b799e22f422753581930253d1765c96c81e846ccdfbcad1590d50d')
+
+build() {
+  cd $_pkgname-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  local python_version="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
+  (
+    virtualenv "test_dir" --system-site-packages
+    . "test_dir/bin/activate"
+    export PYTHONPATH="/usr/lib/python$python_version/site-packages:$PYTHONPATH"
+    python setup.py --quiet clean develop
+    python igor.py zip_mods install_egg remove_extension
+    python igor.py test_with_tracer py
+    python setup.py --quiet build_ext --inplace
+    python igor.py test_with_tracer c
+  ) || echo "Known failing tests."
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="$pkgdir"
+}



More information about the arch-commits mailing list