pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-wasm py-wasm: Try a different fix.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/df7e7fa35a02
branches:  trunk
changeset: 439900:df7e7fa35a02
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 29 20:02:09 2020 +0000

description:
py-wasm: Try a different fix.

diffstat:

 devel/py-wasm/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e9ddf099af39 -r df7e7fa35a02 devel/py-wasm/Makefile
--- a/devel/py-wasm/Makefile    Tue Sep 29 19:37:33 2020 +0000
+++ b/devel/py-wasm/Makefile    Tue Sep 29 20:02:09 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/09/29 19:28:11 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2020/09/29 20:02:09 jperkin Exp $
 
 DISTNAME=      wasm-1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,9 +12,9 @@
 COMMENT=       WebAssembly decoder & disassembler
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+USE_LANGUAGES= c++
 
-USE_LANGUAGES= c++
+PYTHON_VERSIONED_DEPENDENCIES+=        setuptools
 
 post-install:
        ${MV} ${DESTDIR}${PREFIX}/bin/wasmdump \
@@ -22,4 +22,5 @@
 
 # TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index