From nobody Sun Apr 09 13:41:26 2023 X-Original-To: dev-commits-ports-main@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 4PvYD748xzz44SNm; Sun, 9 Apr 2023 13:41:27 +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 4PvYD64yvNz4PFN; Sun, 9 Apr 2023 13:41:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681047686; 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=Qmn45Euv1gJ1WiAyt6uSVM3bpDnh3Hzii3RRgIXXY2k=; b=sS0SgWq4O/jCEuNhI22QD5mXoi1w96o31p5lLD3HweHtSfojbraGQh7srtnPRi0f9IjNgd Yrq9Y6tPfhwDNsHpQ3p6ukZPaLbJUPz0RvGyu0pGDwWa3p2Tpa0nvw865dog/5J0WPbmFZ 4qEHGUvxHm2U5TGVrvViYdvXVNh0PzwUdxqVA61fXBl7TIDu4kQ3zP35r0M/JkT7GhTs6M UhpvDFZjINpFm0Y/R9S2aOGuICDqOs+9ZONGv/YplkwF+YKFZY1Nnog2VqqQqZCXIusL5j uASI8/w9/W5vvWIA4IKVomXVwsuZPgZoOlyDhCrf5jR6BxKnP2i/a80MrAIQSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681047686; 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=Qmn45Euv1gJ1WiAyt6uSVM3bpDnh3Hzii3RRgIXXY2k=; b=wId6xWALtt/paXi6/Aq+o5VqXa1jp3Bwy+Zm1tyttASEllL6ofkFnujqcBzyzRdfgIzjD3 zYY8bnK5f4yrWlPt58SCRcuJHBgYOf5DAvmrSEi/b+SAasrycrzs5NUjdoIUi+g2Zxj+7m EemAZf9/rTQn4kVWzQsTnsWUJVNl1TXQ2Pw4h33UxvCWLPBQdy8l6Hxg9Co4eWLnNJUOig CDI7G5zbNb1pujGiwZmQF5m1HIE8QEMNNIJcUbVcK84++z6pJQS1v/qbaAfgxO/tNIKRuZ UFFeiGIPTQ7iW+XrnNEJAfeo/4vpq9JI+mlFddg7sHgoLnTrzR+0rI6D7VmomQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681047686; a=rsa-sha256; cv=none; b=Vd7fXrfUdcVrAJgnt16vFnHZETj/CB4tmTP00prFfUByl4vKTl71tTnOKwNisMObBbxj4W QM6VhQfKqZnfhU9By5dHQexPqurRnt3hQdn+9ACCVzJZ9jR1EJtzDYw1W9QcPPiCnjF/2U s4KgaLPwBY5X1AF1C3QQ3bE3U54pHl6anNte4IcLiLXC5N4AXIz2V5yMUKMrCLnMJ3GPYB 1vTrjiqskIwWmhIBAVpgzeWajcf6cF3lFB2tNUGsaSTC9iqfAwfU2QVQuN6hN5Q0//iBCn 2ON2FCMNULJ8NRxHfTNbHO58JRvCM2uEDR9asnmWPaENbcv39ouKLXE2vy6/IA== 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 4PvYD63ymnz191b; Sun, 9 Apr 2023 13:41:26 +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 339DfQXL094846; Sun, 9 Apr 2023 13:41:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 339DfQGE094845; Sun, 9 Apr 2023 13:41:26 GMT (envelope-from git) Date: Sun, 9 Apr 2023 13:41:26 GMT Message-Id: <202304091341.339DfQGE094845@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: 529f1fdfe52c - main - math/py-pygsl: Update to 2.3.3 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 529f1fdfe52c2709fbed84694f162d4a7feec821 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=529f1fdfe52c2709fbed84694f162d4a7feec821 commit 529f1fdfe52c2709fbed84694f162d4a7feec821 Author: Po-Chuan Hsieh AuthorDate: 2023-04-09 13:31:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-04-09 13:36:55 +0000 math/py-pygsl: Update to 2.3.3 - Convert to USE_PYTHON=pep517 Changes: https://github.com/pygsl/pygsl/releases --- math/py-pygsl/Makefile | 8 +++--- math/py-pygsl/distinfo | 6 ++--- math/py-pygsl/files/patch-setup.py | 50 -------------------------------------- 3 files changed, 8 insertions(+), 56 deletions(-) diff --git a/math/py-pygsl/Makefile b/math/py-pygsl/Makefile index 4afa0ab1a7e3..a012404752d3 100644 --- a/math/py-pygsl/Makefile +++ b/math/py-pygsl/Makefile @@ -1,5 +1,5 @@ PORTNAME= pygsl -PORTVERSION= 2.3.2 +PORTVERSION= 2.3.3 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,12 +11,14 @@ WWW= https://github.com/pygsl/pygsl LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libgsl.so:math/gsl RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + diff --git a/math/py-pygsl/distinfo b/math/py-pygsl/distinfo index 622e5ac95539..e0555a1aab82 100644 --- a/math/py-pygsl/distinfo +++ b/math/py-pygsl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1643971114 -SHA256 (pygsl-2.3.2.tar.gz) = fa5d018d4421373f5390ac199bc5d484ef317d8358505b35a795bb89f96c8a9c -SIZE (pygsl-2.3.2.tar.gz) = 1093630 +TIMESTAMP = 1680726188 +SHA256 (pygsl-2.3.3.tar.gz) = 1779bce41b3cb0e370d11bf41003852ba4750c51df5b8771bb34265e8e0f1df3 +SIZE (pygsl-2.3.3.tar.gz) = 1087169 diff --git a/math/py-pygsl/files/patch-setup.py b/math/py-pygsl/files/patch-setup.py deleted file mode 100644 index 3b3b1f1e273b..000000000000 --- a/math/py-pygsl/files/patch-setup.py +++ /dev/null @@ -1,50 +0,0 @@ ---- setup.py.orig 2021-12-07 16:05:38 UTC -+++ setup.py -@@ -89,8 +89,6 @@ del versiontext - gsldist_path = os.path.join(pygsldir, "gsl_dist") - sys.path.insert(0, gsldist_path) - --from wheel.bdist_wheel import bdist_wheel as _bdist_wheel -- - import setuptools - import setuptools.command - import setuptools.command.install -@@ -173,26 +171,6 @@ else: - del t_file - - --class CustomInstallCommand(setuptools.command.install.install): -- def run(self): -- # first re-generate GSL wrappers using SWIG -- self.run_command('gsl_wrappers') -- # then configure -- self.run_command('config') -- # then install -- setuptools.command.install.install.run(self) -- #super().run() -- --class CustomBdistWheelCommand(_bdist_wheel): -- def run(self): -- # first re-generate GSL wrappers using SWIG -- self.run_command('gsl_wrappers') -- # then configure -- self.run_command('config') -- # then install -- _bdist_wheel.run(self) -- #super().run() -- - py_module_names = ['errors', - 'statistics.__init__', - '_numobj', -@@ -270,10 +248,9 @@ setup (name = proj_name, - ext_package = 'pygsl', - ext_modules = exts, - headers = headers, -- cmdclass = {'bdist_wheel': CustomBdistWheelCommand, -+ cmdclass = { - 'config' : gsl_Config_Path, - 'gsl_wrappers': gsl_CodeGenerator.gsl_CodeGenerator, -- 'install': CustomInstallCommand, - #'build_sphinx': BuildDoc - }, - install_requires = ['numpy'],