diff options
author | Kr1ss | 2021-12-13 17:53:22 +0100 |
---|---|---|
committer | Kr1ss | 2021-12-13 17:53:22 +0100 |
commit | ffb80d10e13480e12017bf4e609c6b48de650740 (patch) | |
tree | b72bd9feaa897d36473977dcad05f2b496c9f743 /PKGBUILD | |
parent | 6ebe5926436496c429d7bdf17f43616981ce1889 (diff) | |
download | packages-ffb80d10e13480e12017bf4e609c6b48de650740.tar.gz packages-ffb80d10e13480e12017bf4e609c6b48de650740.tar.bz2 packages-ffb80d10e13480e12017bf4e609c6b48de650740.zip |
rebuild against python 3.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -5,7 +5,8 @@ | |||
5 | pkgname=wapiti | 5 | pkgname=wapiti |
6 | 6 | ||
7 | pkgver=3.0.8 | 7 | pkgver=3.0.8 |
8 | pkgrel=2 | 8 | _name="$pkgname${pkgver:0:1}" |
9 | pkgrel=3 | ||
9 | 10 | ||
10 | pkgdesc='Comprehensive web app vulnerability scanner written in Python' | 11 | pkgdesc='Comprehensive web app vulnerability scanner written in Python' |
11 | arch=('any') | 12 | arch=('any') |
@@ -22,21 +23,19 @@ optdepends=('python-requests-kerberos: Kerberos authentication' | |||
22 | options=('zipman') | 23 | options=('zipman') |
23 | 24 | ||
24 | changelog=ChangeLog | 25 | changelog=ChangeLog |
25 | source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname${pkgver:0:1}-$pkgver.tar.gz") | 26 | source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname/$pkgname-$pkgver/$_name-$pkgver.tar.gz") |
26 | sha256sums=('110d825ec7c2ba6a063398d63c1939d893f219fee6b5444c643f4b1cd9c71441') | 27 | sha256sums=('110d825ec7c2ba6a063398d63c1939d893f219fee6b5444c643f4b1cd9c71441') |
27 | 28 | ||
28 | 29 | ||
29 | prepare() { | 30 | prepare() { rm -rf "$_name-$pkgver/tests"; } |
30 | rm -rf "$pkgname${pkgver:0:1}-$pkgver/tests" | ||
31 | } | ||
32 | 31 | ||
33 | build() { | 32 | build() { |
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 | ||
38 | package() { | 37 | package() { |
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 | ||