[arch-commits] Commit in sqlmap/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Mon Sep 30 18:53:29 UTC 2019


    Date: Monday, September 30, 2019 @ 18:53:29
  Author: jelle
Revision: 512275

upgpkg: sqlmap 1.3.8-2

Switch to Python3

Modified:
  sqlmap/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-30 18:27:17 UTC (rev 512274)
+++ PKGBUILD	2019-09-30 18:53:29 UTC (rev 512275)
@@ -4,12 +4,12 @@
 
 pkgname=sqlmap
 pkgver=1.3.8
-pkgrel=1
+pkgrel=2
 pkgdesc='Automatic SQL injection and database takeover tool'
 url='http://sqlmap.org'
 arch=('any')
 license=('GPL2')
-depends=('python2' 'sh')
+depends=('python' 'sh')
 backup=('etc/sqlmap.conf')
 source=(https://github.com/sqlmapproject/sqlmap/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
 sha256sums=('3b3fb0f213139efb76e7a95ebcd6e3790c70a23fca8f3c753ef14f72ea7fdf01')
@@ -17,8 +17,8 @@
 
 build() {
   cd ${pkgname}-${pkgver}
-  python2 -m compileall .
-  python2 -O -m compileall .
+  python3 -m compileall .
+  python3 -O -m compileall .
 }
 
 package() {
@@ -37,12 +37,12 @@
   cat > "${pkgdir}/usr/bin/sqlmap" << EOF
 #!/bin/sh
 cd /opt/${pkgname}
-python2 sqlmap.py "\$@"
+python3 sqlmap.py "\$@"
 EOF
   cat > "${pkgdir}/usr/bin/sqlmapapi" << EOF
 #!/bin/sh
 cd /opt/${pkgname}
-python2 sqlmapapi.py "\$@"
+python3 sqlmapapi.py "\$@"
 EOF
 
   chmod 755 "${pkgdir}/usr/bin/sqlmap"


More information about the arch-commits mailing list