summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-06-02 13:52:06 +0000
committerobache <obache@pkgsrc.org>2012-06-02 13:52:06 +0000
commit06d16c1bda246f0bda7102c909b8dd0fb7b6e7c7 (patch)
tree95cc039ada1c78f61899e654b7e3a28ccdfa1713 /math
parentacbc041e430ab29af4a7a3031c561edcd5288e5b (diff)
downloadpkgsrc-06d16c1bda246f0bda7102c909b8dd0fb7b6e7c7.tar.gz
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.
Diffstat (limited to 'math')
-rw-r--r--math/py-gmpy/Makefile12
-rw-r--r--math/py-gmpy/PLIST3
-rw-r--r--math/py-gmpy/distinfo8
3 files changed, 9 insertions, 14 deletions
diff --git a/math/py-gmpy/Makefile b/math/py-gmpy/Makefile
index f535a2da185..ac6857b440f 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 604255228c6..1a47585c92d 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 0d9c7360863..073cadc481f 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