You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49 lines
1.8 KiB
Tcl
49 lines
1.8 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 github 1.0
|
|
|
|
github.setup theskumar python-dotenv 1.1.0 v
|
|
github.tarball_from archive
|
|
revision 0
|
|
|
|
name py-python-dotenv
|
|
categories-append devel
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license BSD
|
|
maintainers {emcrisostomo @emcrisostomo} \
|
|
openmaintainer
|
|
|
|
description Add .env support to your django/flask apps in development and deployments
|
|
long_description $description \
|
|
Reads the key-value pair from .env file and adds them to \
|
|
environment variable. It is great for managing app settings \
|
|
during development and in production using 12-factor principles.
|
|
|
|
checksums rmd160 2f2853a6bd0b8d16126b15e576ab0b1336630fcc \
|
|
sha256 2b9722774d3126917226cc39d0b63deb45bd9edacf8fa9b08aceee8e6d9a246d \
|
|
size 26494
|
|
|
|
python.versions 39 310 311 312 313
|
|
|
|
if {${subport} ne ${name}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-click
|
|
|
|
# a few tests fail becuase the "dotenv" console_script hasn't been created yet...
|
|
depends_test-append \
|
|
port:py${python.version}-ipython \
|
|
port:py${python.version}-mock \
|
|
port:py${python.version}-sh
|
|
|
|
test.run yes
|
|
|
|
post-destroot {
|
|
xinstall -d ${destroot}${prefix}/share/doc/${subport}
|
|
xinstall -m 0644 -W ${worksrcpath} CONTRIBUTING.md LICENSE \
|
|
README.md ${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
}
|