Files
2020-10-09 00:17:23 -05:00

51 lines
1.6 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
PortGroup deprecated 1.0
name py-des
python.rootname pyDes
version 2.0.1
revision 1
categories-append devel
platforms darwin
supported_archs noarch
license public-domain
maintainers nomaintainer
description Pure python implementation of DES and TRIPLE DES encryption algorithm
long_description \
This algorithm is a pure python implementation of the DES and Triple DES \
algorithms. Triple DES is either DES-EDE3 with a 24 byte key, or DES-EDE2 \
with a 16 byte key.
homepage http://whitemans.ca/des.html
master_sites pypi:p/${python.rootname}
distname ${python.rootname}-${version}
use_zip yes
checksums rmd160 fca28952f27aed106e5e193544609f4dd3b27670 \
sha256 9cc6e509f627ef1c2d318730d22f1a33f23b41e1ec223b55a6420f2861266d76 \
size 14055
deprecated.upstream_support no
python.versions 27 35 36 37 38 39
if {${subport} ne ${name}} {
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.txt Changelog.txt \
${destroot}${docdir}
}
test.run yes
test.cmd ${python.bin} test_pydes.py
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
}