pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-ruamel-base



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Jan 14 09:54:14 UTC 2022

Modified Files:
        pkgsrc/devel/py-ruamel-base: distinfo
Added Files:
        pkgsrc/devel/py-ruamel-base/patches: patch-setup.py

Log Message:
py-ruamel-base: fix installation


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-ruamel-base/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-ruamel-base/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-ruamel-base/distinfo
diff -u pkgsrc/devel/py-ruamel-base/distinfo:1.3 pkgsrc/devel/py-ruamel-base/distinfo:1.4
--- pkgsrc/devel/py-ruamel-base/distinfo:1.3    Tue Oct 26 10:19:03 2021
+++ pkgsrc/devel/py-ruamel-base/distinfo        Fri Jan 14 09:54:14 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:19:03 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/01/14 09:54:14 wiz Exp $
 
 BLAKE2s (ruamel.base-1.0.0.tar.gz) = f50c36786e8153fd6ee8dd85f8e7c628f8a59eaab61981495f5cb9625ddac85f
 SHA512 (ruamel.base-1.0.0.tar.gz) = a847f0ae8d889bbc593f6d3507b3208c69d3027a73dddc39058e6da7316937234ef0208394e264a07fd3fa970c97713a14db7a62e374433a27625932bb76c44c
 Size (ruamel.base-1.0.0.tar.gz) = 5219 bytes
+SHA1 (patch-setup.py) = 795ca1e342b63664ae841a6224921a46005b3037

Added files:

Index: pkgsrc/devel/py-ruamel-base/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-ruamel-base/patches/patch-setup.py:1.1
--- /dev/null   Fri Jan 14 09:54:14 2022
+++ pkgsrc/devel/py-ruamel-base/patches/patch-setup.py  Fri Jan 14 09:54:14 2022
@@ -0,0 +1,17 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/14 09:54:14 wiz Exp $
+
+Remove incorrect check.
+
+--- setup.py.orig      2015-08-27 15:11:16.000000000 +0000
++++ setup.py
+@@ -121,10 +121,6 @@ class NameSpacePackager(object):
+         self._split = None
+         self.depth = self.full_package_name.count('.')
+         self.command = None
+-        if sys.argv[0] == 'setup.py' and sys.argv[1] == 'install' and \
+-           '--single-version-externally-managed' not in sys.argv:
+-            print('error: have to install with "pip install ."')
+-            sys.exit(1)
+         for x in sys.argv:
+             if x[0] == '-' or x == 'setup.py':
+                 continue



Home | Main Index | Thread Index | Old Index