source: trunk/dports/python/py-multipledispatch/Portfile @ 132417

Last change on this file since 132417 was 132417, checked in by stromnov@…, 5 years ago

py-*: update livecheck URLs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 132417 2015-01-31 21:30:47Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-multipledispatch
8version             0.4.7
9revision            0
10categories-append   devel
11platforms           darwin
12license             BSD
13
14python.versions     27 33 34
15
16maintainers         stromnov openmaintainer
17
18description         A relatively sane approach to multiple dispatch in Python.
19long_description    ${description}
20
21homepage            http://github.com/mrocklin/multipledispatch/
22master_sites        https://pypi.python.org/packages/source/m/multipledispatch/
23
24distname            multipledispatch-${version}
25
26checksums           rmd160  c2ad91c2324e976552843027200fc8c9b0f31dd9 \
27                    sha256  401bb875cdbd85359f01029e60ef7610bf1172b5052474285daf4102b109496d
28
29if {${name} ne ${subport}} {
30    depends_build-append \
31                        port:py${python.version}-setuptools
32    livecheck.type      none
33} else {
34    livecheck.type      regex
35    livecheck.url       https://pypi.python.org/pypi/multipledispatch/json
36    livecheck.regex     {multipledispatch-(\d+(?:\.\d+)*)\.[tz]}
37}
Note: See TracBrowser for help on using the repository browser.