pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-ruamel-yaml-clib py-ruamel-yaml-clib: fix ins...
details: https://anonhg.NetBSD.org/pkgsrc/rev/80e369fc343b
branches: trunk
changeset: 371586:80e369fc343b
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jan 10 21:54:14 2022 +0000
description:
py-ruamel-yaml-clib: fix installation
diffstat:
devel/py-ruamel-yaml-clib/distinfo | 3 ++-
devel/py-ruamel-yaml-clib/patches/patch-setup.py | 20 ++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r a1c24a893dc9 -r 80e369fc343b devel/py-ruamel-yaml-clib/distinfo
--- a/devel/py-ruamel-yaml-clib/distinfo Mon Jan 10 21:51:09 2022 +0000
+++ b/devel/py-ruamel-yaml-clib/distinfo Mon Jan 10 21:54:14 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:19:03 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/01/10 21:54:14 wiz Exp $
BLAKE2s (ruamel.yaml.clib-0.2.6.tar.gz) = 9676ca30ab457e31cda5a6961a4edf039f47842ca96f390cb3efd0c168df0586
SHA512 (ruamel.yaml.clib-0.2.6.tar.gz) = 12307a3c3bae09cf65d9672894c9a869a7ed5483ca3afb9ee39d8bcbf1948b012a0dbf570e315cc8b9a8b55184de9e10324953ec4819d214379e01522ee13b20
Size (ruamel.yaml.clib-0.2.6.tar.gz) = 180695 bytes
+SHA1 (patch-setup.py) = 4f92d4cd4704707ff07cb44ed64fceb5cf90ab84
diff -r a1c24a893dc9 -r 80e369fc343b devel/py-ruamel-yaml-clib/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ruamel-yaml-clib/patches/patch-setup.py Mon Jan 10 21:54:14 2022 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.3 2022/01/10 21:54:14 wiz Exp $
+
+Allow standard installation.
+
+--- setup.py.orig 2021-07-04 13:27:34.000000000 +0000
++++ setup.py
+@@ -327,13 +327,6 @@ class NameSpacePackager(object):
+ debug('calling setup.py', sys.argv)
+ if '-h' in sys.argv:
+ pass
+- elif '--single-version-externally-managed' not in sys.argv:
+- if os.environ.get('READTHEDOCS', None) == 'True':
+- os.system('pip install .')
+- sys.exit(0)
+- if not os.environ.get('RUAMEL_NO_PIP_INSTALL_CHECK', False):
+- print('error: you have to install with "pip install ."')
+- sys.exit(1)
+ # If you only support an extension module on Linux, Windows thinks it
+ # is pure. That way you would get pure python .whl files that take
+ # precedence for downloading on Linux over source with compilable C code
Home |
Main Index |
Thread Index |
Old Index