pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-ruamel-base py-ruamel-base: fix installation
details: https://anonhg.NetBSD.org/pkgsrc/rev/f3dd0beb42bc
branches: trunk
changeset: 371782:f3dd0beb42bc
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jan 14 09:54:14 2022 +0000
description:
py-ruamel-base: fix installation
diffstat:
devel/py-ruamel-base/distinfo | 3 ++-
devel/py-ruamel-base/patches/patch-setup.py | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 82655812ec8b -r f3dd0beb42bc devel/py-ruamel-base/distinfo
--- a/devel/py-ruamel-base/distinfo Fri Jan 14 09:42:12 2022 +0000
+++ b/devel/py-ruamel-base/distinfo Fri Jan 14 09:54:14 2022 +0000
@@ -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
diff -r 82655812ec8b -r f3dd0beb42bc devel/py-ruamel-base/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ruamel-base/patches/patch-setup.py Fri Jan 14 09:54:14 2022 +0000
@@ -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