Skip to content
Permalink
Browse files

py-pykerberos: update to 1.1.14 for python3

this updates the pykerberos port to pypi release 1.1.14, which provides python3 support.
I am not a pykerberos developer.
  • Loading branch information
duncanmmacleod authored and mf2k committed Sep 28, 2018
1 parent 8c93a09 commit 441b7782586fccad4fd40156b4cf61fb146f3ec6
Showing with 14 additions and 24 deletions.
  1. +14 −24 python/py-pykerberos/Portfile
@@ -2,41 +2,31 @@ PortSystem 1.0
PortGroup python 1.0

name py-pykerberos
set my_name pykerberos
version 1.1-10616
version 1.1.14
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}
homepage https://pypi.org/project/pykerberos/
master_sites pypi:p/pykerberos
distname pykerberos-${version}

python.versions 27
python.versions 27 36 37

checksums rmd160 8d95d2797b86ef670a17d99f70f7cc71a5cdb516 \
sha256 e82bb0508cc21ce4281af7e6fd9243cd1a8b4052b9b948781297aa9d8c183d28
checksums rmd160 ab5464d07a89cfc3a894400bf0a670113aa45c0a \
sha256 60f84e1b606d58cc457b186914c195072ebebf5d5a05e75c0136541808e06523 \
size 20454

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+)}
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:kerberos5
livecheck.type none
} else {
livecheck.type none
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {pykerberos (\d+(?:\.\d+)*)}
}

0 comments on commit 441b778

Please sign in to comment.
You can’t perform that action at this time.