From owner-svn-ports-head@freebsd.org Tue Mar 9 20:40:25 2021 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 C346356FDA9; Tue, 9 Mar 2021 20:40:25 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dw6Xn5Dt7z3CjZ; Tue, 9 Mar 2021 20:40:25 +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 A6D6A2275A; Tue, 9 Mar 2021 20:40:25 +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 129KePi7054449; Tue, 9 Mar 2021 20:40:25 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 129KePja054447; Tue, 9 Mar 2021 20:40:25 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202103092040.129KePja054447@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Tue, 9 Mar 2021 20:40:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567955 - head/astro/kosmorro X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: head/astro/kosmorro X-SVN-Commit-Revision: 567955 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.34 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: Tue, 09 Mar 2021 20:40:25 -0000 Author: thierry Date: Tue Mar 9 20:40:25 2021 New Revision: 567955 URL: https://svnweb.freebsd.org/changeset/ports/567955 Log: textproc/rubygem-ronn is BROKEN on 11.4: do not build manpages. Since I´m there define noflavors. Modified: head/astro/kosmorro/Makefile head/astro/kosmorro/pkg-plist Modified: head/astro/kosmorro/Makefile ============================================================================== --- head/astro/kosmorro/Makefile Tue Mar 9 20:10:10 2021 (r567954) +++ head/astro/kosmorro/Makefile Tue Mar 9 20:40:25 2021 (r567955) @@ -12,7 +12,6 @@ COMMENT= Ephemerides computation LICENSE= AGPLv3 BUILD_DEPENDS= ${PYNUMPY} \ - ronn:textproc/rubygem-ronn \ ${PYTHON_PKGNAMEPREFIX}skyfield>0:astro/py-skyfield@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}\ ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR}\ @@ -29,7 +28,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pipenv>0:devel/py USE_GITHUB= yes USES= python:3.7+ shebangfix -USE_PYTHON= distutils +USE_PYTHON= distutils noflavors SHEBANG_FILES= ${PORTNAME} OPTIONS_DEFINE= PDF @@ -39,14 +38,28 @@ PDF_RUN_DEPENDS=pdflatex:print/tex-formats NO_ARCH= yes +.include + +# ronn is broken on 11.x => do not build manpages +.if ${OSVERSION} < 1200000 +PLIST_SUB+= MAN="@comment " +.else +BUILD_DEPENDS+= ronn:textproc/rubygem-ronn +PLIST_SUB+= MAN="" +.endif + pre-configure: ${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' ${WRKSRC}/Makefile +.if ${OSVERSION} < 1200000 + ${REINPLACE_CMD} -e 's|i18n manpages|manpages|' ${WRKSRC}/Makefile +.else post-build: (cd ${WRKSRC} && LC_ALL=C.UTF-8 ${MAKE} manpages) +.endif do-test: install #(cd ${WRKSRC} && ${MAKE} test) ${DO_NADA} # It uses unittest-data-provider which is deprecated -.include +.include Modified: head/astro/kosmorro/pkg-plist ============================================================================== --- head/astro/kosmorro/pkg-plist Tue Mar 9 20:10:10 2021 (r567954) +++ head/astro/kosmorro/pkg-plist Tue Mar 9 20:40:25 2021 (r567955) @@ -88,5 +88,5 @@ bin/kosmorro %%PYTHON_SITELIBDIR%%/test/ephemerides.py %%PYTHON_SITELIBDIR%%/test/events.py %%PYTHON_SITELIBDIR%%/test/testutils.py -man/man1/kosmorro.1.gz -man/man7/kosmorro.7.gz +%%MAN%%man/man1/kosmorro.1.gz +%%MAN%%man/man7/kosmorro.7.gz