nixpkgs/pkgs/development/python-modules/scapy/fix-version-2.patch

16 lines
447 B
Diff
Raw Normal View History

2018-03-27 18:26:03 +02: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 22:40:01 +01:00
VERSION = _version()