You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
50 lines
1.4 KiB
Tcl
50 lines
1.4 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-robotframework
|
|
set internal_name robotframework
|
|
|
|
version 4.0.1
|
|
license Apache-2
|
|
|
|
categories-append devel
|
|
maintainers {jwa @jyrkiwahlstedt} openmaintainer
|
|
description ATDD framework
|
|
long_description ATDD framework with plugins
|
|
|
|
homepage http://robotframework.org/
|
|
|
|
|
|
use_zip yes
|
|
|
|
platforms darwin
|
|
python.versions 27 36 37 38 39
|
|
python.default_version 39
|
|
|
|
universal_variant yes
|
|
|
|
master_sites pypi:r/${internal_name}
|
|
distname ${internal_name}-${version}
|
|
|
|
checksums rmd160 d3291def009a47c5dd8cefbc028557e7522e90bd \
|
|
sha256 9fa609ceb78f67b1476edce8a7011b16bf3ab41c0fb8c211de6c99955eaf9fde \
|
|
size 690832
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
post-destroot {
|
|
reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/robot
|
|
reinplace "s;${destroot};;" ${destroot}${python.prefix}/bin/rebot
|
|
}
|
|
|
|
livecheck.type none
|
|
} else {
|
|
livecheck.type regex
|
|
livecheck.url https://pypi.python.org/pypi/robotframework
|
|
livecheck.regex ${internal_name}-(\[3-9\]\\.\[0-9.\]+)\\.zip
|
|
}
|