From owner-svn-ports-head@freebsd.org Sun May 17 20:28:47 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85F422F36BB; Sun, 17 May 2020 20:28:47 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49QDHz28Pdz4tD1; Sun, 17 May 2020 20:28:47 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 44D80161A5; Sun, 17 May 2020 20:28:47 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04HKSl77080017; Sun, 17 May 2020 20:28:47 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04HKSkBG080012; Sun, 17 May 2020 20:28:46 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202005172028.04HKSkBG080012@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sun, 17 May 2020 20:28:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r535674 - in head/math: . py-gmpy2-devel X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: in head/math: . py-gmpy2-devel X-SVN-Commit-Revision: 535674 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2020 20:28:47 -0000 Author: thierry Date: Sun May 17 20:28:46 2020 New Revision: 535674 URL: https://svnweb.freebsd.org/changeset/ports/535674 Log: Gmpy2 is lagging for some time, and meanwhile, pplpy and SageMath require functonnalities only available from the pre-release versions. Added: head/math/py-gmpy2-devel/ - copied from r534984, head/math/py-gmpy2/ head/math/py-gmpy2-devel/pkg-plist (contents, props changed) Modified: head/math/Makefile head/math/py-gmpy2-devel/Makefile head/math/py-gmpy2-devel/distinfo head/math/py-gmpy2-devel/pkg-descr Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sun May 17 20:19:09 2020 (r535673) +++ head/math/Makefile Sun May 17 20:28:46 2020 (r535674) @@ -753,6 +753,7 @@ SUBDIR += py-gimmik SUBDIR += py-gmpy SUBDIR += py-gmpy2 + SUBDIR += py-gmpy2-devel SUBDIR += py-grandalf SUBDIR += py-graphillion SUBDIR += py-gym Modified: head/math/py-gmpy2-devel/Makefile ============================================================================== --- head/math/py-gmpy2/Makefile Tue May 12 09:57:55 2020 (r534984) +++ head/math/py-gmpy2-devel/Makefile Sun May 17 20:28:46 2020 (r535674) @@ -2,14 +2,14 @@ # $FreeBSD$ PORTNAME= gmpy2 -PORTVERSION= 2.0.8 -PORTREVISION= 3 +DISTVERSION= 2.1.0b4 CATEGORIES= math python -MASTER_SITES= CHEESESHOP +MASTER_SITES= https://github.com/aleaxit/gmpy/archive/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= -devel -MAINTAINER= yuri@FreeBSD.org -COMMENT= GMP/MPIR, MPFR, and MPC interface to Python +MAINTAINER= thierry@FreeBSD.org +COMMENT= GMP, MPFR, and MPC interface to Python - devel version LICENSE= GPLv3 @@ -17,10 +17,28 @@ LIB_DEPENDS= libgmp.so:math/gmp \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr -USES= python zip -USE_PYTHON= distutils autoplist +#USE_GITHUB= yes +#GH_ACCOUNT= aleaxit +#GH_PROJECT= gmpy -post-install: - @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/gmpy2.so +USES= localbase python:3.7+ +USE_PYTHON= distutils + +CONFLICTS= ${PYTHON_PKGNAMEPREFIX}gmpy2-2.0* + +OPTIONS_DEFINE= DOCS +DOCS_BUILD_DEPENDS= ${PY_SPHINX} +DOCS_USES= gmake +PORTDOCS= * + +WRKSRC= ${WRKDIR}/gmpy-${PORTNAME}-${DISTVERSION} +PLIST_SUB= VER=${DISTVERSION} + +do-build-DOCS-on: + (cd ${WRKSRC}/docs && ${GMAKE} html) + +post-build-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} -R ${WRKSRC}/docs/_build/html/* ${STAGEDIR}${DOCSDIR} .include Modified: head/math/py-gmpy2-devel/distinfo ============================================================================== --- head/math/py-gmpy2/distinfo Tue May 12 09:57:55 2020 (r534984) +++ head/math/py-gmpy2-devel/distinfo Sun May 17 20:28:46 2020 (r535674) @@ -1,3 +1,3 @@ -TIMESTAMP = 1467084567 -SHA256 (gmpy2-2.0.8.zip) = dd233e3288b90f21b0bb384bcc7a7e73557bb112ccf0032ad52aa614eb373d3f -SIZE (gmpy2-2.0.8.zip) = 280551 +TIMESTAMP = 1589731893 +SHA256 (gmpy2-2.1.0b4.tar.gz) = 83589062bc2b221080d6e32aa197b845be16dcda8aa0f92781854636f17b0a5b +SIZE (gmpy2-2.1.0b4.tar.gz) = 378212 Modified: head/math/py-gmpy2-devel/pkg-descr ============================================================================== --- head/math/py-gmpy2/pkg-descr Tue May 12 09:57:55 2020 (r534984) +++ head/math/py-gmpy2-devel/pkg-descr Sun May 17 20:28:46 2020 (r535674) @@ -4,5 +4,7 @@ rational arithmetic, gmpy2 adds support for the MPFR ( floating-point arithmetic) and MPC (correctly rounded complex floating-point arithmetic) libraries. +This is the -devel version, to be removed when 2.1 will be the new stable. + WWW: https://pypi.org/project/gmpy2/ WWW: https://github.com/aleaxit/gmpy/releases Added: head/math/py-gmpy2-devel/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-gmpy2-devel/pkg-plist Sun May 17 20:28:46 2020 (r535674) @@ -0,0 +1,12 @@ +%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/PKG-INFO +%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/SOURCES.txt +%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/dependency_links.txt +%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/not-zip-safe +%%PYTHON_SITELIBDIR%%/gmpy2-2.1.0b4-py%%PYTHON_VER%%.egg-info/top_level.txt +%%PYTHON_SITELIBDIR%%/gmpy2/__init__.pxd +%%PYTHON_SITELIBDIR%%/gmpy2/__init__.py +%%PYTHON_SITELIBDIR%%/gmpy2/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/gmpy2/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/gmpy2/gmpy2.h +%%PYTHON_SITELIBDIR%%/gmpy2/gmpy2.pxd +%%PYTHON_SITELIBDIR%%/gmpy2/gmpy2.so