pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-Tempita py-Tempita: fix build with latest ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2a0c90a50c9c
branches: trunk
changeset: 770655:2a0c90a50c9c
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Dec 06 14:56:43 2021 +0000
description:
py-Tempita: fix build with latest setuptools.
diffstat:
textproc/py-Tempita/Makefile | 5 ++++-
textproc/py-Tempita/distinfo | 3 ++-
textproc/py-Tempita/patches/patch-setup.py | 12 ++++++++++++
3 files changed, 18 insertions(+), 2 deletions(-)
diffs (45 lines):
diff -r 06e446097802 -r 2a0c90a50c9c textproc/py-Tempita/Makefile
--- a/textproc/py-Tempita/Makefile Mon Dec 06 14:54:32 2021 +0000
+++ b/textproc/py-Tempita/Makefile Mon Dec 06 14:56:43 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2017/09/04 18:01:01 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2021/12/06 14:56:43 wiz Exp $
DISTNAME= Tempita-0.5.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,5 +10,8 @@
COMMENT= Small Python templating language
LICENSE= mit
+post-extract:
+ cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs tempita
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 06e446097802 -r 2a0c90a50c9c textproc/py-Tempita/distinfo
--- a/textproc/py-Tempita/distinfo Mon Dec 06 14:54:32 2021 +0000
+++ b/textproc/py-Tempita/distinfo Mon Dec 06 14:56:43 2021 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/10/26 11:22:59 nia Exp $
+$NetBSD: distinfo,v 1.6 2021/12/06 14:56:43 wiz Exp $
BLAKE2s (Tempita-0.5.2.tar.gz) = 7bc4afeab743339a5598eb8dc6272b0e85ceaf3cae10f1bcca0d15c23170d021
SHA512 (Tempita-0.5.2.tar.gz) = 582d3ca35dfb2ad44491cf9e526db9f9c34c419f2b03a5ce86a7e5183f7760b380262367c062161d577c3fb3e69e39ee99bbf8e493873e1da1a350ef2f63630d
Size (Tempita-0.5.2.tar.gz) = 12648 bytes
+SHA1 (patch-setup.py) = de30cdc0c08711f6b34e3be006bfd38110516b5b
diff -r 06e446097802 -r 2a0c90a50c9c textproc/py-Tempita/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-Tempita/patches/patch-setup.py Mon Dec 06 14:56:43 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-setup.py,v 1.1 2021/12/06 14:56:43 wiz Exp $
+
+Fix build with latest setuptools.
+
+--- setup.py.orig 2013-12-17 04:07:27.000000000 +0000
++++ setup.py
+@@ -36,5 +36,4 @@ more to learn about it.
+ test_suite='nose.collector',
+ include_package_data=True,
+ zip_safe=True,
+- use_2to3=True,
+ )
Home |
Main Index |
Thread Index |
Old Index