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

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

py24-url: Replace with py27

  • 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 130859 2015-01-02 22:34:12Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup python    1.0
6
7name                py-url
8version             0.15.1
9revision            1
10license             MIT
11platforms           darwin freebsd
12maintainers         nomaintainer
13
14description         RFC2396 compliant Python implementation of URLs
15long_description    This Python module contains an RFC2396 compliant \
16                    implementation of URLs (see the class URL) and file \
17                    like classes for reading data from URLs and writing \
18                    data to URLs
19
20homepage            http://www.livinglogic.de/Python/url/
21master_sites        http://ftp.livinglogic.de/url/
22distname            ll-url-${version}
23use_bzip2           yes
24
25checksums           md5     ffa18a0ba9512b0d32c3331241c9e751
26
27python.versions     27
28
29if {${name} ne ${subport}} {
30    post-destroot       {
31        xinstall -m 644 -W ${worksrcpath} HOWTO INSTALL NEWS README \
32            ${destroot}${prefix}/share/doc/${subport}
33    }
34    livecheck.type      none
35} else {
36    livecheck.type  regex
37    livecheck.url   ${master_sites}
38    livecheck.regex {"ll-url-([0-9\.]+).tar.gz"}
39}
Note: See TracBrowser for help on using the repository browser.