Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (37 sloc) 1.74 KB
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-incremental
version 17.5.0
categories-append devel
license MIT
platforms darwin
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
description A small library that versions your Python projects
long_description Incremental is a small library that versions your Python projects.
homepage https://github.com/twisted/incremental
master_sites https://github.com/twisted/incremental/archive
distname incremental-${version}
checksums rmd160 d43e1e373acf42abcaaef8ffde8f77bf5a48abb5 \
sha256 7be9a13ebb2ad1dd1ed3ecf547c3fa6e1154bb793418c6cc504b9b6039b0045a
worksrcdir incremental-incremental-${version}
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
# see https://pypi.python.org/pypi/incremental/
#depends_lib-append port:py${python.version}-twisted
if {[catch {set installed [lindex [registry_active py${python.version}-twisted] 0]}]} {
notes "
${subport} depends on py${python.version}-twisted to run properly, but py${python.version}-twisted depends on ${subport} to both build and run correctly.
Please install py${python.version}-twisted manually for correct functionality.
"
}
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append \
port:py${python.version}-click
livecheck.type none
} else {
livecheck.type regex
livecheck.url https://github.com/twisted/incremental/tags
livecheck.regex "(\\d+(?:\\.\\d)*\[.a-z0-9\]*)${extract.suffix}"
}
You can’t perform that action at this time.