You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
60 lines
1.9 KiB
Tcl
60 lines
1.9 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-dill
|
|
version 0.3.3
|
|
revision 0
|
|
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license BSD
|
|
|
|
maintainers {petr @petrrr} openmaintainer
|
|
|
|
description serialize all of python extends python's pickle module
|
|
|
|
long_description \
|
|
dill extends python's pickle module for serializing and de-serializing \
|
|
python objects to the majority of the built-in python types. It provides \
|
|
the user the same interface as the pickle module, and also includes some \
|
|
additional features. In addition to pickling python objects, dill \
|
|
provides the ability to save the state of an interpreter session in a \
|
|
single command.
|
|
|
|
homepage https://github.com/uqfoundation/dill
|
|
|
|
use_zip yes
|
|
checksums rmd160 e21992ba9dcea23d91091b5dd886062cd65debf5 \
|
|
sha256 efb7f6cb65dba7087c1e111bb5390291ba3616741f96840bfc75792a1a9b5ded \
|
|
size 177693
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
# make sure the tests are run with the correct Python version
|
|
post-patch {
|
|
reinplace "s|python = 'python'|python = '${python.bin}'|g" \
|
|
${worksrcpath}/tests/__main__.py
|
|
}
|
|
|
|
test.run yes
|
|
test.dir ${build.dir}/tests
|
|
test.cmd ${python.bin} __main__.py
|
|
test.target
|
|
test.env PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE README README.md \
|
|
${destroot}${docdir}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|