Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2019 09:42:42 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520166 - head/astro/pyephem
Message-ID:  <201912150942.xBF9gg3S023020@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sun Dec 15 09:42:41 2019
New Revision: 520166
URL: https://svnweb.freebsd.org/changeset/ports/520166

Log:
  astro/pyephem: Add missing (ephem) dependency
  
  The 3.7.7.0 release of pyephem was converted [1] into a stub, depending on
  the ephem package, in order to allow software authors to transition to the
  new package name.
  
  The ports r511276 commit updating the port to 3.7.7.0 missed the additional
  dependency.
  
  This change adds the missing dependency, after astro/py-ephem landed as a
  new port in ports r520162, and unbreaks all current astro/pyephem
  dependents, and all transitive dependents, including comms/gnuradio [2].
  
  While I'm here:
  
    - Add NO_ARCH
    - Bump PORTREVISION given this issue did not affect builds, just runtime
      and dependents accordingly.
  
  [1] https://github.com/brandon-rhodes/pyephem/commit/5c32679a8650efd2e79d5f794edd1587b3b6e67b
  [2] bug 240546
  
  PR:		240735
  Submitted by:	Rainer Hurling <rhurlin gwdg de>
  Approved by:	portmgr (blanket(s): missing dependencies, build/run fix (dependents))
  MFH:		2019Q4 (MFH with r520162)

Modified:
  head/astro/pyephem/Makefile

Modified: head/astro/pyephem/Makefile
==============================================================================
--- head/astro/pyephem/Makefile	Sun Dec 15 09:40:41 2019	(r520165)
+++ head/astro/pyephem/Makefile	Sun Dec 15 09:42:41 2019	(r520166)
@@ -3,10 +3,10 @@
 
 PORTNAME=	pyephem
 PORTVERSION=	3.7.7.0
+PORTREVISION=	1
 PORTEPOCH=	1
-CATEGORIES=	astro math hamradio
+CATEGORIES=	astro math python
 MASTER_SITES=	CHEESESHOP
-# XXX rename the directory too.
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	wen@FreeBSD.org
@@ -14,7 +14,11 @@ COMMENT=	Scientific-grade astronomical computations fo
 
 LICENSE=	LGPL3
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ephem==${PORTVERSION}:astro/py-ephem@${PY_FLAVOR}
+
 USES=		python
 USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912150942.xBF9gg3S023020>