summaryrefslogtreecommitdiff
path: root/devel/apenwarr-redo/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2020-03-30 08:02:22 +0000
committerschmonz <schmonz@pkgsrc.org>2020-03-30 08:02:22 +0000
commita1d14c16398d1c29226f95ca7352f798feb0f220 (patch)
treeaee96f3de0a78f54bd590076ae75ff48bd7c18b2 /devel/apenwarr-redo/Makefile
parent8d960a223f9e10eb3f7b622bb0e1be99e06f2374 (diff)
downloadpkgsrc-a1d14c16398d1c29226f95ca7352f798feb0f220.tar.gz
Update to 0.42a. From the changelog:
- Add compatibility to Python 3 (and retain Python 2) - Remove python<3.0 restriction in setup.py - Make compatible to BeautifulSoup4 - Accept octal representations of Python 2 (0nnn) and Python 3 (0onnn) - Prevent iterator being changed while iterating - Python 2/3 compatible treatment of max(n, None) - Prevent "Exception ... ignored" in `redo-log ... | head` - Distinguish byte (python2 str type) and unicode strings (python 3 str type) - Set file descriptor as inheritable for all pythons >=3.4 - Unify print function usage for Python 2 and 3 via __future__ import - Run 2to3 utility - Remove python interpreter selection - GettingStarted.md: Add -E option to sudo to preserve environment - docs/cookbook/c: missing quote char.
Diffstat (limited to 'devel/apenwarr-redo/Makefile')
-rw-r--r--devel/apenwarr-redo/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/devel/apenwarr-redo/Makefile b/devel/apenwarr-redo/Makefile
index 300926d68f2..3d40bd6dc9d 100644
--- a/devel/apenwarr-redo/Makefile
+++ b/devel/apenwarr-redo/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2019/11/09 15:00:55 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2020/03/30 08:02:22 schmonz Exp $
-DISTNAME= redo-0.42
+DISTNAME= redo-0.42a
PKGNAME= apenwarr-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= -https://codeload.github.com/apenwarr/redo/tar.gz/${DISTNAME}
@@ -12,9 +12,7 @@ LICENSE= apache-2.0
CONFLICTS+= jdebp-redo-[0-9]*
-PYTHON_VERSIONS_ACCEPTED= 27
-
-BUILD_DEPENDS+= ${PYPKGPREFIX}-beautifulsoup-[0-9]*:../../www/py-beautifulsoup
+BUILD_DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
BUILD_DEPENDS+= ${PYPKGPREFIX}-markdown-[0-9]*:../../textproc/py-markdown
DEPENDS+= dash-[0-9]*:../../shells/dash
@@ -23,7 +21,13 @@ DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
WRKSRC= ${WRKDIR}/redo-${DISTNAME}
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= do-configure
+SUBST_FILES.paths= redo/whichpython.do
+SUBST_VARS.paths= PYTHONBIN
+
INSTALL_ENV+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"