3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/scapy/fix-version-2.patch

16 lines
447 B
Diff
Raw Normal View History

2018-03-27 17:26:03 +01:00
--- 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'
+
2018-02-15 21:40:01 +00:00
VERSION = _version()