scapy: build_style=python2-module

Use PyPI tarball to avoid an issue when installing from the git archive
(i.e., scapy-unknown.version-py2.7.egg-info).
This commit is contained in:
Alessio Sergi 2017-01-12 13:00:02 +01:00
parent ae6cddd78e
commit 8d8fc440f7

View file

@ -1,14 +1,14 @@
# Template file for 'python-scapy'
pkgname=scapy
version=2.3.3
revision=1
build_style=python-module
revision=2
noarch=yes
build_style=python2-module
hostmakedepends="python-setuptools"
depends="python tcpdump python-crypto python-pyx python-matplotlib sox"
short_desc="A powerful interactive packet manipulation program written in Python"
short_desc="Powerful interactive packet manipulation program written in Python"
maintainer="cipr3s <cipr3s@gmx.com>"
license="GPL-2"
homepage="http://secdev.org/projects/scapy"
distfiles="https://github.com/secdev/${pkgname}/archive/v${version}.tar.gz"
checksum="67642cf7b806e02daeddd588577588caebddc3426db7904e7999a0b0334a63b5"
distfiles="${PYPI_SITE}/s/scapy/scapy-${version}.tgz"
checksum=9d3b0293dcdc2cc42eedacbc9003038109558c4b5c5e4a3fa01b8ef5762f1eb0