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

Levente Polyak anthraxx at archlinux.org
Wed Aug 7 21:25:23 UTC 2019


    Date: Wednesday, August 7, 2019 @ 21:25:23
  Author: anthraxx
Revision: 498254

upgpkg: scapy 2.4.3-1

Modified:
  scapy/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-07 21:18:28 UTC (rev 498253)
+++ PKGBUILD	2019-08-07 21:25:23 UTC (rev 498254)
@@ -5,24 +5,24 @@
 
 pkgbase=scapy
 pkgname=('scapy' 'python-scapy' 'python2-scapy')
-pkgver=2.4.2
+pkgver=2.4.3
 pkgrel=1
 pkgdesc='Powerful interactive packet manipulation program written in Python'
 url='http://www.secdev.org/projects/scapy/'
+arch=('any')
+license=('GPL2')
 makedepends=('tcpdump' 'python2' 'python')
 checkdepends=('python2-cryptography' 'python2-pyx' 'python2-matplotlib'
               'python-cryptography' 'python-pyx' 'python-matplotlib'
               'graphviz' 'sox')
-arch=('any')
-license=('GPL2')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/secdev/scapy/archive/v${pkgver}.tar.gz)
-sha512sums=('980f708a849ae26edca3eb6618a41668818c5883bca699f347f47a8964b3ee44a6ceefe4a12cb7d5fe6c13f5cbe2b7547938e53139f4ec9e6ef384e30c9bb6db')
+source=(https://github.com/secdev/scapy/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('40a44ec7924dab19c6d0954fee409b9bea68df405ef9074741f34bee18038923')
+sha512sums=('579e3f326f90e10b2839aee805949e14ecab9431f360ef75e60080a971653e1f48a240d812b8ace77754b01b07a2ddb8533d1e6b18ee8804280bf9b2c237cede')
 
 prepare() {
   cp -a ${pkgbase}-${pkgver}{,-py2}
   cd ${pkgbase}-${pkgver}-py2
-  sed -e 's|env python|env python2|g' -i doc/scapy/*.rst scapy/contrib/*.py setup.py \
-    run_scapy scapy/pipetool.py scapy/tools/check_asdis.py scapy/layers/*.py bin/*
+  sed -e 's|env python|env python2|g' -i doc/scapy/*.rst run_scapy $(find . -name '*.py')
 }
 
 build() {


More information about the arch-commits mailing list