Added: - CLI: add support for invocations via 'python -m'. - load_dotenv function now returns False. - CLI: add --format= option to list command. Fixed: - Drop Python 3.5 and 3.6 and upgrade GA - Use open instead of io.open. - Improve documentation for variables without a value - Add parse_it to Related Projects - Update README.md - Improve documentation with direct use of MkDocs Signed-off-by: Javier Marcet <javier@marcet.info>
35 lines
1 KiB
Makefile
35 lines
1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-dotenv
|
|
PKG_VERSION:=0.21.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=python-dotenv
|
|
PKG_HASH:=b77d08274639e3d34145dfa6c7008e66df0f04b7be7a75fd0d5292c191d79045
|
|
|
|
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-dotenv
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Add .env support to your django/flask apps in development and deployments
|
|
URL:=http://github.com/theskumar/python-dotenv
|
|
DEPENDS:=+python3-click +python3-light +python3-logging
|
|
endef
|
|
|
|
define Package/python3-dotenv/description
|
|
A Python library which 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.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-dotenv))
|
|
$(eval $(call BuildPackage,python3-dotenv))
|
|
$(eval $(call BuildPackage,python3-dotenv-src))
|