pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jan 10 22:40:19 UTC 2022

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

Log Message:
py-ruamel-yaml: fix installation


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-ruamel-yaml/distinfo
cvs rdiff -u -r0 -r1.3 pkgsrc/devel/py-ruamel-yaml/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-yaml/distinfo
diff -u pkgsrc/devel/py-ruamel-yaml/distinfo:1.23 pkgsrc/devel/py-ruamel-yaml/distinfo:1.24
--- pkgsrc/devel/py-ruamel-yaml/distinfo:1.23   Tue Jan  4 12:35:59 2022
+++ pkgsrc/devel/py-ruamel-yaml/distinfo        Mon Jan 10 22:40:19 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.23 2022/01/04 12:35:59 adam Exp $
+$NetBSD: distinfo,v 1.24 2022/01/10 22:40:19 wiz Exp $
 
 BLAKE2s (ruamel.yaml-0.17.20.tar.gz) = ff5735e1af3f92a5b201354625f168cfdf6ab30202255d26fcbd3b80a5e75326
 SHA512 (ruamel.yaml-0.17.20.tar.gz) = 6d6901c639fa27098a327eb717e92e51696a3ad469f34486ee160310f8e5d080b2a1206ebdbe018d8b3cd12d7757ddcb3abe9eaf1f329c2fe2ee78d167ad29ba
 Size (ruamel.yaml-0.17.20.tar.gz) = 128212 bytes
+SHA1 (patch-setup.py) = 1883f23fedba174b8f31c7f19e88bd836c893dab

Added files:

Index: pkgsrc/devel/py-ruamel-yaml/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-ruamel-yaml/patches/patch-setup.py:1.3
--- /dev/null   Mon Jan 10 22:40:19 2022
+++ pkgsrc/devel/py-ruamel-yaml/patches/patch-setup.py  Mon Jan 10 22:40:19 2022
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.3 2022/01/10 22:40:19 wiz Exp $
+
+Allow standard pkgsrc installation.
+
+--- setup.py.orig      2021-12-25 06:50:42.000000000 +0000
++++ setup.py
+@@ -326,13 +326,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