# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 set real_name virtualfish github.setup adambrenecki $real_name 1.0.1 name py-$real_name platforms darwin supported_archs noarch license MIT maintainers nomaintainer description A Fish wrapper for Ian Bicking\'s virtualenv long_description {A Fish Shell wrapper for Ian Bicking's virtualenv, somewhat \ loosely based on Doug Hellman's virtualenvwrapper for \ Bourne-compatible shells.} github.tarball_from releases master_sites https://github.com/adambrenecki/virtualfish/archive distname ${version} worksrcdir ${real_name}-${distname} checksums rmd160 21ab9dad82810327eb058e6e1e35e307ba9e925a \ sha256 2584c5444e7b9f3ef0bb86d9a1b7f3bbfbd6d36ad1ec3705c8ccd46f1d5315c0 patchfiles patch-setup.py.diff # Possibly other versions works as well, please test and patch python.versions 27 35 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-virtualenv \ port:fish } # Need livecheck, not sure how to fit this with github portgroup notes " Be sure to check virtualfish install notes: http://virtualfish.readthedocs.io/en/latest/install.html At this point you basically need to: - edit ~/.config/fish/config.fish, adding a line that reads eval (python -m virtualfish) - add virtualfish to your prompt, see virtualfish install notes - start using virtualfish: vf new myvirtualenv; which python "