source: trunk/dports/python/py-ephem/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-ephem
8version             3.7.6.0
9categories-append   science
10platforms           darwin
11maintainers         aronnax openmaintainer
12license             LGPL-3
13description         scientific-grade astronomy routines
14long_description \
15  PyEphem provides an ephem Python package for performing high-precision \
16  astronomy computations. The underlying numeric routines are coded in C and \
17  are the same ones that drive the popular XEphem astronomy application, whose \
18  author, Elwood Charles Downey, generously gave permission for their use in \
19  PyEphem. The name ephem is short for the word ephemeris, which is the \
20  traditional term for a table giving the position of a planet, asteroid, or \
21  comet for a series of dates.
22
23homepage            http://rhodesmill.org/pyephem/
24distname            ephem-${version}
25master_sites        pypi:e/ephem/
26checksums           md5     405a109f3017251ecd8c2890d850f649 \
27                    rmd160  32e5fcb0e74936706b68bd811a9dcdf55b97b1f8 \
28                    sha256  7a4c82b1def2893e02aec0394f108d24adb17bd7b0ca6f4bc78eb7120c0212ac
29
30python.versions     26 27 33 34
31
32if {${name} eq ${subport}} {
33    livecheck.type  regex
34    livecheck.url   {http://pypi.python.org/pypi?:action=doap&name=pyephem}
35    livecheck.regex {<release><Version><revision>([^<]+)</revision></Version></release>}
36} else {
37    livecheck.type  none
38}
Note: See TracBrowser for help on using the repository browser.