You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
2.0 KiB
Tcl
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 40.23.0
|
|
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 307e46243ce60101a018d29389ecc482f13a0a78 \
|
|
sha256 f135e563f1f95f19346bb680bc2e43570bc43b7893e566023746f51f32c69dfc \
|
|
size 1972975
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
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
|
|
}
|