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

Last change on this file was 130469, checked in by larryv@…, 3 years ago

py{24,25}-fpconst: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 130469 2014-12-31 02:14:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup       python 1.0
5
6name            py-fpconst
7version         0.7.2
8revision        2
9license         Apache-2
10platforms       darwin freebsd
11supported_archs noarch
12maintainers     blair openmaintainer
13description     IEEE 754 floating point special handling for Python
14long_description \
15    This python module implements constants and functions for working \
16    with IEEE754 double-precision special values. It provides \
17    constants for Not-a-Number (NaN), Positive Infinity (Inf), and \
18    Negative Infinity (-Inf), as well as functions to test for these \
19    values.
20
21homepage        http://research.warnes.net/projects/rzope/fpconst/
22master_sites    http://cheeseshop.python.org/packages/source/f/fpconst/
23
24distname        fpconst-${version}
25checksums       md5 10ba9e04129af23108d24c22c3a698b1
26
27python.versions 26 27
28
29if {${name} ne ${subport}} {
30    post-destroot {
31        xinstall -m 644 -W ${worksrcpath} README \
32            ${destroot}${prefix}/share/doc/${subport}
33    }
34    livecheck.type  none
35} else {
36    livecheck.type  regex
37    livecheck.url   http://cheeseshop.python.org/pypi/fpconst/
38    livecheck.regex fpconst-(\[0-9\.\]+).tar.gz
39}
Note: See TracBrowser for help on using the repository browser.