[arch-commits] Commit in scapy/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Oct 20 00:09:25 UTC 2016
Date: Thursday, October 20, 2016 @ 00:09:25
Author: anthraxx
Revision: 192635
archrelease: copy trunk to community-any
Added:
scapy/repos/community-any/PKGBUILD
(from rev 192634, scapy/trunk/PKGBUILD)
Deleted:
scapy/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 46 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-20 00:09:17 UTC (rev 192634)
+++ PKGBUILD 2016-10-20 00:09:25 UTC (rev 192635)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Ebubekir KARUL <ebubekirkarul at yandex.com>
-# Contributor: s1gma,shirokuro
-
-pkgname=scapy
-pkgver=2.3.2
-pkgrel=1
-pkgdesc="A powerful interactive packet manipulation program written in Python"
-url="http://www.secdev.org/projects/scapy/"
-depends=('tcpdump' 'python2' )
-optdepends=('python2-crypto: WEP decryption support'
- 'python2-pyx: psdump() and pdfdump() functions'
- 'python2-gnuplot: plotting support'
- 'graphviz: conversations() method support'
- 'sox: for VOIP support')
-checkdepends=('python2-crypto' 'python2-pyx' 'python2-gnuplot' 'graphviz' 'sox')
-arch=('any')
-license=('GPL')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/secdev/scapy/archive/v${pkgver}.tar.gz)
-sha256sums=('1b8a86d687feb8ed01114c0c016b428674cbfec04e3eb6f5249a018c427c4f6a')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- 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/inet6.py
- sed -e 's/exec python/exec python2/g' -i run_scapy setup.py test/run_tests
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- python2 setup.py build
-}
-
-check() {
- cd ${pkgname}-${pkgver}/test
- # Disabled tests as they currently hang
- #./run_tests
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
- install -Dm 644 doc/scapy/*.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: scapy/repos/community-any/PKGBUILD (from rev 192634, scapy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-20 00:09:25 UTC (rev 192635)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Ebubekir KARUL <ebubekirkarul at yandex.com>
+# Contributor: s1gma,shirokuro
+
+pkgname=scapy
+pkgver=2.3.3
+pkgrel=1
+pkgdesc="A powerful interactive packet manipulation program written in Python"
+url="http://www.secdev.org/projects/scapy/"
+depends=('tcpdump' 'python2' )
+optdepends=('python2-crypto: WEP decryption support'
+ 'python2-pyx: psdump() and pdfdump() functions'
+ 'python2-gnuplot: plotting support'
+ 'graphviz: conversations() method support'
+ 'sox: for VOIP support')
+checkdepends=('python2-crypto' 'python2-pyx' 'python2-gnuplot' 'python2-mock' 'graphviz' 'sox')
+arch=('any')
+license=('GPL2')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/secdev/scapy/archive/v${pkgver}.tar.gz)
+sha512sums=('47ca2eceafe7b693c569a92c106782037d869c323aaaec41cace07dfdeb3c6a7e9f7bc8ca1150b3c0daea54e6665f93eb1dfc3c511419cfa28eb2e0753bf9ba4')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ 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
+ sed -e 's/exec python/exec python2/g' -i run_scapy setup.py test/run_tests
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python2 setup.py build
+}
+
+check() {
+ cd ${pkgname}-${pkgver}/test
+ ./run_tests -t regression.uts -K netaccess
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python2 setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
+ install -Dm 644 doc/scapy/*.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list