From ca83093105938d057ebd9bd634933db992424ad2 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 2 Jun 2012 13:52:06 +0000 Subject: [PATCH] Update py-gmpy to 1.15. Based on PR 46507 by Wen Heping. * let to register egg-info. * all files in distfile are not DOS style EOL oter than Windows related files, so remove extract option for ZIP. GMPY 1.15 is a bug fix release. The following bugs were fixed: * Reference counting leak in divmod(x,0). * Fatal crash in remove(x,1). * Discontinue use of custom memory allocator. (Fixes compatibility with Sage.) * Allow up to base-62 integer conversion. --- math/py-gmpy/Makefile | 12 +++--------- math/py-gmpy/PLIST | 3 ++- math/py-gmpy/distinfo | 8 ++++---- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile index f535a2da18571..ac6857b440f7f 100644 --- a/math/py-gmpy/Makefile +++ b/math/py-gmpy/Makefile @@ -1,16 +1,11 @@ -# $NetBSD: Makefile,v 1.3 2011/12/03 00:02:15 joerg Exp $ +# $NetBSD: Makefile,v 1.4 2012/06/02 13:52:06 obache Exp $ # -DISTNAME= gmpy-1.12 +DISTNAME= gmpy-1.15 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math MASTER_SITES= http://gmpy.googlecode.com/files/ EXTRACT_SUFX= .zip -EXTRACT_SUFX= .zip -# XXX: all text file are DOS style. -# XXX: if future version install binary file, -# XXX: please consider to use another method. -EXTRACT_OPTS_ZIP= -aaqo MAINTAINER= kamel.derouiche@gmail.com HOMEPAGE= http://code.google.com/p/gmpy @@ -24,7 +19,6 @@ PYTHON_VERSIONS_INCLUDE_3X= yes USE_LANGUAGES= c BUILD_TARGET= gmpy.so -PYDISTUTILSPKG= yes PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} TEST_ENV+= PYTHONPATH=${WRKSRC}/test @@ -41,5 +35,5 @@ post-install: BUILDLINK_API_DEPENDS.gmp+= gmp>=4.2.1 .include "../../devel/gmp/buildlink3.mk" -.include "../../lang/python/extension.mk" +.include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/math/py-gmpy/PLIST b/math/py-gmpy/PLIST index 604255228c6cc..1a47585c92d25 100644 --- a/math/py-gmpy/PLIST +++ b/math/py-gmpy/PLIST @@ -1,3 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/10 17:59:00 drochner Exp $ +@comment $NetBSD: PLIST,v 1.2 2012/06/02 13:52:06 obache Exp $ +${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/gmpy.so share/doc/py-gmpy${PYVERSSUFFIX}/gmpydoc.txt diff --git a/math/py-gmpy/distinfo b/math/py-gmpy/distinfo index 0d9c736086366..073cadc481f1b 100644 --- a/math/py-gmpy/distinfo +++ b/math/py-gmpy/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/08/10 17:59:00 drochner Exp $ +$NetBSD: distinfo,v 1.2 2012/06/02 13:52:06 obache Exp $ -SHA1 (gmpy-1.12.zip) = 6ee071d7407f30f6ff8de962d3631470ff748d61 -RMD160 (gmpy-1.12.zip) = 52e6a1ebd2cabe398a760f6355a043d75bcacb55 -Size (gmpy-1.12.zip) = 146225 bytes +SHA1 (gmpy-1.15.zip) = 59147d4307fddceae0b63ca0f8677dc73fa03fb8 +RMD160 (gmpy-1.15.zip) = a0fcf5639ad66f1b88c937fbef5893d9ed25b079 +Size (gmpy-1.15.zip) = 143563 bytes