pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-ephem



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jan 11 14:31:21 UTC 2018

Modified Files:
        pkgsrc/math/py-ephem: Makefile distinfo

Log Message:
py-ephem: updated to 3.7.6.0nb1

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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/math/py-ephem/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/py-ephem/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-ephem/Makefile
diff -u pkgsrc/math/py-ephem/Makefile:1.15 pkgsrc/math/py-ephem/Makefile:1.16
--- pkgsrc/math/py-ephem/Makefile:1.15  Tue Sep 26 17:32:26 2017
+++ pkgsrc/math/py-ephem/Makefile       Thu Jan 11 14:31:20 2018
@@ -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"

Index: pkgsrc/math/py-ephem/distinfo
diff -u pkgsrc/math/py-ephem/distinfo:1.5 pkgsrc/math/py-ephem/distinfo:1.6
--- pkgsrc/math/py-ephem/distinfo:1.5   Tue Sep 26 17:32:26 2017
+++ pkgsrc/math/py-ephem/distinfo       Thu Jan 11 14:31:20 2018
@@ -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