You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
c3c19be3ef
- use https for homepage - modernize checksums
52 lines
2.0 KiB
Tcl
52 lines
2.0 KiB
Tcl
# -*- 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
|
|
PortGroup python 1.0
|
|
|
|
name py-ezpycrypto
|
|
version 0.1.1
|
|
revision 1
|
|
categories-append security
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license GPL
|
|
maintainers nomaintainer
|
|
|
|
description high-level encryption python module building upon py-crypto
|
|
long_description ezPyCrypto is a high-level encryption library for \
|
|
Python that makes your job of securing data easy and \
|
|
effortless. As a reaction to some other crypto \
|
|
libraries, which can be painfully complex to \
|
|
understand and use, ezPyCrypto has been designed from \
|
|
the ground up for absolute ease of use, without \
|
|
compromising security.
|
|
homepage https://freenet.mcnabhosting.com/python/ezPyCrypto/
|
|
|
|
master_sites ${homepage}
|
|
distname ezPyCrypto-${version}
|
|
checksums md5 6e30f9e6a16aca849431568e1a5b0ee1 \
|
|
rmd160 689458ef5b2c4f2ef79c28c56589deb938b0ec75 \
|
|
sha256 2411083d2dd3a2553c4cdc35edd919d6f3e0fc908fe23c2bcff974b277ca47c4 \
|
|
size 1392693
|
|
python.versions 27
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:py${python.version}-crypto
|
|
|
|
test.run yes
|
|
test.cmd ${python.bin}
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
test.target example?.py
|
|
|
|
post-destroot {
|
|
xinstall -m 0644 -W ${worksrcpath} CHANGELOG INSTALL README \
|
|
${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 {*}[glob ${worksrcpath}/example\[1-8\].py] \
|
|
${destroot}${prefix}/share/doc/${subport}/examples
|
|
}
|
|
|
|
livecheck.type none
|
|
} else {
|
|
livecheck.regex ezPyCrypto-(\\d+(?:\\.\\d+)*)
|
|
}
|