Commits

Renee Otten authored 4ddeaf9d3c7
py-rstcheck: add py38 subport

- add noarch - install files in post-destroot
No tags

python/py-rstcheck/Portfile

Modified
1 1 # -*- 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
2 2
3 3 PortSystem 1.0
4 4 PortGroup python 1.0
5 5
6 6 name py-rstcheck
7 7 version 3.3.1
8 -revision 0
8 +revision 1
9 +
9 10 categories-append devel
11 +platforms darwin
12 +supported_archs noarch
10 13 license MIT
11 14 maintainers {reneeotten @reneeotten} openmaintainer
15 +
12 16 description Checks syntax of reStructuredText and code blocks nested within it
13 17 long_description ${description}
14 -platforms darwin
18 +
15 19 homepage https://github.com/myint/rstcheck
16 20 master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
17 21 distname ${python.rootname}-${version}
18 22
19 23 checksums rmd160 95397717b850a92f622293cba2cefed64ec9fed6 \
20 24 sha256 92c4f79256a54270e0402ba16a2f92d0b3c15c8f4410cb9c57127067c215741f \
21 25 size 13825
22 26
23 -python.versions 27 37
27 +python.versions 27 37 38
24 28
25 29 if {${subport} ne ${name}} {
26 30 depends_lib-append \
27 31 port:py${python.version}-docutils \
28 - port:py${python.version}-setuptools \
29 - port:py${python.version}-sphinx
32 + port:py${python.version}-setuptools
33 +
34 + post-destroot {
35 + set docdir ${prefix}/share/doc/${subport}
36 + xinstall -d ${destroot}${docdir}
37 + xinstall -m 0644 -W ${worksrcpath} LICENSE \
38 + AUTHORS.rst README.rst ${destroot}${docdir}
39 + }
30 40
31 41 livecheck.type none
32 42 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut