[arch-commits] Commit in scapy3k/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Dec 18 19:33:58 UTC 2016
Date: Sunday, December 18, 2016 @ 19:33:58
Author: anthraxx
Revision: 200203
archrelease: copy trunk to community-any
Added:
scapy3k/repos/community-any/PKGBUILD
(from rev 200202, scapy3k/trunk/PKGBUILD)
Deleted:
scapy3k/repos/community-any/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-18 19:33:49 UTC (rev 200202)
+++ PKGBUILD 2016-12-18 19:33:58 UTC (rev 200203)
@@ -1,46 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=scapy3k
-_pkgname=scapy
-pkgver=0.18
-pkgrel=1
-pkgdesc="A powerful interactive packet manipulation program written in Python"
-url="https://github.com/phaethon/scapy"
-depends=('tcpdump' 'python' )
-optdepends=('python-crypto: WEP decryption support'
- 'python-pyx: psdump() and pdfdump() functions'
- 'python-gnuplot: plotting support'
- 'graphviz: conversations() method support'
- 'sox: for VOIP support')
-checkdepends=('python-crypto' 'python-pyx' 'python-gnuplot' 'graphviz' 'sox')
-arch=('any')
-license=('GPL2')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/phaethon/scapy/archive/v${pkgver}.tar.gz)
-sha512sums=('1ba8c606156e663001a7f19805f0a41b6415d9c78840ba2009726a6a9b01bdf6f90e6b13a4473201174ee097579a3c10a708ae56b10adde14ffce1a0054fce30')
-
-prepare() {
- cd ${_pkgname}-${pkgver}
- sed -r 's|((bin\|doc)/(UT)?scapy)|\13k|g' -i setup.py
- mv doc/scapy.1.gz doc/scapy3k.1.gz
- mv bin/scapy{,3k}
- mv bin/UTscapy{,3k}
-}
-
-build() {
- cd ${_pkgname}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkgname}-${pkgver}/test
- # Disabled tests as they currently hang
- #./run_tests
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
- python 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: scapy3k/repos/community-any/PKGBUILD (from rev 200202, scapy3k/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-12-18 19:33:58 UTC (rev 200203)
@@ -0,0 +1,47 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=scapy3k
+_pkgname=scapy
+pkgver=0.19
+pkgrel=1
+pkgdesc='Powerful interactive packet manipulation program written in Python 3'
+url='https://github.com/phaethon/scapy'
+depends=('tcpdump' 'python' )
+optdepends=('python-crypto: WEP decryption support'
+ 'python-pyx: psdump() and pdfdump() functions'
+ 'python-matplotlib: plotting support'
+ 'python-netifaces: network interface information support'
+ 'graphviz: conversations() method support'
+ 'sox: for VOIP support')
+checkdepends=('python-crypto' 'python-pyx' 'python-matplotlib' 'python-netifaces' 'graphviz' 'sox')
+arch=('any')
+license=('GPL2')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/phaethon/scapy/archive/${pkgver}.tar.gz)
+sha512sums=('94b7d4356858ddf36eb065a31e69e4c29170e212c3a77ca064511fbb111e412a70a3b31a229a4430c79b9de13f98c676ab3176efb1b8935da20ed599fdce3c64')
+
+prepare() {
+ cd ${_pkgname}-${pkgver}
+ sed -r 's|((bin\|doc)/(UT)?scapy)|\13k|g' -i setup.py
+ mv doc/scapy.1.gz doc/scapy3k.1.gz
+ mv bin/scapy{,3k}
+ mv bin/UTscapy{,3k}
+}
+
+build() {
+ cd ${_pkgname}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}/test
+ # Disabled tests as they currently hang
+ #./run_tests
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ python 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