pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-backports py-backports: simplify Makefile
details: https://anonhg.NetBSD.org/pkgsrc/rev/0558af19a298
branches: trunk
changeset: 345496:0558af19a298
user: adam <adam%pkgsrc.org@localhost>
date: Fri Dec 13 09:08:01 2019 +0000
description:
py-backports: simplify Makefile
diffstat:
devel/py-backports/Makefile | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 901851e4876e -r 0558af19a298 devel/py-backports/Makefile
--- a/devel/py-backports/Makefile Fri Dec 13 07:43:47 2019 +0000
+++ b/devel/py-backports/Makefile Fri Dec 13 09:08:01 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/02/20 10:18:40 hauke Exp $
+# $NetBSD: Makefile,v 1.3 2019/12/13 09:08:01 adam Exp $
PKGNAME= ${PYPKGPREFIX}-backports-1.0
PKGREVISION= 1
@@ -10,7 +10,6 @@
COMMENT= Namespace for backported Python features
LICENSE= python-software-foundation
-WRKSRC= ${WRKDIR}/bp
PY_PATCHPLIST= yes
PYTHON_VERSIONS_ACCEPTED= 27
@@ -18,11 +17,11 @@
INSTALLATION_DIRS+= ${PYSITELIB}/backports
do-extract:
- mkdir ${WRKDIR}/bp
+ ${MKDIR} ${WRKSRC}
${CP} ${FILESDIR}/__init__.py ${WRKSRC}
do-build:
- cd ${WRKSRC}; ${PYTHONBIN} -m compileall .; ${PYTHONBIN} -O -m compileall .
+ cd ${WRKSRC} && ${PY_COMPILE_ALL} . && ${PY_COMPILE_O_ALL} .
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/__init__.* ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/
Home |
Main Index |
Thread Index |
Old Index