[arch-commits] Commit in kamene/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Nov 6 20:58:32 UTC 2018


    Date: Tuesday, November 6, 2018 @ 20:58:32
  Author: anthraxx
Revision: 402168

archrelease: copy trunk to community-any

Added:
  kamene/repos/community-any/PKGBUILD
    (from rev 402167, kamene/trunk/PKGBUILD)
Deleted:
  kamene/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 41 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-06 20:58:16 UTC (rev 402167)
+++ PKGBUILD	2018-11-06 20:58:32 UTC (rev 402168)
@@ -1,49 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=scapy3k
-_pkgname=scapy-python3
-pkgver=0.25
-pkgrel=1
-pkgdesc='Powerful interactive packet manipulation program (based on scapy) written in Python'
-url='https://github.com/phaethon/scapy'
-depends=('tcpdump' 'python' )
-optdepends=('python-cryptography: WEP decryption, IPsec and certificate 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-cryptography' 'python-pyx' 'python-matplotlib' 'python-netifaces' 'graphviz' 'sox')
-conflicts=('scapy')
-arch=('any')
-license=('GPL2')
-source=(https://pypi.org/packages/source/s/$_pkgname/$_pkgname-$pkgver.tar.gz)
-sha256sums=('2ae1b3bd9759844e830a6cc3ba11c3f25b08433a8ee3e7eddc08224905e5ef2b')
-sha512sums=('74cb8149e843962394425aec54f3aecc894c8d003efd6eb3d1a7ca0dea760cc30ed8fe7f08769c3dc2f959a32169adccf97006571c6f450cb678e624ac68da3d')
-
-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
-  # Run only main tests, without network access
-  #./run_tests -K netaccess -F
-}
-
-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: kamene/repos/community-any/PKGBUILD (from rev 402167, kamene/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-06 20:58:32 UTC (rev 402168)
@@ -0,0 +1,41 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=kamene
+pkgver=0.32
+pkgrel=1
+pkgdesc='Powerful interactive packet manipulation program (based on scapy) written in Python'
+url='https://github.com/phaethon/kamene'
+depends=('tcpdump' 'python' )
+optdepends=('python-cryptography: WEP decryption, IPsec and certificate 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-cryptography' 'python-pyx' 'python-matplotlib' 'python-netifaces' 'graphviz' 'sox')
+replaces=('scapy3k')
+arch=('any')
+license=('GPL2')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/phaethon/kamene/archive/v${pkgver}.tar.gz)
+sha256sums=('8254333ddc1404ee2bcd73c4a2c23e4f9c59320738610512f23ea3dad3cde28d')
+sha512sums=('ba0e7ceb41e0687a8b8deb743f4cc8dc00021200ae028faac0afc3a1f202ac2c2cfdc7ebd7ea6ab3af4790e8393c9d1ed5b8f80f16bf0783e5058f29d2038ea6')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}/test
+  # Run only main tests, without network access
+  #./run_tests -K netaccess -F
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python setup.py install -O1 --skip-build --root="${pkgdir}" --prefix=/usr
+  install -Dm 644 doc/kamene/*.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 doc/kamene.1.gz -t "${pkgdir}/usr/share/man/man1"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list