<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5adc00f0c78483885efcb39be2ce64f958059e0c">https://github.com/macports/macports-ports/commit/5adc00f0c78483885efcb39be2ce64f958059e0c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5adc00f0c78483885efcb39be2ce64f958059e0c
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Fri Nov 5 13:58:33 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-crypto: obsolete port
</span>---
python/py-crypto/Portfile | 50 ++++++++---------------------------------------
1 file changed, 8 insertions(+), 42 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-crypto/Portfile b/python/py-crypto/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 526c39d0bea..9b8f31715e0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-crypto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-crypto/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,52 +1,18 @@
</span> # -*- 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
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup obsolete 1.0
</span>
name py-crypto
version 2.6.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-categories-append security
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin freebsd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license public-domain PSF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+replaced_by py-pycryptodome
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-description Collection of cryptographic algorithms and protocols
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description Collection of cryptographic algorithms and protocols, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- implemented for use from python. Among are MD2, MD4, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- RIPEMD, AES, ARC2, Blowfish, CAST, DES, Triple-DES, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- IDEA, RC5, ARC4, simple XOR, RSA, DSA, ElGamal, qNEW.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://www.dlitz.net/software/pycrypto/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname pycrypto-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 ac0db079e5e4be9daf739e094c10e96291dbc009 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 446240
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 35 36 37 38 39
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # See: See: https://trac.macports.org/ticket/63481
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- conflicts py${python.version}-pycryptodome
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:gmp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 0644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ACKS ChangeLog COPYRIGHT README TODO \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_rootname [regsub ^py- [option name] ""]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_versions {27 35 36 37 38 39}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach pv ${python_versions} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport "py${pv}-${python_rootname}" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ replaced_by py${pv}-pycryptodome
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.target test
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.url ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.regex pycrypto-(\[0-9\.\]+).tar.gz
</span> }
</pre><pre style='margin:0'>
</pre>