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

Last change on this file was 150724, checked in by petr@…, 16 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
2
3PortSystem         1.0
4PortGroup          python 1.0
5
6name               py-pykerberos
7set my_name        pykerberos
8version            1.1-10616
9categories-append  devel
10license            Apache-2
11platforms          darwin
12maintainers        nomaintainer
13description        A GSSAPI interface module for Python
14
15set major          [lindex [split [lindex [split ${version} {-}] 0] {.}] 0]
16set minor          [lindex [split [lindex [split ${version} {-}] 0] {.}] 1]
17set rev            [lindex [split ${version} {-}] 1]
18set my_version     ${major}.${minor}+svn${rev}
19
20long_description   ${description}
21
22homepage           http://packages.debian.org/source/unstable/${my_name}
23master_sites       debian:p/${my_name}
24distname           ${my_name}_${my_version}
25extract.suffix     .orig.tar.gz
26worksrcdir         PyKerberos-${major}.${minor}
27
28python.versions    27
29
30checksums          rmd160 8d95d2797b86ef670a17d99f70f7cc71a5cdb516 \
31                   sha256 e82bb0508cc21ce4281af7e6fd9243cd1a8b4052b9b948781297aa9d8c183d28
32
33if {${name} ne ${subport}} {
34  depends_lib-append port:kerberos5
35}
36
37if {${name} eq ${subport}} {
38  livecheck.type     regex
39  livecheck.url      ${homepage}
40  livecheck.version  ${my_version}
41  livecheck.regex    {(\d+\.\d+\+svn\d+)}
42} else {
43  livecheck.type     none
44}
Note: See TracBrowser for help on using the repository browser.