Files
macports-ports/python/py-Faker/Portfile
T
2024-10-31 13:31:45 -04:00

54 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-Faker
version 30.8.1
revision 0
supported_archs noarch
platforms {darwin any}
license MIT
maintainers {judaew @judaew} openmaintainer
description Faker is a Python package that generates fake data for you.
long_description \
{*}${description} Whether you need to bootstrap your database, create \
good-looking XML documents, fill-in your persistence to stress test it, \
or anonymize data taken from a production service, Faker is for you.
homepage https://github.com/joke2k/faker
checksums rmd160 947f1ae322dc4a70e105191ca5043c5e90b2c497 \
sha256 93e8b70813f76d05d98951154681180cb795cfbcff3eced7680d963bcc0da2a9 \
size 1808667
python.versions 39 310 311 312
distname faker-${version}
if {${name} ne ${subport}} {
depends_run-append \
port:py${python.version}-dateutil \
port:py${python.version}-typing_extensions
depends_test-append \
port:py${python.version}-decorator \
port:py${python.version}-freezegun \
port:py${python.version}-ukpostcodeparser \
port:py${python.version}-validators \
port:py${python.version}-Pillow \
port:py${python.version}-xmltodict
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
# many test fails with:
# recursive dependency involving fixture 'faker' detected
# however, once the package is insalled all test pass
}