From 8d8fc440f7a64008961f4fc7af567c823124b704 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 12 Jan 2017 13:00:02 +0100 Subject: [PATCH] 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). --- srcpkgs/scapy/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/scapy/template b/srcpkgs/scapy/template index a147a0e56dc..7157d2cd8d4 100644 --- a/srcpkgs/scapy/template +++ b/srcpkgs/scapy/template @@ -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 " 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