Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Mar 2018 16:48:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463814 - head/astro/py-astLib
Message-ID:  <201803071648.w27Gml4Y015420@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Mar  7 16:48:47 2018
New Revision: 463814
URL: https://svnweb.freebsd.org/changeset/ports/463814

Log:
  Update to 0.10.0
  
  - Remove BUILD_DEPENDS
  - Sort RUN_DEPENDS
  - Update pkg-descr
  - Change WWW to PyPI
  - Take maintainership
  
  Changes:	https://sourceforge.net/p/astlib/git/ci/master/tree/CHANGE_LOG

Modified:
  head/astro/py-astLib/Makefile
  head/astro/py-astLib/distinfo
  head/astro/py-astLib/pkg-descr

Modified: head/astro/py-astLib/Makefile
==============================================================================
--- head/astro/py-astLib/Makefile	Wed Mar  7 16:48:42 2018	(r463813)
+++ head/astro/py-astLib/Makefile	Wed Mar  7 16:48:47 2018	(r463814)
@@ -2,32 +2,27 @@
 # $FreeBSD$
 
 PORTNAME=	astLib
-PORTVERSION=	0.9.3
+PORTVERSION=	0.10.0
 CATEGORIES=	astro python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Astronomy modules for Python
 
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYNUMPY} \
-		${PKGNAMEPREFIX}astropy>=1.1:astro/py-astropy@${FLAVOR} \
+RUN_DEPENDS=	${PKGNAMEPREFIX}astropy>=1.1:astro/py-astropy@${FLAVOR} \
 		${PKGNAMEPREFIX}matplotlib>=0.98:math/py-matplotlib@${FLAVOR} \
-		${PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${FLAVOR} \
+		${PYNUMPY} \
+		${PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${FLAVOR} \
 		${PKGNAMEPREFIX}scipy>=0.7.0:science/py-scipy@${FLAVOR}
-RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PORTSCOUT=	skipv:0.15,0.17,0.17.1 # incorrect versioning upstream
 
 USES=		python:2.7
 USE_PYTHON=	autoplist distutils
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|import pyfits|from astropy.io import fits as pyfits|' \
-		${WRKSRC}/astLib/astPlots.py ${WRKSRC}/examples/*/*.py
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyWCSTools/*.so

Modified: head/astro/py-astLib/distinfo
==============================================================================
--- head/astro/py-astLib/distinfo	Wed Mar  7 16:48:42 2018	(r463813)
+++ head/astro/py-astLib/distinfo	Wed Mar  7 16:48:47 2018	(r463814)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1514730617
-SHA256 (astLib-0.9.3.tar.gz) = 4971fe80c5028ddfc0c82b3ebd48b4ccc00f0885936c3652d30e67cf2c6d4a59
-SIZE (astLib-0.9.3.tar.gz) = 742359
+TIMESTAMP = 1520432964
+SHA256 (astLib-0.10.0.tar.gz) = 8231da3294d8ac7b40292e9be0a0a7ab515f29401a148088464a0c2dcd8e6610
+SIZE (astLib-0.10.0.tar.gz) = 742005

Modified: head/astro/py-astLib/pkg-descr
==============================================================================
--- head/astro/py-astLib/pkg-descr	Wed Mar  7 16:48:42 2018	(r463813)
+++ head/astro/py-astLib/pkg-descr	Wed Mar  7 16:48:47 2018	(r463814)
@@ -1,8 +1,7 @@
 astLib is a set of Python modules that provides some tools for research
-astronomers. It can be used for astronomical plots, some statistics,
-common calculations, coordinate conversions, and manipulating FITS images
-with World Coordinate System (WCS) information through PyWCSTools - a
-simple wrapping of WCSTools by Doug Mink. PyWCSTools is distributed (and
-developed) as part of astLib.
+astronomers. It can be used for simple plots, statistics, common calculations,
+coordinate conversions, and manipulating FITS images with World Coordinate
+System (WCS) information through PyWCSTools - a simple wrapping of WCSTools by
+Jessica Mink. PyWCSTools is distributed (and developed) as part of astLib.
 
-WWW: http://astlib.sourceforge.net/
+WWW: https://pypi.python.org/pypi/astLib



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