You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
42 lines
1.4 KiB
Tcl
42 lines
1.4 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 20241021
|
|
revision 0
|
|
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
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
|
|
|
|
distname diff_match_patch-${version}
|
|
|
|
checksums rmd160 54b0b612b2f5e7674b622c8515ccf6660c2e0254 \
|
|
sha256 beae57a99fa48084532935ee2968b8661db861862ec82c6f21f4acdd6d835073 \
|
|
size 39962
|
|
|
|
python.versions 310 311 312 313 314
|
|
python.pep517_backend flit
|
|
|
|
if {${name} ne ${subport}} {
|
|
python.test_framework
|
|
test.run yes
|
|
test.dir ${build.dir}/diff_match_patch/tests
|
|
test.cmd ${python.bin} diff_match_patch_test.py
|
|
|
|
post-destroot {
|
|
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE README.md \
|
|
${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
}
|