# $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pykerberos set my_name pykerberos version 1.1-10616 categories-append devel license Apache-2 platforms darwin maintainers nomaintainer description A GSSAPI interface module for Python set major [lindex [split [lindex [split ${version} {-}] 0] {.}] 0] set minor [lindex [split [lindex [split ${version} {-}] 0] {.}] 1] set rev [lindex [split ${version} {-}] 1] set my_version ${major}.${minor}+svn${rev} long_description ${description} homepage http://packages.debian.org/source/unstable/${my_name} master_sites debian:p/${my_name} distname ${my_name}_${my_version} extract.suffix .orig.tar.gz worksrcdir PyKerberos-${major}.${minor} python.versions 27 checksums rmd160 8d95d2797b86ef670a17d99f70f7cc71a5cdb516 \ sha256 e82bb0508cc21ce4281af7e6fd9243cd1a8b4052b9b948781297aa9d8c183d28 if {${name} ne ${subport}} { depends_lib-append port:kerberos5 } if {${name} eq ${subport}} { livecheck.type regex livecheck.url ${homepage} livecheck.version ${my_version} livecheck.regex {(\d+\.\d+\+svn\d+)} } else { livecheck.type none }