source: trunk/dports/python/py-py/Portfile @ 141393

Last change on this file since 141393 was 141393, checked in by ryandesign@…, 4 years ago

py-py: add py35 subport

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 141393 2015-10-17 09:52:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-py
8version             1.4.30
9revision            0
10categories-append   devel
11platforms           darwin
12license             MIT
13supported_archs     noarch
14
15python.versions     27 34 35
16
17maintainers         stromnov openmaintainer
18
19description         py lib is a Python development support library
20
21long_description    The py lib is a Python development support library \
22                    featuring ad-hoc distributed execution, micro-threads \
23                    and svn abstractions.
24
25homepage            http://pylib.readthedocs.org/
26master_sites        https://pypi.python.org/packages/source/p/py/
27
28distname            py-${version}
29
30checksums           rmd160  c59248781f34f0061bd6431a3d990c86811ebb30 \
31                    sha256  b703e57685ed7c280b1a51c496a4984d83d89def2a930b5e9e5da5a6ca151514
32
33if {${name} ne ${subport}} {
34    depends_build-append    port:py${python.version}-setuptools
35
36    # Deactivate hack
37    if {![catch {set installed [lindex [registry_active py${python.version}-py] 0]}]} {
38        set py_version [lindex $installed 1]
39        if {[vercmp $py_version 1.4] < 0} {
40            registry_deactivate_composite py${python.version}-py "" [list ports_nodepcheck 1]
41        }
42    }
43
44    livecheck.type      none
45} else {
46    livecheck.url       https://pypi.python.org/pypi/py/json
47    livecheck.regex     {py-(\d+(?:\.\d+)*)\.[tz]}
48}
Note: See TracBrowser for help on using the repository browser.