You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
44 lines
1.5 KiB
Tcl
44 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-diff-match-patch
|
|
version 20200713
|
|
revision 0
|
|
|
|
platforms darwin
|
|
license Apache-2
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description The Diff Match and Patch libraries offer robust algorithms to perform \
|
|
the operations required for synchronizing plain text.
|
|
long_description ${description}
|
|
|
|
homepage https://github.com/google/diff-match-patch
|
|
|
|
checksums rmd160 05ae62db1d30937fb750e1c2c96e2de21ccee25e \
|
|
sha256 da6f5a01aa586df23dfc89f3827e1cafbb5420be9d87769eeb079ddfd9477a18 \
|
|
size 60711
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
test.run yes
|
|
test.dir ${build.dir}/diff_match_patch/tests
|
|
test.cmd ${python.bin} diff_match_patch_test.py
|
|
test.target
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
post-destroot {
|
|
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE CONTRIBUTING.md \
|
|
CODE_OF_CONDUCT.md README.md ${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|