pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/time/py-maya
Module Name: pkgsrc
Committed By: jperkin
Date: Tue Oct 31 09:22:22 UTC 2017
Modified Files:
pkgsrc/time/py-maya: distinfo
Added Files:
pkgsrc/time/py-maya/patches: patch-setup.py
Log Message:
py-maya: Fix build with python27.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/time/py-maya/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/time/py-maya/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/time/py-maya/distinfo
diff -u pkgsrc/time/py-maya/distinfo:1.2 pkgsrc/time/py-maya/distinfo:1.3
--- pkgsrc/time/py-maya/distinfo:1.2 Sat Oct 28 08:54:11 2017
+++ pkgsrc/time/py-maya/distinfo Tue Oct 31 09:22:21 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/10/28 08:54:11 adam Exp $
+$NetBSD: distinfo,v 1.3 2017/10/31 09:22:21 jperkin Exp $
SHA1 (maya-0.3.3.tar.gz) = 057ef0cdd2f5ea4d11dd6eeb59873169da9ff2d3
RMD160 (maya-0.3.3.tar.gz) = 00c619fd835e660ea45ef405b7c93a4da3bb8c32
SHA512 (maya-0.3.3.tar.gz) = b9cd1836607f482aaa8e3d1a7f22f0848602386959d8e3e0b040dd0a7b6e0cb13885085f333a1f064ead1b81a554467b05cd6bd65b9d53a08ff6c7d884f45806
Size (maya-0.3.3.tar.gz) = 9781 bytes
+SHA1 (patch-setup.py) = c942fcc6a361eda8029b4d08fc08962adc97526e
Added files:
Index: pkgsrc/time/py-maya/patches/patch-setup.py
diff -u /dev/null pkgsrc/time/py-maya/patches/patch-setup.py:1.1
--- /dev/null Tue Oct 31 09:22:22 2017
+++ pkgsrc/time/py-maya/patches/patch-setup.py Tue Oct 31 09:22:22 2017
@@ -0,0 +1,23 @@
+$NetBSD: patch-setup.py,v 1.1 2017/10/31 09:22:22 jperkin Exp $
+
+Fix python27.
+
+--- setup.py.orig 2017-07-27 20:19:27.000000000 +0000
++++ setup.py
+@@ -1,6 +1,7 @@
+ #!/usr/bin/env python
+ # -*- coding: utf-8 -*-
+
++import io
+ import os
+ import sys
+ import codecs
+@@ -39,7 +40,7 @@ packages = [
+
+ # About dict to store version and package info
+ about = dict()
+-with open(os.path.join(here, 'maya', '__version__.py'), 'r', encoding='utf-8') as f:
++with io.open(os.path.join(here, 'maya', '__version__.py'), mode='r', encoding='utf-8') as f:
+ exec(f.read(), about)
+
+ setup(
Home |
Main Index |
Thread Index |
Old Index