You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
60fc8959ab
- remove py34, add py3[78] subports - use python.rootname, default PyPI livecheck - update modeline
65 lines
2.1 KiB
Tcl
65 lines
2.1 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-word2vec
|
|
version 0.10.2
|
|
revision 0
|
|
|
|
categories-append textproc
|
|
platforms darwin
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
|
|
description Google word2vec python wrapper
|
|
long_description ${description}
|
|
|
|
homepage https://github.com/danielfrg/word2vec/
|
|
master_sites pypi:w/${python.rootname}/
|
|
distname ${python.rootname}-${version}
|
|
|
|
checksums rmd160 22444e3e19eca84b7079527c71f71650c9f29253 \
|
|
sha256 40f6f30a5f113ffbfc24c5ad5de23bfac897f4c1210fb93685b7fca5c4dee7db \
|
|
size 60523
|
|
|
|
python.versions 27 35 36 37 38
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-cython
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-scipy \
|
|
port:py${python.version}-scikit-learn \
|
|
port:py${python.version}-six
|
|
|
|
if {${python.version} eq 27} {
|
|
version 0.9.4
|
|
revision 0
|
|
distname ${python.rootname}-${version}
|
|
checksums rmd160 aad598bb3bdecc4fe886e2d7424d929b9df3948a \
|
|
sha256 4606e8537c89505824c6fd16471492764af6ae2436dc533efdfb63ae17374514 \
|
|
size 54434
|
|
|
|
depends_lib-delete \
|
|
port:py${python.version}-scipy \
|
|
port:py${python.version}-scikit-learn \
|
|
port:py${python.version}-six
|
|
}
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.md ${destroot}${docdir}
|
|
if {${python.version} ne 27} {
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE ${destroot}${docdir}
|
|
}
|
|
}
|
|
|
|
|
|
livecheck.type none
|
|
}
|