Files
Steven Thomas Smith 2328ec6ea1 py-Faker: Submission
2021-03-17 10:40:52 -04:00

49 lines
1.4 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-Faker
version 6.6.1
platforms darwin
license MIT
maintainers nomaintainer
description Faker is a Python package that generates fake data for you.
long_description ${description}
homepage https://github.com/joke2k/faker
checksums rmd160 7c8ea15092174d175be249aeef2b0cf8b1af42ce \
sha256 14e23b25d00168f09b2cf8182a17d1fe615ab26666f564248b34ef04f060bd42 \
size 1115484
python.versions 37 38 39
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_run-append \
port:py${python.version}-dateutil
depends_test-append \
port:py${python.version}-pytest \
port:py${python.version}-random2 \
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} LICENSE.txt README.rst \
${destroot}${docdir}
}
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env-append \
PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
}