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

David Runge dvzrv at gemini.archlinux.org
Mon Dec 6 18:58:25 UTC 2021


    Date: Monday, December 6, 2021 @ 18:58:25
  Author: dvzrv
Revision: 1065349

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 43 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-06 18:58:18 UTC (rev 1065348)
+++ PKGBUILD	2021-12-06 18:58:25 UTC (rev 1065349)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=diff_cover
-pkgname=python-diff-cover
-pkgver=6.4.3
-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-setuptools)
-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=('c7a4078ecdd018eea3b6c92975ea24408860e756bd2ef636f0694ff50207bc3aa16aad956dc55640e2da3d80db807fb1c222ecc1bc0d6ee49048b18e40a0830d'
-            'SKIP')
-b2sums=('a83ef046f791f545d7a06d9a15fe8aa551f6020d4b76300a2c0af44a43dd287d4e423173cc417894f8aa36ab90baa18039d3b3aa4be90c2b61cfc482539a6dd1'
-        'SKIP')
-validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann <matt.bachmann at lola.com>
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
-  local _test_dir='test_dir'
-
-  cd "$pkgname-$pkgver"
-  # install to temporary location, as importlib is used
-  python setup.py install --optimize=1 --root="${_test_dir}"
-  PYTHONPATH="${_test_dir}/${_site_packages}:${PYTHONPATH}" \
-  # ignore integration and code style checks
-  pytest -v --ignore 'tests/test_integration.py' --ignore 'tests/test_violations_reporter.py' --ignore 'tests/test_clover_violations_reporter.py'
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-diff-cover/repos/community-any/PKGBUILD (from rev 1065348, python-diff-cover/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-06 18:58:25 UTC (rev 1065349)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=diff_cover
+pkgname=python-diff-cover
+pkgver=6.4.4
+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-setuptools)
+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=('10e19a6a1585f043f18aa9bf73a788d1b69b876eaab7fc3567e93e3a5f7d6731dae0a9f4459b51e4dc2543b3479843c20b2ca226ceab2b6a5de3540048de4a8e'
+            'SKIP')
+b2sums=('98527bc20a9325ad7cbe3086ba3635a208bc8037d527d97b5bb1ac2f022691e7e52206d27f7e2588c6daac224ccf644116b0db838c09667de813378626def1e8'
+        'SKIP')
+validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann <matt.bachmann at lola.com>
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  local _site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+  local _test_dir='test_dir'
+
+  cd "${_name}-${pkgver}"
+  # install to temporary location, as importlib is used
+  python setup.py install --optimize=1 --root="${_test_dir}"
+  PYTHONPATH="${_test_dir}/${_site_packages}:${PYTHONPATH}" \
+  # ignore integration and code style checks
+  pytest -v --ignore 'tests/test_integration.py' --ignore 'tests/test_violations_reporter.py' --ignore 'tests/test_clover_violations_reporter.py'
+}
+
+package() {
+  cd "${_name}-${pkgver}"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list