Date: Thursday, December 1, 2022 @ 10:30:56
Author: dvzrv
Revision: 1355597
archrelease: copy trunk to community-any
Added:
python-diff-cover/repos/community-any/PKGBUILD
(from rev 1355596, python-diff-cover/trunk/PKGBUILD)
python-diff-cover/repos/community-any/keys/
Deleted:
python-diff-cover/repos/community-any/PKGBUILD
python-diff-cover/repos/community-any/keys/
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-01 10:30:39 UTC (rev 1355596)
+++ PKGBUILD 2022-12-01 10:30:56 UTC (rev 1355597)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=diff_cover
-pkgname=python-diff-cover
-pkgver=7.1.2
-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-core 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=('051a35a112c07416acdd1b12cc8690d2a3927dc08fe597f5207be487ac6fb9505656d459eae5fa8bf4638ba3b4559cdff5052b2bdcf43613981277163ee0413e'
- 'SKIP')
-b2sums=('7f6e43377df9a83fff8670664567057267b689ee753e6ea619c0b2f62f949d9cca9eb9d653660059c87a2b878d1a0a70e15938aede13ab4f281d99df9e097100'
- 'SKIP')
-validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann
<[email protected]>
-
-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 1355596,
python-diff-cover/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-01 10:30:56 UTC (rev 1355597)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=diff_cover
+pkgname=python-diff-cover
+pkgver=7.2.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-core 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=('329db535ac0ee02a415809a097a026e783b6e09145a18965aff566c40bc161b8ddba240c69d92dec405877c786072bb7670a5ca60ed4d0c88e38c5567e8b30dd'
+ 'SKIP')
+b2sums=('ef84e5e97dfa99e206beb0f663c7d120e37091223fa3c515df789dd4d7f33ec86b26dae3794cb0da7d5ef8fe71b742fa2bf0226ad954dd4cbba950d2dcdeb926'
+ 'SKIP')
+validpgpkeys=('54CAEABCAC2956D407348256972401BDE60128CB') # Matt Bachmann
<[email protected]>
+
+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/"
+}