/
Portfile
41 lines (30 loc) · 1.18 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- 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-unidiff
version 0.7.5
revision 0
categories-append devel
platforms {darwin any}
supported_archs noarch
license MIT
maintainers nomaintainer
description Unified diff parsing/metadata extraction library.
long_description {*}${description}
homepage https://github.com/matiasb/python-unidiff
checksums rmd160 f4f85b027a0a2e7bd36e0f9268b56cd82014edd2 \
sha256 2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574 \
size 20931
python.versions 38 39 310 311 312
if {${name} ne ${subport}} {
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 HISTORY \
LICENSE ${destroot}${docdir}
}
test.run yes
livecheck.type none
}