aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-08-05 16:26:42 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-08-05 16:28:45 +0000
commit27db1c79bc18939854a34d02af772a52e6a34fe8 (patch)
tree13bd5a4df71a8c70195af71dbe86de08af6676f8
parent02295be652dcc35784a5411d70ed0d1bef269c70 (diff)
science/py-pubchempy: Remove duplicate
PR: 297289 Reported by: Matthew Wener <matthew@wener.org>
-rw-r--r--MOVED1
-rw-r--r--science/Makefile1
-rw-r--r--science/py-emmet-core/Makefile3
-rw-r--r--science/py-pubchempy/Makefile24
-rw-r--r--science/py-pubchempy/distinfo3
-rw-r--r--science/py-pubchempy/files/patch-pyproject.toml35
-rw-r--r--science/py-pubchempy/pkg-descr4
7 files changed, 3 insertions, 68 deletions
diff --git a/MOVED b/MOVED
index 5c9c8d7fb4cf..c70cd9ad2426 100644
--- a/MOVED
+++ b/MOVED
@@ -5549,3 +5549,4 @@ x11-fonts/nerd-fonts-d2coding|x11-fonts/nerd-fonts-d2koding|2026-08-03|Renamed b
math/topaz||2026-08-04|Has expired: Last release was in 2011 and WWW is unavailable
graphics/vv||2026-08-04|Has expired: depends on expired science/InsightToolkit501
science/InsightToolkit501|science/InsightToolkit|2026-08-04|Has expired: Fails to build, error: no template named 'binary_function' in namespace 'std'
+science/py-pubchempy|science/py-PubChemPy|2026-08-05|Remove duplicate port
diff --git a/science/Makefile b/science/Makefile
index dbf2e0bf93bf..232a56b57b17 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -414,7 +414,6 @@
SUBDIR += py-plumed
SUBDIR += py-pnetcdf
SUBDIR += py-probeinterface
- SUBDIR += py-pubchempy
SUBDIR += py-pupynere
SUBDIR += py-py3Dmol
SUBDIR += py-pyaixi
diff --git a/science/py-emmet-core/Makefile b/science/py-emmet-core/Makefile
index 55807771e8cf..536d198df273 100644
--- a/science/py-emmet-core/Makefile
+++ b/science/py-emmet-core/Makefile
@@ -1,5 +1,6 @@
PORTNAME= emmet-core
DISTVERSION= 0.87.1
+PORTREVISION= 1
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +15,7 @@ LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pubchempy>0:science/py-pubchempy@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PubChemPy>0:science/py-PubChemPy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}blake3>0:security/py-blake3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}inflect>=7.5.0:devel/py-inflect@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}monty>=2024.2.2:devel/py-monty@${PY_FLAVOR} \
diff --git a/science/py-pubchempy/Makefile b/science/py-pubchempy/Makefile
deleted file mode 100644
index ba9aa414b5d0..000000000000
--- a/science/py-pubchempy/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-PORTNAME= pubchempy
-DISTVERSION= 1.0.5
-CATEGORIES= science python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= yuri@FreeBSD.org
-COMMENT= Python wrapper for the PubChem PUG REST API
-WWW= https://github.com/mcs07/PubChemPy
-
-LICENSE= MIT
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-
-USES= python:3.10+
-USE_PYTHON= autoplist pep517
-
-NO_ARCH= yes
-
-# tests as of 1.0.5: not enabled because every upstream test queries the live
-# PubChem REST API, which is unavailable in the clean poudriere test environment.
-
-.include <bsd.port.mk>
diff --git a/science/py-pubchempy/distinfo b/science/py-pubchempy/distinfo
deleted file mode 100644
index 8775f06a5579..000000000000
--- a/science/py-pubchempy/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1785523733
-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
deleted file mode 100644
index 43c22d5a722d..000000000000
--- a/science/py-pubchempy/files/patch-pyproject.toml
+++ /dev/null
@@ -1,35 +0,0 @@
--- Normalize the project name to lowercase and fix invalid PEP 621 license
--- declaration. Upstream places license-files under [project], which is not
--- allowed by PEP 621, and uses license = "MIT" instead of the PEP 621 text
--- form. Newer setuptools rejects the resulting [project] table. Lowercasing
--- the name also makes the produced wheel match the filename the ports
--- PEP 517 installer expects.
--- The setuptools requirement is lowered to the version available in ports.
---- pyproject.toml.orig
-+++ pyproject.toml
-@@ -1,11 +1,10 @@
- [project]
--name = "PubChemPy"
-+name = "pubchempy"
- version = "1.0.5"
- 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"]
-@@ -54,9 +53,10 @@
-
- [tool.setuptools]
- py-modules = ["pubchempy"]
-+license-files = ["LICENSE"]
-
- [build-system]
--requires = ["setuptools>=77.0.3"]
-+requires = ["setuptools>=61.0"]
- build-backend = "setuptools.build_meta"
-
- [tool.pytest.ini_options]
diff --git a/science/py-pubchempy/pkg-descr b/science/py-pubchempy/pkg-descr
deleted file mode 100644
index 4b8673135e00..000000000000
--- a/science/py-pubchempy/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-PubChemPy provides a way to interact with PubChem in Python. It allows
-chemical searches by name, substructure and similarity, chemical
-standardization, conversion between chemical file formats, depiction
-and retrieval of chemical properties.