Date: Saturday, January 21, 2023 @ 11:42:42
Author: dvzrv
Revision: 1387280
archrelease: copy trunk to community-any
Added:
python-diff-cover/repos/community-any/PKGBUILD
(from rev 1387279, 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 2023-01-21 11:42:27 UTC (rev 1387279)
+++ PKGBUILD 2023-01-21 11:42:42 UTC (rev 1387280)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=diff_cover
-pkgname=python-diff-cover
-pkgver=7.3.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=('1ddffe659dee5e3a088521415246474b1d1faff523490abcaede7eaca1335e942e896b6a280caa912574501d92504a6376f5ce6787a54c22f7467d0877b30c6c'
- 'SKIP')
-b2sums=('13d05e5b7493884233ee2c12d42d36a6c854b2396f4a1d59e5bd51f657a0dbe079b828836332c30f45e6d2bca45487578ad57a6ceb6de4ebd0a923ee4d1388bc'
- '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 1387279,
python-diff-cover/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-21 11:42:42 UTC (rev 1387280)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=diff_cover
+pkgname=python-diff-cover
+pkgver=7.3.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=('ebe62da646163ea20b08d73960a5c882cc63eac037582fd4fb96b4b7f66628fa87457b05c3c5b3f74b47509fe56ada2b58b799f0ab92f241cda359567e1156ff'
+ 'SKIP')
+b2sums=('e77c613d9af44e744c8afd60c92df9e00dc7c46186182db27c9a75b4065b02c3202c9e34b341fb7cacff41aa193cbd168533181c23099e0290ffacee47787716'
+ '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/"
+}