Files
2026-02-25 22:21:35 -05:00

48 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
PortGroup github 1.0
PortGroup select 1.0
github.setup berdario pew 1.2.0
github.tarball_from archive
revision 1
name py-${github.project}
supported_archs noarch
platforms {darwin any}
license MIT
python.versions 310 311 312 313 314
maintainers openmaintainer {gmail.com:esafak @esafak}
description A tool to manage multiple virtual environments written in pure python
long_description {*}$description
checksums rmd160 2a92c21bc5a9e7a93b1a1051cc32d3c3554352e0 \
sha256 58e4f04ba644080ef820c2e07d1704112727e392c2fd1d42cdc31e112ffc2345 \
size 43005
use_zip yes
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-virtualenv-clone \
port:py${python.version}-virtualenv \
port:py${python.version}-setuptools \
port:py${python.version}-pythonz
depends_run-append port:pew_select
select.group pew
select.file pew${python.version}
test.run yes
notes "
The executable is installed as\
'${prefix}/bin/pew-${python.branch}'. To symlink it to\
'${prefix}/bin/pew', run:
sudo port select --set ${select.group} ${select.file}
"
}