pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-ephem py-ephem: updated to 3.7.6.0nb1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b7fd1181853
branches:  trunk
changeset: 373948:8b7fd1181853
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jan 11 14:31:20 2018 +0000

description:
py-ephem: updated to 3.7.6.0nb1

PkgSrc changes:
- now use 'ephem' PyPI (not 'pyephem') to allow correct dependencies
- enabled unit tests

diffstat:

 math/py-ephem/Makefile |  14 +++++++++-----
 math/py-ephem/distinfo |  10 +++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)

diffs (45 lines):

diff -r eb88dfe7fe6d -r 8b7fd1181853 math/py-ephem/Makefile
--- a/math/py-ephem/Makefile    Thu Jan 11 14:16:06 2018 +0000
+++ b/math/py-ephem/Makefile    Thu Jan 11 14:31:20 2018 +0000
@@ -1,17 +1,21 @@
-# $NetBSD: Makefile,v 1.15 2017/09/26 17:32:26 adam Exp $
+# $NetBSD: Makefile,v 1.16 2018/01/11 14:31:20 adam Exp $
 
-DISTNAME=      pyephem-3.7.6.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/}
+DISTNAME=      ephem-3.7.6.0
+PKGREVISION=   1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math geography python
-MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyephem/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=e/ephem/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.rhodesmill.org/brandon/projects/pyephem.html
+HOMEPAGE=      http://rhodesmill.org/pyephem/
 COMMENT=       Scientific-grade astronomical computations for Python
 LICENSE=       gnu-lgpl-v3 OR gnu-gpl-v3
 
 REPLACE_PYTHON+=       ephem/tests/test_*.py
 
+do-test:
+       cd ${WRKSRC}/ephem && ${PYTHONBIN} -m unittest discover
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r eb88dfe7fe6d -r 8b7fd1181853 math/py-ephem/distinfo
--- a/math/py-ephem/distinfo    Thu Jan 11 14:16:06 2018 +0000
+++ b/math/py-ephem/distinfo    Thu Jan 11 14:31:20 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2017/09/26 17:32:26 adam Exp $
+$NetBSD: distinfo,v 1.6 2018/01/11 14:31:20 adam Exp $
 
-SHA1 (pyephem-3.7.6.0.tar.gz) = 00d016d757d773b4bce4479e699c9b0f9270782a
-RMD160 (pyephem-3.7.6.0.tar.gz) = 1fc99dd1553de160a41545a47eb4e6494ca1c5e1
-SHA512 (pyephem-3.7.6.0.tar.gz) = c3013ef943c0e1e2c30bba6f72912efb100b4c8c45904b7d6d7ba73d8b741564793a6e538117eb88abb824c93c874e2c955de734418ebd2370888718a149c9a8
-Size (pyephem-3.7.6.0.tar.gz) = 739561 bytes
+SHA1 (ephem-3.7.6.0.tar.gz) = 4134799e9fb828c20757870c684facbfcfb16394
+RMD160 (ephem-3.7.6.0.tar.gz) = 32e5fcb0e74936706b68bd811a9dcdf55b97b1f8
+SHA512 (ephem-3.7.6.0.tar.gz) = 64f1ac2529782d5d50668d17aa2af4810e42db29e4dc55354dd6167c4ce052ffcd0b02f6bb06c1557c4ff6da1180131cfc0dfa53a97ff34aaa488fe58e4b41a3
+Size (ephem-3.7.6.0.tar.gz) = 739442 bytes



Home | Main Index | Thread Index | Old Index