[arch-commits] Commit in python-diff-cover/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Jun 23 08:41:04 UTC 2022


    Date: Thursday, June 23, 2022 @ 08:41:04
  Author: dvzrv
Revision: 1239225

archrelease: copy trunk to community-any

Added:
  python-diff-cover/repos/community-any/PKGBUILD
    (from rev 1239224, python-diff-cover/trunk/PKGBUILD)
Deleted:
  python-diff-cover/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-23 08:40:55 UTC (rev 1239224)
+++ PKGBUILD	2022-06-23 08:41:04 UTC (rev 1239225)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=diff_cover
-pkgname=python-diff-cover
-pkgver=6.5.0
-pkgrel=1
-pkgdesc="Automatically find diff lines that need test coverage"
-arch=(any)
-url="https://github.com/Bachmann1234/diff_cover"
-license=(Apache)
-depends=(python-chardet python-jinja python-pluggy python-pygments)
-makedepends=(python-build python-installer python-poetry python-wheel)
-checkdepends=(python-pytest python-pytest-mock python-tomli)
-optdepends=('python-tomli: for TOML support')
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz{,.asc})
-sha512sums=('c4fdfad930150a1f67e46d1fa228bf8fd3201624ab5a529f7d26d635a111fb40cd28c2afb1908188e8c23f9d823a72c9a35818f2ab7a9d1233625e71068d2ed7'
-            'SKIP')
-b2sums=('a7f520106da428f7c62f62ba44fd8e0104337dd83f6d550ea3176fbb8adf5a639606469bb2fafbcac6aa9d567f9883c0cbfb8e763d7f8feae98779808efd2432'
-        'SKIP')
-validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann <matt.bachmann at lola.com>
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-
-  cd $_name-$pkgver
-  # install to temporary location, as importlib is used
-  python -m installer --destdir=test_dir dist/*.whl
-  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
-  # ignore integration and code style checks
-  pytest -vv --ignore 'tests/test_integration.py' --ignore 'tests/test_violations_reporter.py' --ignore 'tests/test_clover_violations_reporter.py'
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
-}

Copied: python-diff-cover/repos/community-any/PKGBUILD (from rev 1239224, python-diff-cover/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-23 08:41:04 UTC (rev 1239225)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=diff_cover
+pkgname=python-diff-cover
+pkgver=6.5.1
+pkgrel=1
+pkgdesc="Automatically find diff lines that need test coverage"
+arch=(any)
+url="https://github.com/Bachmann1234/diff_cover"
+license=(Apache)
+depends=(python-chardet python-jinja python-pluggy python-pygments)
+makedepends=(python-build python-installer python-poetry python-wheel)
+checkdepends=(python-pytest python-pytest-mock python-tomli)
+optdepends=('python-tomli: for TOML support')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz{,.asc})
+sha512sums=('d24e83d841025c540d843a598ac58277fbd750dc7f4008a567d551d0bfa9346c90eba3c5a8c326f782e0237b9401184a93d9b85339641e5974a4a5a5aa77303e'
+            'SKIP')
+b2sums=('598dba85fbb5bdbdb1aea66aafbf490334e522d85ab8838d31d484e7158206e5773ed60c82b911d534b1b7f1ec4909f472764259575a29a1b4916b438a01b070'
+        'SKIP')
+validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann <matt.bachmann at lola.com>
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+
+  cd $_name-$pkgver
+  # install to temporary location, as importlib is used
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+  # ignore integration and code style checks
+  pytest -vv --ignore 'tests/test_integration.py' --ignore 'tests/test_violations_reporter.py' --ignore 'tests/test_clover_violations_reporter.py'
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+}



More information about the arch-commits mailing list