pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jan 10 21:54:14 UTC 2022

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

Log Message:
py-ruamel-yaml-clib: fix installation


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-ruamel-yaml-clib/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/devel/py-ruamel-yaml-clib/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-clib/distinfo
diff -u pkgsrc/devel/py-ruamel-yaml-clib/distinfo:1.6 pkgsrc/devel/py-ruamel-yaml-clib/distinfo:1.7
--- pkgsrc/devel/py-ruamel-yaml-clib/distinfo:1.6       Tue Oct 26 10:19:03 2021
+++ pkgsrc/devel/py-ruamel-yaml-clib/distinfo   Mon Jan 10 21:54:14 2022
@@ -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

Added files:

Index: pkgsrc/devel/py-ruamel-yaml-clib/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-ruamel-yaml-clib/patches/patch-setup.py:1.3
--- /dev/null   Mon Jan 10 21:54:14 2022
+++ pkgsrc/devel/py-ruamel-yaml-clib/patches/patch-setup.py     Mon Jan 10 21:54:14 2022
@@ -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