Commits

Renee Otten authored 6f0e57792aa
py-crypto: remove py34 subport, add size, use https
No tags

python/py-crypto/Portfile

Modified
1 1 # -*- 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
2 2
3 3 PortSystem 1.0
4 4 PortGroup python 1.0
5 5
6 6 name py-crypto
7 7 version 2.6.1
8 8 revision 1
9 +
9 10 categories-append security
10 11 platforms darwin freebsd
11 12 license public-domain PSF
12 13 maintainers nomaintainer
13 14
14 15 description Collection of cryptographic algorithms and protocols
15 16 long_description Collection of cryptographic algorithms and protocols, \
16 17 implemented for use from python. Among are MD2, MD4, \
17 18 RIPEMD, AES, ARC2, Blowfish, CAST, DES, Triple-DES, \
18 19 IDEA, RC5, ARC4, simple XOR, RSA, DSA, ElGamal, qNEW.
19 -homepage http://www.dlitz.net/software/pycrypto/
20 20
21 +homepage https://www.dlitz.net/software/pycrypto/
21 22 master_sites https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
22 23 distname pycrypto-${version}
24 +
23 25 checksums rmd160 ac0db079e5e4be9daf739e094c10e96291dbc009 \
24 - sha256 f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c
26 + sha256 f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c \
27 + size 446240
25 28
26 -python.versions 27 34 35 36 37
29 +python.versions 27 35 36 37
27 30
28 31 if {${name} ne ${subport}} {
29 32 depends_lib-append port:gmp
30 33
31 34 post-destroot {
32 - xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
33 - xinstall -m 644 -W ${worksrcpath} \
35 + xinstall -d ${destroot}${prefix}/share/doc/${subport}
36 + xinstall -m 0644 -W ${worksrcpath} \
34 37 ACKS ChangeLog COPYRIGHT README TODO \
35 38 ${destroot}${prefix}/share/doc/${subport}
36 39 }
37 40
38 41 test.run yes
39 42 test.target test
40 43
41 44 livecheck.type none
42 45 } else {
43 46 livecheck.type regex

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut