You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.4 KiB
Tcl
47 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-pytest-sugar
|
|
version 1.1.1
|
|
revision 0
|
|
|
|
categories-append devel
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
license BSD
|
|
maintainers nomaintainer
|
|
|
|
description ${name} changes the default look and feel of pytest \
|
|
(progressbar, show tests that fail instantly).
|
|
|
|
long_description {*}${description}
|
|
|
|
homepage http://pivotfinland.com/pytest-sugar/
|
|
|
|
checksums rmd160 52d11f229e9cd49bc194d922a3ec83cfa6081588 \
|
|
sha256 73b8b65163ebf10f9f671efab9eed3d56f20d2ca68bda83fa64740a92c08f65d \
|
|
size 16533
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_run-append \
|
|
port:py${python.version}-pytest
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-termcolor
|
|
|
|
post-destroot {
|
|
xinstall -d ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \
|
|
${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
|
|
test.run yes
|
|
python.test_framework
|
|
test.cmd ${python.bin}
|
|
test.target test_sugar.py
|
|
}
|