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.
This commit is contained in:
obache 2012-06-02 13:52:06 +00:00
parent acbc041e43
commit 06d16c1bda
3 changed files with 9 additions and 14 deletions

View file

@ -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"

View file

@ -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

View file

@ -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