Files
packages/lang/python/python-dotenv/Makefile
Alexandru Ardelean 82d10f567f python-dotenv: bump to 1.2.2
Changes since 1.0.1:
- Added support for Python 3.14 (including free-threaded build)
- CLI now forwards flags directly to commands
- Improved symlink handling with explicit follow_symlinks option
- Added FIFO file support on Unix systems
- Changed file mode preservation to maintain original permissions

Also add test.sh to verify dotenv_values parsing and load_dotenv.

Note: PyPI renamed the source tarball from python-dotenv-*.tar.gz
to python_dotenv-*.tar.gz; add PYPI_SOURCE_NAME accordingly.

Link: https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-02 19:23:54 +03:00

37 lines
1.1 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=python-dotenv
PKG_VERSION:=1.2.2
PKG_RELEASE:=1
PYPI_NAME:=python-dotenv
PYPI_SOURCE_NAME:=python_dotenv
PKG_HASH:=2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3
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))