From nobody Mon Oct 16 16:00:54 2023 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 4S8MKL5V0bz4xWgW; Mon, 16 Oct 2023 16:00: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 4S8MKL3FThz3Btn; Mon, 16 Oct 2023 16:00:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697472054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OJQZiztTm4BZshrm47EPPXo/b0cIorm5jrHlERdptUw=; b=d7BqjJITPnfqPpy2VQ34vnMvox8D0MI+D3RY9jJ8iI6b71VjyqZYIUFeHX/N26a3jbGPa3 BMg8DgTRJcwTGnp8ELMBGCkLjhVJTivYb66WzTtWXx2kkdf5TETgp5JTxaAZkJ9ObHG//w VC+fC49iTmXeB3F1E0MO00/K5/arT2Ce6roh2O9n5UVdSweL6H8tVJjqYhIpWdFm9dpwAk m/jPwLSTyLhUtYd+xmSgH4rjI4W3d8E2VNAmAMtbqtew+bK+oBq++LZBFU0kp4hjDI2hhj ihR0Jv4XGrflOBcYGYZ8L5cdd5MNx+x+xdWsUTysXXvPEZWqF2LtfaeACOo1CQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697472054; a=rsa-sha256; cv=none; b=gUw4c4WenHRMl0dGtdn7GwR+3+OWtCdK3BH3HYqG1cCnAr20px7okmw4idsrjsaQL4ZlhV 60Md3BxEwcd6v5AO84ByqGqt9nznDu4Me8Hx9pJsAU9CNHeaa8301+Y6qSZIoZ4EoL3QzO y4Kg2dCH6Quux4N5NbuAXKThLGKLAi17tyLP74oShnKWouf+1K567crZ6VIK6OCziQUxeF 23QnkcSEQb3q+JjjL35YXMCIlb8nrMf9xSDFKCZG1zlsPIb2UfU1zyDP2MeLRgZ8cYUJ62 GG6lSgb7SVRb/IGu4MwT0KvHhU9kgeUM8hzIlsWOrHHFu7pM+A/anT9o2HQvNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697472054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OJQZiztTm4BZshrm47EPPXo/b0cIorm5jrHlERdptUw=; b=tMAV5AbRTIZWNdVmSm1Xktumz3B5PA8YEchtLUZy6BzkUArPbGawBApPxzT/0DwQ1mw2FU Um86U5boMXAiV1AqWqN21L/SGDBMIeQoOQnYCCc5xBx6U21CW6qitJ144OEizlScsCuX/w WOSG2CHYZR3CAIAA7d/TYUCUjP3FTGtbpdFicQizw6B5MDab5VmzDSg7SrtaEISTXU1f/Z 0EOPaWC5pbBXGmWJC53UEX+RdtM0xnXXT24tQ0TflrI8KXevElmPjYyPdezxCZAhC/4R8t BKCvBCVE2D5ovzmnayGUy4YRGN9vihPCvw4EnfZDQOfI0uouvzfQDSbhlHGSjw== 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 4S8MKL2LrJzmh8; Mon, 16 Oct 2023 16:00:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39GG0sop034874; Mon, 16 Oct 2023 16:00:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39GG0su5034871; Mon, 16 Oct 2023 16:00:54 GMT (envelope-from git) Date: Mon, 16 Oct 2023 16:00:54 GMT Message-Id: <202310161600.39GG0su5034871@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: d37f408537cb - main - astro/py-astlib: Update to 0.11.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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d37f408537cb1670d3e87e05e875dc361c7ba538 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d37f408537cb1670d3e87e05e875dc361c7ba538 commit d37f408537cb1670d3e87e05e875dc361c7ba538 Author: Po-Chuan Hsieh AuthorDate: 2023-10-16 15:18:31 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-10-16 15:59:44 +0000 astro/py-astlib: Update to 0.11.9 - Convert to USE_PYTHON=pep517 Changes: https://github.com/mattyowl/astLib/releases --- astro/py-astlib/Makefile | 7 ++++--- astro/py-astlib/distinfo | 6 +++--- astro/py-astlib/files/patch-setup.py | 23 +++++++++++++++++++++++ 3 files changed, 30 insertions(+), 6 deletions(-) diff --git a/astro/py-astlib/Makefile b/astro/py-astlib/Makefile index ff5a9717e5e8..6b64531c8b91 100644 --- a/astro/py-astlib/Makefile +++ b/astro/py-astlib/Makefile @@ -1,6 +1,5 @@ PORTNAME= astlib -PORTVERSION= 0.11.8 -PORTREVISION= 1 +PORTVERSION= 0.11.9 CATEGORIES= astro python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,6 +13,8 @@ WWW= https://astlib.readthedocs.io/en/latest/ \ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>=1.1:astro/py-astropy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.98:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=0.1:math/py-numpy@${PY_FLAVOR} \ @@ -21,7 +22,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astropy>=1.1:astro/py-astropy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.7.0:science/py-scipy@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 PORTSCOUT= skipv:0.15,0.17,0.17.1 # incorrect versioning upstream diff --git a/astro/py-astlib/distinfo b/astro/py-astlib/distinfo index e367ab8c4e9e..d285fb0c48ce 100644 --- a/astro/py-astlib/distinfo +++ b/astro/py-astlib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661599215 -SHA256 (astLib-0.11.8.tar.gz) = 2bb3619a71bada2375d5b10ad364a85a0bc631f6580c48537c192b40f70bc5fd -SIZE (astLib-0.11.8.tar.gz) = 9913587 +TIMESTAMP = 1697463070 +SHA256 (astLib-0.11.9.tar.gz) = b2f9b7be58ffa96fc7876732038694d0faba026a0bf53003ccb0010c0e54feb7 +SIZE (astLib-0.11.9.tar.gz) = 9917509 diff --git a/astro/py-astlib/files/patch-setup.py b/astro/py-astlib/files/patch-setup.py new file mode 100644 index 000000000000..22b8c234a3fe --- /dev/null +++ b/astro/py-astlib/files/patch-setup.py @@ -0,0 +1,23 @@ +Reference: https://github.com/mattyowl/astLib/pull/9 + https://github.com/mattyowl/astLib/commit/6844b308fb9ff1a71486dff98793bfec1ed13349 + +--- setup.py.orig 2023-10-12 15:29:16 UTC ++++ setup.py +@@ -36,7 +36,7 @@ class build_PyWCSTools_ext(build_ext): + + os.chdir(sourceDir) + cc=setuptools._distutils.ccompiler.new_compiler(setuptools._distutils.ccompiler.get_default_compiler()) +- cc.compiler_so=[sysconfig.get_config_var('CC')]+sysconfig.get_config_var('CFLAGS').split()+sysconfig.get_config_var('CFLAGSFORSHARED').split() ++ cc.compiler_so=sysconfig.get_config_var('CC').split()+sysconfig.get_config_var('CFLAGS').split()+sysconfig.get_config_var('CFLAGSFORSHARED').split() + + # Suppress warnings from compiling WCSTools wcssubs-3.9.5 + if "-Wstrict-prototypes" in cc.compiler_so: +@@ -55,7 +55,7 @@ class build_PyWCSTools_ext(build_ext): + + build_ext.build_extensions(self) + +-setup(name='astLib', ++setup(name='astlib', + version='0.11.9', + url='https://astlib.readthedocs.io', + author='Matt Hilton & Steven Boada',