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.5 KiB
Tcl
50 lines
1.5 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-selectors2
|
|
version 2.0.2
|
|
revision 0
|
|
|
|
categories-append devel
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license MIT
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description Back-ported, durable, and portable selectors
|
|
long_description ${description}
|
|
|
|
homepage https://www.github.com/SethMichaelLarson/selectors2
|
|
|
|
checksums rmd160 ad16f79dd3be8b2909c1ce99be12de2413104487 \
|
|
sha256 1f1bbaac203a23fbc851dc1b5a6e92c50698cc8cefa5873eb5b89eef53d1d82b \
|
|
size 18558
|
|
|
|
python.versions 27
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-mock \
|
|
port:py${python.version}-nose \
|
|
port:py${python.version}-psutil
|
|
|
|
test.run yes
|
|
test.cmd nosetests-${python.branch}
|
|
test.target
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
|
|
CHANGELOG.rst ${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|