summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPierre LALET2017-01-24 22:26:19 +0100
committeranthraxx2017-07-17 19:19:05 +0200
commit48822c19783324b0449c5eb057708405a804e28c (patch)
tree70af579fb35fdac09bee6b84c87e588cfc142825 /PKGBUILD
parent2f04619c195370caca936bf37bdd4bdf17cc1684 (diff)
downloadaur-48822c19783324b0449c5eb057708405a804e28c.tar.gz
scapy: [PATCH 2/3] Use Scapy dev version numbering
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 844c6672795..6de8c377fd5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Contributor: s1gma,shirokuro
pkgname=scapy-git
-pkgver=2.3.2.1634.94953c1
+pkgver=2.3.3.dev206
pkgrel=1
pkgdesc="A powerful interactive packet manipulation program written in Python"
url="http://www.secdev.org/projects/scapy/"
@@ -25,8 +25,7 @@ sha256sums=('SKIP')
pkgver() {
cd ${pkgname}
- printf "%s.%s.%s" "$(git describe --tags --abbrev=0|sed -r 's|v?([^-]+).*|\1|')" \
- "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ PYTHONPATH=. python2 -c "print __import__('scapy').VERSION"
}
prepare() {