pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-hg-git
Module Name: pkgsrc
Committed By: mef
Date: Mon Sep 27 02:00:44 UTC 2021
Modified Files:
pkgsrc/devel/py-hg-git: distinfo
Added Files:
pkgsrc/devel/py-hg-git/patches: patch-setup.py
Log Message:
(devel/py-hg-git) Add py36 fix patch, cannot decode 0xe2
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-hg-git/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-hg-git/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-hg-git/distinfo
diff -u pkgsrc/devel/py-hg-git/distinfo:1.8 pkgsrc/devel/py-hg-git/distinfo:1.9
--- pkgsrc/devel/py-hg-git/distinfo:1.8 Wed Mar 24 09:25:09 2021
+++ pkgsrc/devel/py-hg-git/distinfo Mon Sep 27 02:00:44 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2021/03/24 09:25:09 hauke Exp $
+$NetBSD: distinfo,v 1.9 2021/09/27 02:00:44 mef Exp $
SHA1 (hg-git-0.10.0.tar.bz2) = 9207e04d942518dd9277555d2f54e063a0fa4e05
RMD160 (hg-git-0.10.0.tar.bz2) = 9c1dc4227269a49a8c23afb9c0e3c53a4f580d8e
SHA512 (hg-git-0.10.0.tar.bz2) = 6f4277bc2b63da97e63531c751465e72467be0dfe92a7b64bfa423412268f89f02985665428597281a53b44f169f1291447e7b1d3a8047d7b0d67d1b1e0e5e27
Size (hg-git-0.10.0.tar.bz2) = 143518 bytes
+SHA1 (patch-setup.py) = 9255ceda0eb9a34963fc107fb62da8e5d6424ba8
Added files:
Index: pkgsrc/devel/py-hg-git/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-hg-git/patches/patch-setup.py:1.1
--- /dev/null Mon Sep 27 02:00:44 2021
+++ pkgsrc/devel/py-hg-git/patches/patch-setup.py Mon Sep 27 02:00:44 2021
@@ -0,0 +1,25 @@
+$NetBSD: patch-setup.py,v 1.1 2021/09/27 02:00:44 mef Exp $
+
+py36 flags:
+UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1085: ordinal not in range(128)
+
+--- setup.py.orig 2021-01-11 23:58:48.000000000 +0900
++++ setup.py 2021-09-27 10:51:25.778622523 +0900
+@@ -2,6 +2,8 @@ from __future__ import absolute_import,
+
+ from os.path import dirname, join
+
++import sys
++
+ try:
+ from setuptools import setup
+ except:
+@@ -29,7 +31,7 @@ setup(
+ maintainer_email='kbullock+mercurial%ringworld.org@localhost',
+ url='http://foss.heptapod.net/mercurial/hg-git',
+ description='push to and pull from a Git repository using Mercurial',
+- long_description=get_file("README.rst"),
++ long_description=''.join(open('README.rst', **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})).readlines()),
+ keywords='hg git mercurial',
+ license='GPLv2',
+ packages=['hggit'],
Home |
Main Index |
Thread Index |
Old Index