Permalink
Browse files
py-yapf: update to 0.27.0
- assume maintainership
- install files in post-destroot
- Loading branch information
Showing
with
14 additions
and
7 deletions.
-
+14
−7
python/py-yapf/Portfile
|
|
@@ -5,22 +5,21 @@ PortGroup github 1.0 |
|
|
PortGroup python 1.0 |
|
|
PortGroup select 1.0 |
|
|
|
|
|
github.setup google yapf 0.26.0 v |
|
|
github.setup google yapf 0.27.0 v |
|
|
revision 0 |
|
|
name py-yapf |
|
|
categories-append devel |
|
|
license Apache-2 |
|
|
maintainers nomaintainer |
|
|
maintainers {reneeotten @reneeotten} openmaintainer |
|
|
description A formatter for Python files |
|
|
long_description \ |
|
|
YAPF is based off of 'clang-format', developed by Daniel Jasper. |
|
|
long_description YAPF is based off of 'clang-format', developed by Daniel Jasper. |
|
|
|
|
|
platforms darwin |
|
|
supported_archs noarch |
|
|
|
|
|
checksums rmd160 78b917b9c78d40b9fd059899a12f2e54c1ddd93a \ |
|
|
sha256 73d0fb1f370390ec9443c0507b0448d027fbf16c55c964c3a71d5e98936a7496 \ |
|
|
size 153603 |
|
|
checksums rmd160 d276d961140a52bca5b84d382af646ba8d0a8961 \ |
|
|
sha256 cc0b7140fc1977dbf14c546bd2c2bf7b727db6fffd1fe676409100656d7672aa \ |
|
|
size 156367 |
|
|
|
|
|
python.versions 27 35 36 37 |
|
|
|
|
|
@@ -34,6 +33,14 @@ if {${subport} ne ${name}} { |
|
|
test.run yes |
|
|
test.cmd ${python.bin} setup.py |
|
|
|
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGELOG \ |
|
|
CONTRIBUTING.rst CONTRIBUTORS HACKING.rst \ |
|
|
LICENSE README.rst ${destroot}${docdir} |
|
|
} |
|
|
|
|
|
select.group yapf |
|
|
select.file ${filespath}/py${python.version}-yapf |
|
|
|
|
|
|