|
|
@@ -4,10 +4,9 @@ PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
PortGroup github 1.0 |
|
|
|
|
|
set real_name virtualfish |
|
|
github.setup adambrenecki $real_name 1.0.5 |
|
|
revision 1 |
|
|
name py-$real_name |
|
|
github.setup adambrenecki virtualfish 1.0.6 |
|
|
revision 0 |
|
|
name py-virtualfish |
|
|
platforms darwin |
|
|
supported_archs noarch |
|
|
license MIT |
|
|
@@ -18,25 +17,25 @@ long_description {A Fish Shell wrapper for Ian Bicking's virtualenv, some |
|
|
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 e1c2936e459aa21c7461090639fc5cfe60e9de44 \ |
|
|
sha256 e0a05914d65922f696d122ff1d383f40e9984ac7b6efaf52d9d6132c5582e6ce |
|
|
checksums rmd160 cf2674dbbf218a0377364cd56dd675dd23ac076f \ |
|
|
sha256 5ece49db223ca5fd3e4906227484a409f6a03813c43817619b48082c1ab11bf6 \ |
|
|
size 19137 |
|
|
|
|
|
patchfiles patch-setup.py.diff |
|
|
|
|
|
# Possibly other versions works as well, please test and patch |
|
|
python.versions 27 35 36 |
|
|
python.versions 27 35 36 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_lib-append port:py${python.version}-virtualenv \ |
|
|
port:fish |
|
|
|
|
|
post-destroot { |
|
|
xinstall {*}[glob ${worksrcpath}/virtualfish/*.fish] ${destroot}${python.pkgd}/virtualfish/ |
|
|
|
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} README.mdown LICENSE \ |
|
|
CONTRIBUTING.md ${destroot}${docdir} |
|
|
} |
|
|
} |
|
|
|
|
|
|