pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-ecdsa Use REPLACE_PYTHON instead of reimpl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a48ddabdea40
branches:  trunk
changeset: 629759:a48ddabdea40
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jan 27 18:42:11 2014 +0000

description:
Use REPLACE_PYTHON instead of reimplementing it.

diffstat:

 security/py-ecdsa/Makefile |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r f9063ac7247d -r a48ddabdea40 security/py-ecdsa/Makefile
--- a/security/py-ecdsa/Makefile        Mon Jan 27 18:41:11 2014 +0000
+++ b/security/py-ecdsa/Makefile        Mon Jan 27 18:42:11 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2014/01/27 18:41:14 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2014/01/27 18:42:11 wiz Exp $
 
 DISTNAME=      python-ecdsa-0.10
 PKGNAME=       ${PYPKGPREFIX}-ecdsa-0.10
@@ -15,10 +15,8 @@
 WRKSRC=                ${WRKDIR}/python-ecdsa-${DISTNAME}
 USE_LANGUAGES= # none
 
-REPLACE_INTERPRETER+=  python
-REPLACE.python.old=    /usr/bin/env python
-REPLACE.python.new=    ${PYTHONBIN}
-REPLACE_FILES.python=  ecdsa/ecdsa.py ecdsa/ellipticcurve.py ecdsa/numbertheory.py
+REPLACE_PYTHON=        ecdsa/ecdsa.py ecdsa/ellipticcurve.py ecdsa/numbertheory.py
 
+.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index