Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2026 06:28:43 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6059b368d812 - main - science/py-PubChemPy: update 1=?utf-8?Q?=2E0.4 =E2=86=92?= 1.0.5
Message-ID:  <6a226c9b.30a43.49cdb5a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6059b368d812b7daff0c88003d9502ffcdd2f000

commit 6059b368d812b7daff0c88003d9502ffcdd2f000
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-05 05:54:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-05 06:28:19 +0000

    science/py-PubChemPy: update 1.0.4 → 1.0.5
---
 science/py-PubChemPy/Makefile                   | 10 +++++++---
 science/py-PubChemPy/distinfo                   |  6 +++---
 science/py-PubChemPy/files/patch-pyproject.toml | 26 +++++++++++++++++++++++++
 3 files changed, 36 insertions(+), 6 deletions(-)

diff --git a/science/py-PubChemPy/Makefile b/science/py-PubChemPy/Makefile
index 894bf3a3dec2..e691205fdede 100644
--- a/science/py-PubChemPy/Makefile
+++ b/science/py-PubChemPy/Makefile
@@ -1,9 +1,10 @@
 PORTNAME=	PubChemPy
-DISTVERSION=	1.0.4
-PORTREVISION=	1
+DISTVERSION=	1.0.5
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
+MASTER_SITE_SUBDIR=	source/p/pubchempy
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	pubchempy-${DISTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Simple Python wrapper around the PubChem PUG REST API
@@ -12,8 +13,11 @@ WWW=		https://github.com/mcs07/PubChemPy
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist
 
 NO_ARCH=	yes
 
diff --git a/science/py-PubChemPy/distinfo b/science/py-PubChemPy/distinfo
index 5f989603e6df..a2268f7c3ffb 100644
--- a/science/py-PubChemPy/distinfo
+++ b/science/py-PubChemPy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1627390335
-SHA256 (PubChemPy-1.0.4.tar.gz) = 24e9dc2fc90ab153b2764bf805e510b1410700884faf0510a9e7cf0d61d8ed0e
-SIZE (PubChemPy-1.0.4.tar.gz) = 29767
+TIMESTAMP = 1780633488
+SHA256 (pubchempy-1.0.5.tar.gz) = 08f0b2a82a5caa5d61e14935d655da554602d7b5686fe661ab584c882ffff623
+SIZE (pubchempy-1.0.5.tar.gz) = 26814
diff --git a/science/py-PubChemPy/files/patch-pyproject.toml b/science/py-PubChemPy/files/patch-pyproject.toml
new file mode 100644
index 000000000000..91bd112878c9
--- /dev/null
+++ b/science/py-PubChemPy/files/patch-pyproject.toml
@@ -0,0 +1,26 @@
+-- Fix license format in pyproject.toml and lower setuptools requirement.
+-- The original pyproject.toml incorrectly used a string for the license field
+-- and required a very recent setuptools version not yet in the ports tree.
+
+--- pyproject.toml.orig 2026-06-05 04:25:53 UTC
+
++++ pyproject.toml
+@@ -4,8 +4,7 @@ authors = [{ name = "Matt Swain", email = "m.swain@me.
+ description = "A simple Python wrapper around the PubChem PUG REST API."
+ readme = "README.md"
+ authors = [{ name = "Matt Swain", email = "m.swain@me.com" }]
+-license = "MIT"
+-license-files = ["LICENSE"]
++license = { text = "MIT" }
+ requires-python = ">=3.10"
+ dependencies = []
+ keywords = ["pubchem", "python", "rest", "api", "chemistry", "cheminformatics"]
+@@ -56,7 +55,7 @@ py-modules = ["pubchempy"]
+ py-modules = ["pubchempy"]
+ 
+ [build-system]
+-requires = ["setuptools>=77.0.3"]
++requires = ["setuptools>=63.1.0"]
+ build-backend = "setuptools.build_meta"
+ 
+ [tool.pytest.ini_options]


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a226c9b.30a43.49cdb5a>