mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
46 lines
1.5 KiB
Tcl
46 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
|
|
|
|
name py-snowballstemmer
|
|
version 3.1.1
|
|
revision 0
|
|
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
license BSD
|
|
maintainers nomaintainer
|
|
|
|
description This package provides 23 stemmer algorithms for 22 languages \
|
|
generated from Snowball algorithms.
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/snowballstem/snowball
|
|
|
|
checksums sha256 e07bbc54a0d798fe6010a12398422e62a8bfbba95c394fd0956ef58cb4d3e260 \
|
|
rmd160 06a3bfbcf38852ffd50845d6013093989192ad23 \
|
|
size 123314
|
|
|
|
python.versions 27 310 311 312 313 314
|
|
|
|
if {${subport} ne ${name}} {
|
|
if {${python.version} == 27} {
|
|
version 3.0.1
|
|
revision 0
|
|
checksums sha256 6d5eeeec8e9f84d4d56b847692bacf79bc2c8e90c7f80ca4444ff8b6f2e52895 \
|
|
rmd160 420593edc60558641b65ecb7c42a65cc295ea741 \
|
|
size 105575
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
}
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst NEWS COPYING \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|