pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-gmpy
Module Name: pkgsrc
Committed By: adam
Date: Thu Jan 11 07:59:48 UTC 2018
Modified Files:
pkgsrc/math/py-gmpy: DESCR Makefile PLIST distinfo
Log Message:
py-gmpy: updated to 1.17
Version 1.17 only fixes compatibility with Python 3.x and other C extensions that use gmpy.
Version 1.16 fixes a minor issue with the new Decimal type in Python 3.3.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/py-gmpy/DESCR pkgsrc/math/py-gmpy/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/math/py-gmpy/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/py-gmpy/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-gmpy/DESCR
diff -u pkgsrc/math/py-gmpy/DESCR:1.2 pkgsrc/math/py-gmpy/DESCR:1.3
--- pkgsrc/math/py-gmpy/DESCR:1.2 Fri Jan 24 09:16:18 2014
+++ pkgsrc/math/py-gmpy/DESCR Thu Jan 11 07:59:47 2018
@@ -1,4 +1,6 @@
-GMPY and GMPY2 are C-coded Python extension modules that support fast
-multiple-precision arithmetic. GMPY only supports the GMP library and
-provides fast multiple-precision integer and rational arithmetic. The
-limited mpf type from GMP is also supported.
+GMPY is a C-coded Python extension module that provides access to the GMP (or
+MPIR) multiple-precision arithmetic library.
+
+GMPY allows creation of multiprecision integer (mpz), float (mpf),and rational
+(mpq) numbers, conversion between them and to/from Python numbers/strings,
+arithmetic, bitwise, and some other higher-level mathematical operations999.
Index: pkgsrc/math/py-gmpy/PLIST
diff -u pkgsrc/math/py-gmpy/PLIST:1.2 pkgsrc/math/py-gmpy/PLIST:1.3
--- pkgsrc/math/py-gmpy/PLIST:1.2 Sat Jun 2 13:52:06 2012
+++ pkgsrc/math/py-gmpy/PLIST Thu Jan 11 07:59:47 2018
@@ -1,4 +1,3 @@
-@comment $NetBSD: PLIST,v 1.2 2012/06/02 13:52:06 obache Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/01/11 07:59:47 adam Exp $
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/gmpy.so
-share/doc/py-gmpy${PYVERSSUFFIX}/gmpydoc.txt
Index: pkgsrc/math/py-gmpy/Makefile
diff -u pkgsrc/math/py-gmpy/Makefile:1.9 pkgsrc/math/py-gmpy/Makefile:1.10
--- pkgsrc/math/py-gmpy/Makefile:1.9 Mon Sep 4 18:55:09 2017
+++ pkgsrc/math/py-gmpy/Makefile Thu Jan 11 07:59:47 2018
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2017/09/04 18:55:09 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/11 07:59:47 adam Exp $
-DISTNAME= gmpy-1.15
+DISTNAME= gmpy-1.17
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= math
-MASTER_SITES= http://gmpy.googlecode.com/files/
+CATEGORIES= math python
+MASTER_SITES= ${MASTER_SITE_PYPI:=g/gmpy/}
EXTRACT_SUFX= .zip
MAINTAINER= kamel.derouiche%gmail.com@localhost
@@ -11,23 +11,15 @@ HOMEPAGE= https://github.com/aleaxit/gmp
COMMENT= Python library for arbitrary precision arithmetic
LICENSE= gnu-lgpl-v2.1
-USE_LANGUAGES= c
-BUILD_TARGET= gmpy.so
-
-TEST_ENV+= PYTHONPATH=${WRKSRC}/test
-
+.include "../../lang/python/pyversion.mk"
do-test:
- ${ECHO} "Testing py-gmpy:"
- ${RUN} cd ${WRKSRC}/test; \
- ${SETENV} ${TEST_ENV} ${PYTHONBIN} gmpy_test.py
-
-INSTALLATION_DIRS= share/doc/py-gmpy${PYVERSSUFFIX}
-
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/gmpydoc.txt \
- ${DESTDIR}${PREFIX}/share/doc/py-gmpy${PYVERSSUFFIX}
+.if ${_PYTHON_VERSION} == "27"
+ cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} gmpy_test.py
+.else
+ cd ${WRKSRC}/test3 && ${SETENV} ${TEST_ENV} ${PYTHONBIN} gmpy_test.py
+.endif
-BUILDLINK_API_DEPENDS.gmp+= gmp>=4.2.1
+BUILDLINK_API_DEPENDS.gmp+= gmp>=4.2.1
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/py-gmpy/distinfo
diff -u pkgsrc/math/py-gmpy/distinfo:1.3 pkgsrc/math/py-gmpy/distinfo:1.4
--- pkgsrc/math/py-gmpy/distinfo:1.3 Tue Nov 3 23:33:42 2015
+++ pkgsrc/math/py-gmpy/distinfo Thu Jan 11 07:59:47 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 23:33:42 agc Exp $
+$NetBSD: distinfo,v 1.4 2018/01/11 07:59:47 adam Exp $
-SHA1 (gmpy-1.15.zip) = 59147d4307fddceae0b63ca0f8677dc73fa03fb8
-RMD160 (gmpy-1.15.zip) = a0fcf5639ad66f1b88c937fbef5893d9ed25b079
-SHA512 (gmpy-1.15.zip) = 077bcd8e9a054782cd72941216efc279c42d0e27d2d4bc8ab2594fd9c0e00d98fa7a53a67f76cd3c142425dda133f72bf948285af5005edb7e0924612d567543
-Size (gmpy-1.15.zip) = 143563 bytes
+SHA1 (gmpy-1.17.zip) = b5353453fa7a4b7d6480686c3a9b91d1c4455957
+RMD160 (gmpy-1.17.zip) = 0465338605fa73695259082c973eab23d7d96cff
+SHA512 (gmpy-1.17.zip) = f45b9862beffdc74e1e5840ec8ea1a7e15a31518df5e3782f247e98566d7d471fc4105e30d8c90194c714c46b77edfd944192fef6446cd6d60d1e4c304d0b029
+Size (gmpy-1.17.zip) = 147636 bytes
Home |
Main Index |
Thread Index |
Old Index