b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=python-dotenv |
| 4 | PKG_VERSION:=1.0.1 |
| 5 | PKG_RELEASE:=1 |
| 6 | |
| 7 | PYPI_NAME:=python-dotenv |
| 8 | PKG_HASH:=e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca |
| 9 | |
| 10 | PKG_MAINTAINER:=Javier Marcet <javier@marcet.info> |
| 11 | PKG_LICENSE:=BSD-3-Clause |
| 12 | PKG_LICENSE_FILES:=LICENSE |
| 13 | |
| 14 | include ../pypi.mk |
| 15 | include $(INCLUDE_DIR)/package.mk |
| 16 | include ../python3-package.mk |
| 17 | |
| 18 | define Package/python3-dotenv |
| 19 | SECTION:=lang |
| 20 | CATEGORY:=Languages |
| 21 | SUBMENU:=Python |
| 22 | TITLE:=Add .env support to your django/flask apps in development and deployments |
| 23 | URL:=http://github.com/theskumar/python-dotenv |
| 24 | DEPENDS:=+python3-click +python3-light +python3-logging |
| 25 | endef |
| 26 | |
| 27 | define Package/python3-dotenv/description |
| 28 | A Python library which reads the key-value pair from .env file and adds them |
| 29 | to environment variable. It is great for managing app settings during |
| 30 | development and in production using 12-factor principles. |
| 31 | endef |
| 32 | |
| 33 | $(eval $(call Py3Package,python3-dotenv)) |
| 34 | $(eval $(call BuildPackage,python3-dotenv)) |
| 35 | $(eval $(call BuildPackage,python3-dotenv-src)) |