git: 2a067443f6f1 - main - astro/py-ephem: Update to 4.2.1

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Sun, 01 Mar 2026 20:28:44 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a067443f6f147114723e89cc9ce1f30e5bf5974

commit 2a067443f6f147114723e89cc9ce1f30e5bf5974
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2026-03-01 20:20:36 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2026-03-01 20:24:34 +0000

    astro/py-ephem: Update to 4.2.1
    
    - First release that offers wheels for Python 3.14
    - Star database now makes the star Albereo available under its more
      official spelling Albireo
    - Classes like Sun and Mercury are now defined using plain literal
      class statements, instead of being built dynamically in a for loop.
      This should make the classes visible to tools like editors,
      debuggers, and type checkers.
    
    Strip had to be changed from PYTHON_TAG to PYTHON_SUFFIX in order to
    also support threaded Python versions (3.13t).
    
    Changelog:      https://github.com/brandon-rhodes/pyephem/blob/master/ephem/doc/CHANGELOG.rst#version-421-2026-february-28
    
    Reported by:    Repology
    MFH:            2026Q1
---
 astro/py-ephem/Makefile | 5 ++---
 astro/py-ephem/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/astro/py-ephem/Makefile b/astro/py-ephem/Makefile
index b22df3b8a921..1b728bbd0adc 100644
--- a/astro/py-ephem/Makefile
+++ b/astro/py-ephem/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	ephem
-PORTVERSION=	4.2
-PORTREVISION=	1
+PORTVERSION=	4.2.1
 CATEGORIES=	astro math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +15,7 @@ USES=		python
 USE_PYTHON=	autoplist distutils
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ephem/_libastro${PYTHON_TAG}.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ephem/_libastro.cpython-${PYTHON_SUFFIX}.so
 
 do-test:
 	# WARNING: Testing via this command is deprecated and will be
diff --git a/astro/py-ephem/distinfo b/astro/py-ephem/distinfo
index 34b434f2ed51..7b521e708fd4 100644
--- a/astro/py-ephem/distinfo
+++ b/astro/py-ephem/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739984533
-SHA256 (ephem-4.2.tar.gz) = 3c4fd64f453e8f40cf862420a70da95a71b6487ace75e8e0cf85d73707db6065
-SIZE (ephem-4.2.tar.gz) = 1261100
+TIMESTAMP = 1772393098
+SHA256 (ephem-4.2.1.tar.gz) = 920cb30369c79fde1088c2060d555ea5f8a50fdc80a9265832fd5bf195cf147f
+SIZE (ephem-4.2.1.tar.gz) = 1261529