<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/69a006451cff507b065610091aff7d152790807a">https://github.com/macports/macports-ports/commit/69a006451cff507b065610091aff7d152790807a</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 69a006451cf py-scrapy: remove unused python 27 code
</span>69a006451cf is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 69a006451cff507b065610091aff7d152790807a
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Mon Mar 14 14:29:28 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-scrapy: remove unused python 27 code
</span>---
python/py-scrapy/Portfile | 43 +++++++++++++------------------------------
1 file changed, 13 insertions(+), 30 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-scrapy/Portfile b/python/py-scrapy/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 200c8cc75df..672d036510b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-scrapy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-scrapy/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,36 +74,19 @@ if {${name} ne ${subport}} {
</span> test.env PYTHONPATH=${worksrcpath}/build/lib
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${python.version} eq 27} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- version 1.8.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- epoch 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 8cc9d59d8428fb948ed1463274bb895d09a86e38 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 fe06576f9a4971de9dc0175c60fd92561e8275f2bad585c1cb5d65c5181b2db0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 977658
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Dependencies:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://github.com/scrapy/scrapy/blob/be2e910dd06ba4904e7b10eb5a7e3251e8dab099/setup.py#L67
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-six
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.run no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Dependencies:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://github.com/scrapy/scrapy/blob/e63188cbf753d560e43d8489c821bd6eb9fe54e9/setup.py#L21
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # But note that patches add setuptools and remove h2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-itemloaders \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-itemadapter
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # TODO: check if these patches are still needed on new releases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append install-requires-setuptools.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- twisted-http2-optional.patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Dependencies:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://github.com/scrapy/scrapy/blob/e63188cbf753d560e43d8489c821bd6eb9fe54e9/setup.py#L21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # But note that patches add setuptools and remove h2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-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;'>+ port:py${python.version}-itemloaders \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-itemadapter
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # TODO: check if these patches are still needed on new releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append install-requires-setuptools.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ twisted-http2-optional.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch.pre_args -p1
</span>
select.group ${rootname_lower}
select.file ${filespath}/${rootname_lower}-${python.version}
</pre><pre style='margin:0'>
</pre>