<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a1a7ec696d21ca46dc544171f26575c01f01b182">https://github.com/macports/macports-ports/commit/a1a7ec696d21ca46dc544171f26575c01f01b182</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a1a7ec696d21ca46dc544171f26575c01f01b182
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Wed Dec 9 21:57:47 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-dataclasses: new port, version 0.8
</span>---
python/py-dataclasses/Portfile | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-dataclasses/Portfile b/python/py-dataclasses/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..1a5fec6bcc3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-dataclasses/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name py-dataclasses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {reneeotten @reneeotten} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description A backport of the dataclasses module for Python 3.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://github.com/ericvsmith/dataclasses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 84c33b203979c37df503d9a6393fcd1d1a279daf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 36581
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dataclasses are included in Python 3.7 and above, do not add any other versions here
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.run yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.dir ${build.dir}/test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.cmd ${python.bin} test_dataclasses.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ test.env PYTHONPATH=${worksrcpath}/build/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>