summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKr1ss2021-12-13 17:53:22 +0100
committerKr1ss2021-12-13 17:53:22 +0100
commitffb80d10e13480e12017bf4e609c6b48de650740 (patch)
treeb72bd9feaa897d36473977dcad05f2b496c9f743 /PKGBUILD
parent6ebe5926436496c429d7bdf17f43616981ce1889 (diff)
downloadpackages-ffb80d10e13480e12017bf4e609c6b48de650740.tar.gz
packages-ffb80d10e13480e12017bf4e609c6b48de650740.tar.bz2
packages-ffb80d10e13480e12017bf4e609c6b48de650740.zip
rebuild against python 3.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8924bee..6747523 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,8 @@
5pkgname=wapiti 5pkgname=wapiti
6 6
7pkgver=3.0.8 7pkgver=3.0.8
8pkgrel=2 8_name="$pkgname${pkgver:0:1}"
9pkgrel=3
9 10
10pkgdesc='Comprehensive web app vulnerability scanner written in Python' 11pkgdesc='Comprehensive web app vulnerability scanner written in Python'
11arch=('any') 12arch=('any')
@@ -22,21 +23,19 @@ optdepends=('python-requests-kerberos: Kerberos authentication'
22options=('zipman') 23options=('zipman')
23 24
24changelog=ChangeLog 25changelog=ChangeLog
25source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname${pkgver:0:1}-$pkgver.tar.gz") 26source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname/$pkgname-$pkgver/$_name-$pkgver.tar.gz")
26sha256sums=('110d825ec7c2ba6a063398d63c1939d893f219fee6b5444c643f4b1cd9c71441') 27sha256sums=('110d825ec7c2ba6a063398d63c1939d893f219fee6b5444c643f4b1cd9c71441')
27 28
28 29
29prepare() { 30prepare() { rm -rf "$_name-$pkgver/tests"; }
30 rm -rf "$pkgname${pkgver:0:1}-$pkgver/tests"
31}
32 31
33build() { 32build() {
34 cd "$pkgname${pkgver:0:1}-$pkgver" 33 cd "$_name-$pkgver"
35 python setup.py build 34 python setup.py build
36} 35}
37 36
38package() { 37package() {
39 cd "$pkgname${pkgver:0:1}-$pkgver" 38 cd "$_name-$pkgver"
40 PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build 39 PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build
41} 40}
42 41