[BACK]Return to patch-setup.py CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / py-curl / patches

Annotation of pkgsrc/www/py-curl/patches/patch-setup.py, Revision 1.1

1.1     ! adam        1: $NetBSD$
        !             2:
        !             3: Add multi Python variant support.
        !             4:
        !             5: --- setup.py.orig      2016-02-04 04:39:06.000000000 +0000
        !             6: +++ setup.py
        !             7: @@ -520,9 +520,9 @@ def get_data_files():
        !             8:      # a list of tuples with (path to install to, a list of local files)
        !             9:      data_files = []
        !            10:      if sys.platform == "win32":
        !            11: -        datadir = os.path.join("doc", PACKAGE)
        !            12: +        datadir = os.path.join("doc", PACKAGE + sys.version[0:3])
        !            13:      else:
        !            14: -        datadir = os.path.join("share", "doc", PACKAGE)
        !            15: +        datadir = os.path.join("share", "doc", PACKAGE  + sys.version[0:3])
        !            16:      #
        !            17:      files = ["AUTHORS", "ChangeLog", "COPYING-LGPL", "COPYING-MIT",
        !            18:          "INSTALL.rst", "README.rst", "RELEASE-NOTES.rst"]

CVSweb <webmaster@jp.NetBSD.org>