Revision: 149543 https://trac.macports.org/changeset/149543 Author: and.damore@macports.org Date: 2016-06-25 06:43:57 -0700 (Sat, 25 Jun 2016) Log Message: ----------- new port py-virtualfish: virtualenv wrapper for fish shell Added Paths: ----------- trunk/dports/python/py-virtualfish/ trunk/dports/python/py-virtualfish/Portfile Added: trunk/dports/python/py-virtualfish/Portfile =================================================================== --- trunk/dports/python/py-virtualfish/Portfile (rev 0) +++ trunk/dports/python/py-virtualfish/Portfile 2016-06-25 13:43:57 UTC (rev 149543) @@ -0,0 +1,54 @@ +# -*- 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 + +# Possibly other versions, need testers +#python.versions 27 34 35 +python.versions 27 + +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 + + " Property changes on: trunk/dports/python/py-virtualfish/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native
participants (1)
-
and.damore@macports.org