diff options
author | markd <markd@pkgsrc.org> | 2019-12-19 21:19:43 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2019-12-19 21:19:43 +0000 |
commit | e7e2d6757119eb58366e789210d97730f6590f19 (patch) | |
tree | 545c63dab8e52eaa1fca977f95adfcfc080b7aae /emulators/gns3-server | |
parent | 19127be138f698ff666f6519dbb9ee22a17e8142 (diff) | |
download | pkgsrc-e7e2d6757119eb58366e789210d97730f6590f19.tar.gz |
gns3-server: fix install for python != 3.7.
Also fix permissions of installed files
Diffstat (limited to 'emulators/gns3-server')
-rw-r--r-- | emulators/gns3-server/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/emulators/gns3-server/Makefile b/emulators/gns3-server/Makefile index bdf0b7d5725..9d47a928a33 100644 --- a/emulators/gns3-server/Makefile +++ b/emulators/gns3-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2019/11/03 01:31:38 markd Exp $ +# $NetBSD: Makefile,v 1.2 2019/12/19 21:19:43 markd Exp $ DISTNAME= gns3-server-2.2.1 CATEGORIES= emulators @@ -23,8 +23,8 @@ DEPENDS+= ${PYPKGPREFIX}-psutil>=3.0.0:../../sysutils/py-psutil DEPENDS+= ${PYPKGPREFIX}-async-timeout>=3.0.1:../../devel/py-async-timeout DEPENDS+= ${PYPKGPREFIX}-zipstream>=1.1.4:../../archivers/py-zipstream -CHECK_INTERPRETER_SKIP+= lib/python3.7/site-packages/gns3server/compute/docker/resources/init.sh -CHECK_INTERPRETER_SKIP+= lib/python3.7/site-packages/gns3server/compute/docker/resources/etc/udhcpc/default.script +CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gns3server/compute/docker/resources/init.sh +CHECK_INTERPRETER_SKIP+= ${PYSITELIB}/gns3server/compute/docker/resources/etc/udhcpc/default.script # we have newer jsonschema and it seems fine SUBST_CLASSES+= inst @@ -32,6 +32,11 @@ SUBST_STAGE.inst= pre-configure SUBST_FILES.inst= requirements.txt SUBST_SED.inst= -e "s:jsonschema==2.6.0:jsonschema:" +post-install: + chmod go-w ${DESTDIR}${PREFIX}/${PYSITELIB}/gns3server/compute/docker/resources/init.sh + chmod go-w ${DESTDIR}${PREFIX}/${PYSITELIB}/gns3server/compute/docker/resources/etc/udhcpc/default.script + chmod go-w ${DESTDIR}${PREFIX}/${PYSITELIB}/gns3server/compute/docker/resources/bin/busybox + .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" |