Added: - Add encoding (Optional[str]) parameter to get_key, set_key and unset_key. (by @bbc2) Fixed: - Use dict to specify the entry_points parameter of setuptools.setup (by @mgorny). - Don't build universal wheels (by @bbc2). 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.20.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=python-dotenv
|
|
PKG_HASH:=b7e3b04a59693c42c36f9ab1cc2acc46fa5df8c78e178fc33a8d4cd05c8d498f
|
|
|
|
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-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))
|