Ticket #31735: 0001-python-py-crypto-unify.patch

File 0001-python-py-crypto-unify.patch, 6.5 KB (added by skymoo (Adam Mercer), 13 years ago)

unify py*-crypto

  • python/py-crypto/Portfile

    From a646c331b1aa613bf11809e640fbddd3b8567f0d Mon Sep 17 00:00:00 2001
    From: Adam Mercer <ram+local@macports.org>
    Date: Sun, 23 Oct 2011 11:19:49 -0500
    Subject: [PATCH 1/2] python/py*-crypto: unify
    
    ---
     python/py-crypto/Portfile   |   12 +++++++-----
     python/py25-crypto/Portfile |   38 --------------------------------------
     python/py26-crypto/Portfile |   37 -------------------------------------
     python/py27-crypto/Portfile |   38 --------------------------------------
     4 files changed, 7 insertions(+), 118 deletions(-)
     delete mode 100644 python/py25-crypto/Portfile
     delete mode 100644 python/py26-crypto/Portfile
     delete mode 100644 python/py27-crypto/Portfile
    
    diff --git a/python/py-crypto/Portfile b/python/py-crypto/Portfile
    index cd572a9..eafabb6 100644
    a b  
    11# $Id$
    22
    33PortSystem       1.0
    4 PortGroup        python24 1.0
     4PortGroup        python 1.0
    55
    66name             py-crypto
    77version          2.3
    version 2.3 
    99categories       python security
    1010license          public-domain PSF
    1111platforms        darwin freebsd
    12 maintainers      nomaintainer
     12maintainers      jwa mww ram openmaintainer
    1313description      collection of cryptographic algorithms and protocols for python
    1414long_description collection of cryptographic algorithms and protocols, \
    1515  implemented for use from python. Among are MD2, MD4, RIPEMD, AES, \
    1616  ARC2, Blowfish, CAST, DES, Triple-DES, IDEA, RC5, ARC4, simple XOR, \
    1717  RSA, DSA, ElGamal, qNEW.
    1818
     19python.versions  24 25 26 27
     20
    1921homepage         http://www.dlitz.net/software/pycrypto/
    2022master_sites     http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
    2123distname         pycrypto-${version}
    checksums md5 2b811cfbfc342d83ee614097effb8101 \ 
    2729test.run         yes
    2830test.target      test
    2931
    30 post-destroot   {
     32post-destroot {
    3133  xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    3234  xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog COPYRIGHT README TODO \
    33   ${destroot}${prefix}/share/doc/${name}
     35    ${destroot}${prefix}/share/doc/${name}
    3436}
    3537
    3638livecheck.type   regex
    3739livecheck.url    ${homepage}
    38 livecheck.regex  pycrypto-(\[0-9.\]+)\\.tar\\.gz
     40livecheck.regex  pycrypto-(\[0-9\.\]+).tar.gz
  • deleted file python/py25-crypto/Portfile

    diff --git a/python/py25-crypto/Portfile b/python/py25-crypto/Portfile
    deleted file mode 100644
    index 2467066..0000000
    + -  
    1 # $Id$
    2 
    3 PortSystem       1.0
    4 PortGroup        python25 1.0
    5 
    6 name             py25-crypto
    7 version          2.3
    8 
    9 categories       python security
    10 license          public-domain PSF
    11 platforms        darwin freebsd
    12 maintainers      mww
    13 description      collection of cryptographic algorithms and protocols for python
    14 long_description collection of cryptographic algorithms and protocols, \
    15   implemented for use from python. Among are MD2, MD4, RIPEMD, AES, \
    16   ARC2, Blowfish, CAST, DES, Triple-DES, IDEA, RC5, ARC4, simple XOR, \
    17   RSA, DSA, ElGamal, qNEW.
    18 
    19 homepage         http://www.dlitz.net/software/pycrypto/
    20 master_sites     http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
    21 distname         pycrypto-${version}
    22 
    23 checksums        md5 2b811cfbfc342d83ee614097effb8101 \
    24                  sha1 96b33b77e729893bd0837a09a6aa7a12b5070037 \
    25                  rmd160 5b7b15aab3f5e33113ba197a2edd629c72595374
    26 
    27 test.run         yes
    28 test.target      test
    29 
    30 post-destroot {
    31   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    32   xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog COPYRIGHT README TODO \
    33     ${destroot}${prefix}/share/doc/${name}
    34 }
    35 
    36 livecheck.type   regex
    37 livecheck.url    ${homepage}
    38 livecheck.regex  pycrypto-(\[0-9\.\]+).tar.gz
  • deleted file python/py26-crypto/Portfile

    diff --git a/python/py26-crypto/Portfile b/python/py26-crypto/Portfile
    deleted file mode 100644
    index d378718..0000000
    + -  
    1 # $Id$
    2 
    3 PortSystem       1.0
    4 PortGroup        python26 1.0
    5 
    6 name             py26-crypto
    7 version          2.3
    8 categories       python security
    9 license          public-domain PSF
    10 platforms        darwin freebsd
    11 maintainers      ram openmaintainer
    12 description      collection of cryptographic algorithms and protocols for python
    13 long_description collection of cryptographic algorithms and protocols, \
    14   implemented for use from python. Among are MD2, MD4, RIPEMD, AES, \
    15   ARC2, Blowfish, CAST, DES, Triple-DES, IDEA, RC5, ARC4, simple XOR, \
    16   RSA, DSA, ElGamal, qNEW.
    17 
    18 homepage         http://www.dlitz.net/software/pycrypto/
    19 master_sites     http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
    20 distname         pycrypto-${version}
    21 
    22 checksums        md5 2b811cfbfc342d83ee614097effb8101 \
    23                  sha1 96b33b77e729893bd0837a09a6aa7a12b5070037 \
    24                  rmd160 5b7b15aab3f5e33113ba197a2edd629c72595374
    25 
    26 test.run        yes
    27 test.target     test
    28 
    29 post-destroot {
    30   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    31   xinstall -m 644 -W ${worksrcpath} ACKS COPYRIGHT README TODO \
    32     ${destroot}${prefix}/share/doc/${name}
    33 }
    34 
    35 livecheck.type   regex
    36 livecheck.url    ${homepage}
    37 livecheck.regex  pycrypto-(\[0-9\.\]+).tar.gz
  • deleted file python/py27-crypto/Portfile

    diff --git a/python/py27-crypto/Portfile b/python/py27-crypto/Portfile
    deleted file mode 100644
    index 2d5f0a6..0000000
    + -  
    1 # $Id$
    2 
    3 PortSystem       1.0
    4 PortGroup        python27 1.0
    5 
    6 name             py27-crypto
    7 version          2.3
    8 
    9 categories       python security
    10 license          public-domain PSF
    11 platforms        darwin freebsd
    12 maintainers      jwa ram openmaintainer
    13 description      collection of cryptographic algorithms and protocols for python
    14 long_description collection of cryptographic algorithms and protocols, \
    15   implemented for use from python. Among are MD2, MD4, RIPEMD, AES, \
    16   ARC2, Blowfish, CAST, DES, Triple-DES, IDEA, RC5, ARC4, simple XOR, \
    17   RSA, DSA, ElGamal, qNEW.
    18 
    19 homepage         http://www.dlitz.net/software/pycrypto/
    20 master_sites     http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
    21 distname         pycrypto-${version}
    22 
    23 checksums        md5 2b811cfbfc342d83ee614097effb8101 \
    24                  sha1 96b33b77e729893bd0837a09a6aa7a12b5070037 \
    25                  rmd160 5b7b15aab3f5e33113ba197a2edd629c72595374
    26 
    27 test.run         yes
    28 test.target      test
    29 
    30 post-destroot {
    31   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    32   xinstall -m 644 -W ${worksrcpath} ACKS ChangeLog COPYRIGHT README TODO \
    33     ${destroot}${prefix}/share/doc/${name}
    34 }
    35 
    36 livecheck.type   regex
    37 livecheck.url    ${homepage}
    38 livecheck.regex  pycrypto-(\[0-9\.\]+).tar.gz