aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorbius2024-03-09 09:42:53 +0100
committerMorbius2024-03-09 09:42:53 +0100
commited181fdb4e5b4c6d5c0d00634462c773717a9446 (patch)
tree8a898e3045252367be3241bdbe6b37341e8759b5
parent4d4d26af07d751d93cdf0714bf1276d38d82ec72 (diff)
downloadaur-ed181fdb4e5b4c6d5c0d00634462c773717a9446.tar.gz
Don't install Python test files
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 07081499b88c..ccb7fe99bcb0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-fangfrisch
pkgdesc = Freshclam like utility that allows downloading unofficial virus definition files
pkgver = 1.9.0
- pkgrel = 1
+ pkgrel = 2
url = https://rseichter.github.io/fangfrisch/
install = fangfrisch.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index f5272dc6b5ce..999897533969 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=python-fangfrisch
_name=${pkgname#python-}
pkgver=1.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="Freshclam like utility that allows downloading unofficial virus definition files"
arch=('any')
license=('GPL')
@@ -30,6 +30,12 @@ install=fangfrisch.install
build() {
cd "$_name-$pkgver" || exit 1
+ cat >>setup.cfg <<EOT
+[options.packages.find]
+exclude =
+ tests
+ tests.*
+EOT
python -m build --wheel --no-isolation
}