pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-ecdsa Install as egg to fix the 2.6 instal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/438039d2c6bd
branches:  trunk
changeset: 626251:438039d2c6bd
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Nov 05 17:37:48 2013 +0000

description:
Install as egg to fix the 2.6 installation.

diffstat:

 security/py-ecdsa/Makefile               |   6 ++++--
 security/py-ecdsa/PLIST                  |   7 +++++--
 security/py-ecdsa/distinfo               |   3 ++-
 security/py-ecdsa/patches/patch-setup.py |  13 +++++++++++++
 4 files changed, 24 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r f04fcfb3d2a4 -r 438039d2c6bd security/py-ecdsa/Makefile
--- a/security/py-ecdsa/Makefile        Tue Nov 05 17:27:10 2013 +0000
+++ b/security/py-ecdsa/Makefile        Tue Nov 05 17:37:48 2013 +0000
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2013/10/29 08:12:09 gls Exp $
+# $NetBSD: Makefile,v 1.3 2013/11/05 17:37:48 joerg Exp $
 
 DISTNAME=      python-ecdsa-0.10
 PKGNAME=       ${PYPKGPREFIX}-ecdsa-0.10
+EGG_NAME=      ecdsa-0.0.0
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  https://github.com/warner/python-ecdsa/archive/
 FETCH_USING=   curl
@@ -19,5 +21,5 @@
 REPLACE.python.new=    ${PYTHONBIN}
 REPLACE_FILES.python=  ecdsa/ecdsa.py ecdsa/ellipticcurve.py ecdsa/numbertheory.py
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f04fcfb3d2a4 -r 438039d2c6bd security/py-ecdsa/PLIST
--- a/security/py-ecdsa/PLIST   Tue Nov 05 17:27:10 2013 +0000
+++ b/security/py-ecdsa/PLIST   Tue Nov 05 17:37:48 2013 +0000
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2013/10/20 12:47:11 gls Exp $
-${PYSITELIB}/ecdsa-0.0.0-py2.7.egg-info
+@comment $NetBSD: PLIST,v 1.2 2013/11/05 17:37:48 joerg Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/ecdsa/__init__.py
 ${PYSITELIB}/ecdsa/__init__.pyc
 ${PYSITELIB}/ecdsa/__init__.pyo
diff -r f04fcfb3d2a4 -r 438039d2c6bd security/py-ecdsa/distinfo
--- a/security/py-ecdsa/distinfo        Tue Nov 05 17:27:10 2013 +0000
+++ b/security/py-ecdsa/distinfo        Tue Nov 05 17:37:48 2013 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2013/10/29 08:12:09 gls Exp $
+$NetBSD: distinfo,v 1.3 2013/11/05 17:37:48 joerg Exp $
 
 SHA1 (python-ecdsa-0.10.tar.gz) = 0b8581e319968da231ea5a61d0e0c2986a846bec
 RMD160 (python-ecdsa-0.10.tar.gz) = 4cf6cdacfc534362680bbaffbe06d812bada2d0e
 Size (python-ecdsa-0.10.tar.gz) = 45575 bytes
+SHA1 (patch-setup.py) = 484475e066b3c05b9ee8dcb81a456088fb485bf1
diff -r f04fcfb3d2a4 -r 438039d2c6bd security/py-ecdsa/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-ecdsa/patches/patch-setup.py  Tue Nov 05 17:37:48 2013 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup.py,v 1.1 2013/11/05 17:37:48 joerg Exp $
+
+--- setup.py.orig      2013-11-05 08:00:38.000000000 +0000
++++ setup.py
+@@ -1,6 +1,7 @@
+ #!/usr/bin/env python
+ import os, subprocess, re
+-from distutils.core import setup, Command
++from setuptools import setup
++from distutils.core import Command
+ from distutils.command.sdist import sdist as _sdist
+ from ecdsa.six import print_
+ 



Home | Main Index | Thread Index | Old Index