Index: branches/2019Q4/astro/Makefile =================================================================== --- branches/2019Q4/astro/Makefile (revision 520491) +++ branches/2019Q4/astro/Makefile (revision 520492) @@ -1,135 +1,136 @@ # $FreeBSD$ # COMMENT = Astronomical ports SUBDIR += R-cran-maptools SUBDIR += accrete SUBDIR += astrometry SUBDIR += boinc-astropulse SUBDIR += boinc-setiathome SUBDIR += celestia SUBDIR += celestia-gtk SUBDIR += cfitsio SUBDIR += fowsr SUBDIR += foxtrotgps SUBDIR += garmindev SUBDIR += geographiclib SUBDIR += gkrellmoon2 SUBDIR += gnuastro SUBDIR += google-earth SUBDIR += gpsbabel SUBDIR += gpsbabel14 SUBDIR += gpscorrelate SUBDIR += gpsd SUBDIR += gpsdrive SUBDIR += gpsman SUBDIR += gpsprune SUBDIR += gpstk SUBDIR += gpxloggerd SUBDIR += jday SUBDIR += josm SUBDIR += kstars SUBDIR += libgal SUBDIR += libkgeomap SUBDIR += libnova SUBDIR += libosmium SUBDIR += libosmpbf SUBDIR += luna SUBDIR += marble SUBDIR += match SUBDIR += merkaartor SUBDIR += mkgmap SUBDIR += mkgmap-splitter SUBDIR += mymoon SUBDIR += nightfall SUBDIR += opencpn SUBDIR += openuniverse SUBDIR += oskar SUBDIR += osmosis SUBDIR += p5-Astro SUBDIR += p5-Astro-ADS SUBDIR += p5-Astro-App-Satpass2 SUBDIR += p5-Astro-Catalog SUBDIR += p5-Astro-Constants SUBDIR += p5-Astro-Coords SUBDIR += p5-Astro-DSS SUBDIR += p5-Astro-FITS-CFITSIO SUBDIR += p5-Astro-FITS-Header SUBDIR += p5-Astro-Flux SUBDIR += p5-Astro-Hipparcos SUBDIR += p5-Astro-MoonPhase SUBDIR += p5-Astro-PAL SUBDIR += p5-Astro-SIMBAD SUBDIR += p5-Astro-SIMBAD-Client SUBDIR += p5-Astro-SpaceTrack SUBDIR += p5-Astro-SunTime SUBDIR += p5-Astro-Sunrise SUBDIR += p5-Astro-Telescope SUBDIR += p5-Astro-WaveBand SUBDIR += p5-Astro-satpass SUBDIR += p5-GPS SUBDIR += p5-GPS-Babel SUBDIR += p5-GPS-OID SUBDIR += p5-GPS-Point SUBDIR += p5-Geo-METAR SUBDIR += p5-Misc-Quality SUBDIR += p5-Net-GPSD3 SUBDIR += p5-Starlink-AST SUBDIR += p5-Weather-Underground SUBDIR += phoon SUBDIR += planets SUBDIR += pp3 SUBDIR += ptiger SUBDIR += py-RO SUBDIR += py-aipy SUBDIR += py-astLib SUBDIR += py-astropy + SUBDIR += py-ephem SUBDIR += py-horoscopegenerator SUBDIR += py-metar SUBDIR += py-metpy SUBDIR += py-pymeeus SUBDIR += py-pymetar SUBDIR += py-pysofa SUBDIR += py-pywapi SUBDIR += py-spacetrack SUBDIR += pyephem SUBDIR += pyweather SUBDIR += qmapshack SUBDIR += readosm SUBDIR += rmap SUBDIR += roadmap SUBDIR += routino SUBDIR += saoimage SUBDIR += sextractor SUBDIR += siril SUBDIR += sofa SUBDIR += sscalc SUBDIR += stardates SUBDIR += starplot SUBDIR += stars SUBDIR += stellarium SUBDIR += sunclock SUBDIR += sunwait SUBDIR += swe SUBDIR += tclgeomap SUBDIR += tkgeomap SUBDIR += viking SUBDIR += wcslib SUBDIR += weather SUBDIR += wmglobe SUBDIR += wmjupiter SUBDIR += wmmoonclock SUBDIR += wmsolar SUBDIR += wmspaceweather SUBDIR += wmsun SUBDIR += xearth SUBDIR += xeartk SUBDIR += xephem SUBDIR += xmoontool SUBDIR += xphoon SUBDIR += xplanet SUBDIR += xtide SUBDIR += xworld .include Index: branches/2019Q4/astro/py-ephem/Makefile =================================================================== --- branches/2019Q4/astro/py-ephem/Makefile (nonexistent) +++ branches/2019Q4/astro/py-ephem/Makefile (revision 520492) @@ -0,0 +1,25 @@ +# Created by: db +# $FreeBSD$ + +PORTNAME= ephem +PORTVERSION= 3.7.7.0 +CATEGORIES= astro math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rhurlin@gwdg.de +COMMENT= Compute positions of the planets and stars + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= python +USE_PYTHON= autoplist distutils + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ephem/_libastro.so + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Property changes on: branches/2019Q4/astro/py-ephem/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q4/astro/py-ephem/distinfo =================================================================== --- branches/2019Q4/astro/py-ephem/distinfo (nonexistent) +++ branches/2019Q4/astro/py-ephem/distinfo (revision 520492) @@ -0,0 +1,3 @@ +TIMESTAMP = 1576382931 +SHA256 (ephem-3.7.7.0.tar.gz) = 607148429f85412915e32265779c0cf6d09f73aa97cf1ff0d101ac22c69c4436 +SIZE (ephem-3.7.7.0.tar.gz) = 745041 Property changes on: branches/2019Q4/astro/py-ephem/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q4/astro/py-ephem/files/patch-setup.py =================================================================== --- branches/2019Q4/astro/py-ephem/files/patch-setup.py (nonexistent) +++ branches/2019Q4/astro/py-ephem/files/patch-setup.py (revision 520492) @@ -0,0 +1,31 @@ +--- setup.py.orig 2019-08-17 17:39:14 UTC ++++ setup.py +@@ -1,4 +1,13 @@ ++# Currently ephem fails if the text files contain unicode characters. ++# To fix this we need to open the files as utf-8 explicitly. ++# Since open() in Python 2 doesn't support an encoding parameter, ++# TODO: Upstream ++# ++# Add setup.py test command support to run tests ++# TODO: Upstream ++ + import os ++import io + import sys + from distutils.core import setup, Extension + from glob import glob +@@ -24,7 +33,7 @@ libastro_files = glob('libastro-%s/*.c' % libastro_ver + libastro_data = glob('extensions/data/*.c') + + def read(*filenames): +- return open(os.path.join(os.path.dirname(__file__), *filenames)).read() ++ return io.open(os.path.join(os.path.dirname(__file__), *filenames), encoding="utf-8").read() + + extensions = [ + Extension('ephem._libastro', +@@ -62,4 +71,5 @@ setup(name = 'ephem', + 'tests/usno/*.txt', + ],}, + ext_modules = extensions, ++ test_suite='ephem.tests', + ) Property changes on: branches/2019Q4/astro/py-ephem/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q4/astro/py-ephem/pkg-descr =================================================================== --- branches/2019Q4/astro/py-ephem/pkg-descr (nonexistent) +++ branches/2019Q4/astro/py-ephem/pkg-descr (revision 520492) @@ -0,0 +1,10 @@ +PyEphem provides an ephem Python package for performing high-precision +astronomy computations. The underlying numeric routines are coded in C +and are the same ones that drive the popular XEphem astronomy application, +whose author, Elwood Charles Downey, generously gave permission for their +use in PyEphem. The name ephem is short for the word ephemeris, which is +the traditional term for a table giving the position of a planet, asteroid, +or comet for a series of dates. + +WWW: https://rhodesmill.org/pyephem/ +WWW: https://pypi.org/project/ephem/ Property changes on: branches/2019Q4/astro/py-ephem/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q4 =================================================================== --- branches/2019Q4 (revision 520491) +++ branches/2019Q4 (revision 520492) Property changes on: branches/2019Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r520162