aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-03-07 16:48:47 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-03-07 16:48:47 +0000
commit1779fa15d671645c5ed378c1fc265d31eb794d23 (patch)
treeb3404fbd5e092b2668a8f932947b5cdbb43bfeb7 /astro
parent5d3968daa872042bc7e586723eba70b7bc7fa11a (diff)
downloadports-1779fa15d671645c5ed378c1fc265d31eb794d23.tar.gz
ports-1779fa15d671645c5ed378c1fc265d31eb794d23.zip
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
Notes
Notes: svn path=/head/; revision=463814
Diffstat (limited to 'astro')
-rw-r--r--astro/py-astLib/Makefile15
-rw-r--r--astro/py-astLib/distinfo6
-rw-r--r--astro/py-astLib/pkg-descr11
3 files changed, 13 insertions, 19 deletions
diff --git a/astro/py-astLib/Makefile b/astro/py-astLib/Makefile
index f01b39eb62a1..24cd13571c6f 100644
--- a/astro/py-astLib/Makefile
+++ b/astro/py-astLib/Makefile
@@ -2,33 +2,28 @@
# $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
diff --git a/astro/py-astLib/distinfo b/astro/py-astLib/distinfo
index 56c89823a389..a19e6e0e87c8 100644
--- a/astro/py-astLib/distinfo
+++ b/astro/py-astLib/distinfo
@@ -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
diff --git a/astro/py-astLib/pkg-descr b/astro/py-astLib/pkg-descr
index b8f86281f17c..c61bce6129cb 100644
--- a/astro/py-astLib/pkg-descr
+++ b/astro/py-astLib/pkg-descr
@@ -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