pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43737: Update math/py-ephem-3.7.3.4
>Number: 43737
>Category: pkg
>Synopsis: Update math/py-ephem-3.7.3.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 10 14:55:00 +0000 2010
>Originator: Derouiche
>Release: NetBSD 5.0.2
>Organization:
Algerie Motors company
>Environment:
NetBSD ToraboraServer 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb 6 17:53:27 UTC
2010
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
added patch file: patch-aa (setup.py)
>How-To-Repeat:
n/a
>Fix:
$diff -ruN distinfo.orig distinfo
$diff -ruN Makefile.orig Makefile
--- Makefile.orig 2010-08-10 15:16:35.000000000 +0000
+++ Makefile 2010-08-10 15:53:31.000000000 +0000
@@ -1,30 +1,28 @@
-# $NetBSD: Makefile,v 1.4 2008/06/12 02:14:36 joerg Exp $
+# $NetBSD$
#
-DISTNAME= pyephem-3.7b
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/}
-CATEGORIES= geography
-MASTER_SITES= http://www.rhodesmill.org/brandon/projects/
-
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.rhodesmill.org/brandon/projects/pyephem.html
-COMMENT= Scientific-grade astronomical computations for Python
+DISTNAME= pyephem-3.7.3.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/}
+CATEGORIES= geography
+MASTER_SITES= http://pypi.python.org/packages/source/p/pyephem/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.rhodesmill.org/brandon/projects/pyephem.html
+COMMENT= Scientific-grade astronomical computations for Python
# See ../../x11/xephem/Makefile.
-LICENSE= xephem-license
+LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
-RESTRICTED= Combined work is both GPL and non-Free
-NO_BIN_ON_FTP= ${RESTRICTED}
-NO_BIN_ON_CDROM= ${RESTRICTED}
+#RESTRICTED= Combined work is both GPL and non-Free
+#NO_BIN_ON_FTP= ${RESTRICTED}
+#NO_BIN_ON_CDROM= ${RESTRICTED}
PKG_DESTDIR_SUPPORT= user-destdir
-PYDISTUTILSPKG= true
+USE_LANGUAGES= c
+PYTHON_VERSIONS_ACCEPTED= 26 25 24
-INSTALLATION_DIRS= share/doc/${PKGNAME}
+do-test:
+ ${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN}
src/ephem/tests/ephem_test.py
-post-install:
- ${INSTALL} ${WRKSRC}/doc/pyephem-manual.html
${DESTDIR}${PREFIX}/share/doc/${PKGNAME}
-
-.include "../../lang/python/extension.mk"
-.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
$diff -ruN PLIST.orig PLIST
--- PLIST.orig 2010-08-10 15:16:40.000000000 +0000
+++ PLIST 2010-08-10 15:46:51.000000000 +0000
@@ -1,3 +1,81 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/13 15:55:55 wulf Exp $
-${PYSITELIB}/ephem.so
-share/doc/${PKGNAME}/pyephem-manual.html
+@comment $NetBSD$
+${PYSITELIB}/ephem/__init__.py
+${PYSITELIB}/ephem/__init__.pyc
+${PYSITELIB}/ephem/__init__.pyo
+${PYSITELIB}/ephem/_libastro.so
+${PYSITELIB}/ephem/cities.py
+${PYSITELIB}/ephem/cities.pyc
+${PYSITELIB}/ephem/cities.pyo
+${PYSITELIB}/ephem/stars.py
+${PYSITELIB}/ephem/stars.pyc
+${PYSITELIB}/ephem/stars.pyo
+${PYSITELIB}/ephem/tests/__init__.py
+${PYSITELIB}/ephem/tests/__init__.pyc
+${PYSITELIB}/ephem/tests/__init__.pyo
+${PYSITELIB}/ephem/tests/ephem_test.py
+${PYSITELIB}/ephem/tests/ephem_test.pyc
+${PYSITELIB}/ephem/tests/ephem_test.pyo
+${PYSITELIB}/ephem/tests/jpl/europa.txt
+${PYSITELIB}/ephem/tests/jpl/hyperion.txt
+${PYSITELIB}/ephem/tests/jpl/jupiter.txt
+${PYSITELIB}/ephem/tests/jpl/mars.txt
+${PYSITELIB}/ephem/tests/jpl/neptune.txt
+${PYSITELIB}/ephem/tests/jpl/oberon.txt
+${PYSITELIB}/ephem/tests/jpl/phobos.txt
+${PYSITELIB}/ephem/tests/jpl/saturn.txt
+${PYSITELIB}/ephem/tests/jpl/uranus.txt
+${PYSITELIB}/ephem/tests/launchpad_236872.py
+${PYSITELIB}/ephem/tests/launchpad_236872.pyc
+${PYSITELIB}/ephem/tests/launchpad_236872.pyo
+${PYSITELIB}/ephem/tests/launchpad_244811.py
+${PYSITELIB}/ephem/tests/launchpad_244811.pyc
+${PYSITELIB}/ephem/tests/launchpad_244811.pyo
+${PYSITELIB}/ephem/tests/test_angles.py
+${PYSITELIB}/ephem/tests/test_angles.pyc
+${PYSITELIB}/ephem/tests/test_angles.pyo
+${PYSITELIB}/ephem/tests/test_bodies.py
+${PYSITELIB}/ephem/tests/test_bodies.pyc
+${PYSITELIB}/ephem/tests/test_bodies.pyo
+${PYSITELIB}/ephem/tests/test_constants.py
+${PYSITELIB}/ephem/tests/test_constants.pyc
+${PYSITELIB}/ephem/tests/test_constants.pyo
+${PYSITELIB}/ephem/tests/test_dates.py
+${PYSITELIB}/ephem/tests/test_dates.pyc
+${PYSITELIB}/ephem/tests/test_dates.pyo
+${PYSITELIB}/ephem/tests/test_jpl.py
+${PYSITELIB}/ephem/tests/test_jpl.pyc
+${PYSITELIB}/ephem/tests/test_jpl.pyo
+${PYSITELIB}/ephem/tests/test_observers.py
+${PYSITELIB}/ephem/tests/test_observers.pyc
+${PYSITELIB}/ephem/tests/test_observers.pyo
+${PYSITELIB}/ephem/tests/test_rst.py
+${PYSITELIB}/ephem/tests/test_rst.pyc
+${PYSITELIB}/ephem/tests/test_rst.pyo
+${PYSITELIB}/ephem/tests/test_satellite.py
+${PYSITELIB}/ephem/tests/test_satellite.pyc
+${PYSITELIB}/ephem/tests/test_satellite.pyo
+${PYSITELIB}/ephem/tests/test_usno.py
+${PYSITELIB}/ephem/tests/test_usno.pyc
+${PYSITELIB}/ephem/tests/test_usno.pyo
+${PYSITELIB}/ephem/tests/test_usno_equinoxes.py
+${PYSITELIB}/ephem/tests/test_usno_equinoxes.pyc
+${PYSITELIB}/ephem/tests/test_usno_equinoxes.pyo
+${PYSITELIB}/ephem/tests/usno/appgeo_deneb.txt
+${PYSITELIB}/ephem/tests/usno/appgeo_jupiter.txt
+${PYSITELIB}/ephem/tests/usno/appgeo_moon.txt
+${PYSITELIB}/ephem/tests/usno/appgeo_sun.txt
+${PYSITELIB}/ephem/tests/usno/apptopo_deneb.txt
+${PYSITELIB}/ephem/tests/usno/apptopo_moon.txt
+${PYSITELIB}/ephem/tests/usno/apptopo_sun.txt
+${PYSITELIB}/ephem/tests/usno/astrom_antares.txt
+${PYSITELIB}/ephem/tests/usno/astrom_mercury.txt
+${PYSITELIB}/ephem/tests/usno/astrom_neptune.txt
+${PYSITELIB}/ephem/tests/usno/moon_phases.txt
+${PYSITELIB}/ephem/tests/usno/riset_moon.txt
+${PYSITELIB}/ephem/tests/usno/riset_sun.txt
+${PYSITELIB}/ephem/tests/usno/risettran_moon.txt
+${PYSITELIB}/ephem/tests/usno/risettran_rigel.txt
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
$ cat < ./patches/patch-aa
$NetBSD$
--- setup.py.orig 2010-08-10 15:37:10.000000000 +0000
+++ setup.py 2010-08-10 15:37:37.000000000 +0000
@@ -46,8 +46,7 @@
],
packages = [ 'ephem', 'ephem.tests' ],
package_dir = { '': 'src' },
- package_data = { 'ephem': ['doc/*.rst',
- 'tests/jpl/*.txt',
+ package_data = { 'ephem': ['tests/jpl/*.txt',
'tests/usno/*.txt',
],},
test_suite = 'ephem.tests',
$diff -ruN distinfo.orig distinfo
--- distinfo.orig 2010-08-10 15:41:44.000000000 +0000
+++ distinfo 2010-08-10 15:44:37.000000000 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/11/13 15:55:55 wulf Exp $
+$NetBSD$
-SHA1 (pyephem-3.7b.tar.gz) = 541346dbcad966bcc8be407722132304c3d2bc3a
-RMD160 (pyephem-3.7b.tar.gz) = bc1b1a8312dbc95735b6c1b82439d604992a942f
-Size (pyephem-3.7b.tar.gz) = 299901 bytes
+SHA1 (pyephem-3.7.3.4.tar.gz) = d1be94b2f0314a6ec572787c6d1b39ffbbb8ea5c
+RMD160 (pyephem-3.7.3.4.tar.gz) = 798b79bebf094bd3d5b22a598281c564e974e89e
+Size (pyephem-3.7.3.4.tar.gz) = 704097 bytes
+SHA1 (patch-aa) = f82c0c493089d73d6c259da5fa63f39c9b922d4b
Home |
Main Index |
Thread Index |
Old Index