From nobody Wed Nov 10 16:33:52 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 738F61847F4A; Wed, 10 Nov 2021 16:33:54 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hq9Qp0kGfz3M42; Wed, 10 Nov 2021 16:33:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 157951BF26; Wed, 10 Nov 2021 16:33:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AAGXqVY000429; Wed, 10 Nov 2021 16:33:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AAGXqgM000428; Wed, 10 Nov 2021 16:33:52 GMT (envelope-from git) Date: Wed, 10 Nov 2021 16:33:52 GMT Message-Id: <202111101633.1AAGXqgM000428@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 39f2c705c61f - main - math/py-gmpy2-devel: fix build with PYTHON_DEFAULT <3.7 >3.9 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39f2c705c61fb27085aeaa49bdef553222b9d425 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=39f2c705c61fb27085aeaa49bdef553222b9d425 commit 39f2c705c61fb27085aeaa49bdef553222b9d425 Author: Dmitry Marakasov AuthorDate: 2021-11-10 16:27:08 +0000 Commit: Dmitry Marakasov CommitDate: 2021-11-10 16:33:07 +0000 math/py-gmpy2-devel: fix build with PYTHON_DEFAULT <3.7 >3.9 - Explicitly specify correct sphinx-build binary to use. Use versioned binary, as unversioned one may not be available (such as when building with default python=3.10; in this case PY_FLAVOR is py38 as this port does not yet support python 3.10, so it pulls sphinx-build@py38 which does not install sphinx-build as 3.8 is not default python version). - Fix LICENSE and add LICENSE_FILE - Do not try to install docs in build phase Approved by: portmgr blanket --- math/py-gmpy2-devel/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/math/py-gmpy2-devel/Makefile b/math/py-gmpy2-devel/Makefile index b08e25f0fc44..131894b3c7aa 100644 --- a/math/py-gmpy2-devel/Makefile +++ b/math/py-gmpy2-devel/Makefile @@ -11,7 +11,8 @@ PKGNAMESUFFIX= -devel MAINTAINER= thierry@FreeBSD.org COMMENT= GMP, MPFR, and MPC interface to Python - devel version -LICENSE= GPLv3 +LICENSE= LGPL3+ +LICENSE_FILE= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libgmp.so:math/gmp \ libmpc.so:math/mpc \ @@ -34,10 +35,10 @@ PORTDOCS= * PLIST_SUB= VER=${DISTVERSION} do-build-DOCS-on: - (cd ${WRKSRC}/docs && ${GMAKE} html) + (cd ${WRKSRC}/docs && ${GMAKE} SPHINXBUILD=sphinx-build-${PYTHON_VER} html) -post-build-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${CP} -R ${WRKSRC}/docs/_build/html/* ${STAGEDIR}${DOCSDIR} .include