Permalink
Browse files
py-qrcode: update to 6.1, add py37
- correct dependency type for py-setuptools
- install files in post-destroot
- Loading branch information
Showing
with
16 additions
and
9 deletions.
-
+16
−9
python/py-qrcode/Portfile
|
|
@@ -4,7 +4,8 @@ PortSystem 1.0 |
|
|
PortGroup python 1.0 |
|
|
|
|
|
name py-qrcode |
|
|
version 5.3 |
|
|
version 6.1 |
|
|
revision 0 |
|
|
platforms darwin |
|
|
license BSD |
|
|
maintainers nomaintainer |
|
|
@@ -16,17 +17,23 @@ homepage https://github.com/lincolnloop/python-qrcode |
|
|
master_sites pypi:q/qrcode |
|
|
distname qrcode-${version} |
|
|
|
|
|
checksums md5 af41b650a3675d0a0366f842de9786b9 \ |
|
|
rmd160 9eedb3894a185ecbb9800cf8d4f7605a2794f2a3 \ |
|
|
sha256 4115ccee832620df16b659d4653568331015c718a754855caf5930805d76924e |
|
|
checksums rmd160 abf05f559e8d64fee4fb4f3e9cc75b5140066473 \ |
|
|
sha256 505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369 \ |
|
|
size 29363 |
|
|
|
|
|
python.versions 27 36 |
|
|
python.versions 27 36 37 |
|
|
|
|
|
if {${name} ne ${subport}} { |
|
|
depends_build-append port:py${python.version}-setuptools |
|
|
depends_lib-append port:py${python.version}-six |
|
|
depends_lib-append \ |
|
|
port:py${python.version}-setuptools \ |
|
|
port:py${python.version}-six |
|
|
|
|
|
post-destroot { |
|
|
set docdir ${prefix}/share/doc/${subport} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \ |
|
|
CHANGES.rst TESTING.rst ${destroot}${docdir} |
|
|
} |
|
|
|
|
|
livecheck.type none |
|
|
} else { |
|
|
livecheck.type pypi |
|
|
} |