Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 765 B view raw
1--- a/setup.py 2018-02-15 22:14:08.531591678 +0100 2+++ b/setup.py 2018-03-27 17:15:38.617315539 +0200 3@@ -47,7 +47,7 @@ 4 5 setup( 6 name='scapy', 7- version=__import__('scapy').VERSION, 8+ version='NIXPKGS_SCAPY_VERSION', 9 packages=[ 10 'scapy', 11 'scapy/arch', 12--- a/scapy/__init__.py 2018-03-27 17:38:52.706481269 +0200 13+++ b/scapy/__init__.py 2018-03-27 17:39:56.576688890 +0200 14@@ -82,9 +82,10 @@ 15 if match: 16 return "git-archive.dev" + match.group(1) 17 elif sha1: 18- return "git-archive.dev" + sha1 19+ return 'NIXPKGS_SCAPY_VERSION' 20 else: 21- return 'unknown.version' 22+ return 'NIXPKGS_SCAPY_VERSION' 23+ 24 25 VERSION = _version() 26