Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-impacket py-impacket: be consistent across plat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ea7397d5338
branches:  trunk
changeset: 432995:5ea7397d5338
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 29 06:04:32 2020 +0000

description:
py-impacket: be consistent across platforms regarding data files

diffstat:

 net/py-impacket/distinfo               |   3 ++-
 net/py-impacket/patches/patch-setup.py |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 1b2630830613 -r 5ea7397d5338 net/py-impacket/distinfo
--- a/net/py-impacket/distinfo  Thu May 28 20:00:23 2020 +0000
+++ b/net/py-impacket/distinfo  Fri May 29 06:04:32 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/04/30 12:17:33 nikita Exp $
+$NetBSD: distinfo,v 1.2 2020/05/29 06:04:32 adam Exp $
 
 SHA1 (impacket-0.9.21.tar.gz) = 8f722458bf0a19dfdd5c904224927833437f949c
 RMD160 (impacket-0.9.21.tar.gz) = a0005dd4c95f586f819a795495d1df9028784df7
 SHA512 (impacket-0.9.21.tar.gz) = 594bae33f917f0704e7b28645b2f201d6ac781b30c99bd3710711961c15dbf3a51e010b61156779fd85935cd5818e0facf9a662bd289b04e4b91761e5ebd1edd
 Size (impacket-0.9.21.tar.gz) = 1270110 bytes
+SHA1 (patch-setup.py) = 8f5315c3f28739dad0fd258f902ea6d91c20d945
diff -r 1b2630830613 -r 5ea7397d5338 net/py-impacket/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-impacket/patches/patch-setup.py    Fri May 29 06:04:32 2020 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-setup.py,v 1.1 2020/05/29 06:04:32 adam Exp $
+
+Be consistent across platforms regarding data files.
+
+--- setup.py.orig      2020-05-29 06:02:18.000000000 +0000
++++ setup.py
+@@ -31,10 +31,7 @@ try:
+ except Exception:
+     VER_LOCAL = ""
+ 
+-if platform.system() != 'Darwin':
+-    data_files = [(os.path.join('share', 'doc', PACKAGE_NAME), ['README.md', 'LICENSE']+glob.glob('doc/*'))]
+-else:
+-    data_files = []
++data_files = []
+ 
+ def read(fname):
+     return open(os.path.join(os.path.dirname(__file__), fname)).read()



Home | Main Index | Thread Index | Old Index