0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

pythonPackages.scapy: 2.3.3 -> 2.4.0

This commit is contained in:
Michael Weiss 2018-03-27 18:26:03 +02:00
parent c91c50367e
commit fb1f35424e
3 changed files with 28 additions and 18 deletions

View file

@ -1,11 +1,15 @@
--- a/scapy/__init__.py 2017-12-29 18:57:35.315472160 +0100
+++ b/scapy/__init__.py 2018-02-15 22:36:43.102132489 +0100
@@ -73,7 +73,7 @@
tag = f.read()
return tag
except:
- return 'unknown.version'
+ return '2.3.3'
--- a/scapy/__init__.py 2018-03-27 17:38:52.706481269 +0200
+++ b/scapy/__init__.py 2018-03-27 17:39:56.576688890 +0200
@@ -82,9 +82,10 @@
if match:
return "git-archive.dev" + match.group(1)
elif sha1:
- return "git-archive.dev" + sha1
+ return '2.4.0'
else:
- return 'unknown.version'
+ return '2.4.0'
+
VERSION = _version()