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