pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-Tempita



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Dec  6 14:56:43 UTC 2021

Modified Files:
        pkgsrc/textproc/py-Tempita: Makefile distinfo
Added Files:
        pkgsrc/textproc/py-Tempita/patches: patch-setup.py

Log Message:
py-Tempita: fix build with latest setuptools.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-Tempita/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-Tempita/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-Tempita/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/textproc/py-Tempita/Makefile
diff -u pkgsrc/textproc/py-Tempita/Makefile:1.6 pkgsrc/textproc/py-Tempita/Makefile:1.7
--- pkgsrc/textproc/py-Tempita/Makefile:1.6     Mon Sep  4 18:01:01 2017
+++ pkgsrc/textproc/py-Tempita/Makefile Mon Dec  6 14:56:43 2021
@@ -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 @@ MAINTAINER=           pkgsrc-users%NetBSD.org@localhost
 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"

Index: pkgsrc/textproc/py-Tempita/distinfo
diff -u pkgsrc/textproc/py-Tempita/distinfo:1.5 pkgsrc/textproc/py-Tempita/distinfo:1.6
--- pkgsrc/textproc/py-Tempita/distinfo:1.5     Tue Oct 26 11:22:59 2021
+++ pkgsrc/textproc/py-Tempita/distinfo Mon Dec  6 14:56:43 2021
@@ -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

Added files:

Index: pkgsrc/textproc/py-Tempita/patches/patch-setup.py
diff -u /dev/null pkgsrc/textproc/py-Tempita/patches/patch-setup.py:1.1
--- /dev/null   Mon Dec  6 14:56:43 2021
+++ pkgsrc/textproc/py-Tempita/patches/patch-setup.py   Mon Dec  6 14:56:43 2021
@@ -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