pkgsrc/devel/py-python-dotenv/Makefile
wen bdf1ee87bc Import python-dotenv-0.8.2 as devel/py-python-dotenv.
python-dotenv reads the key,value pair from .env and adds them to environment
variable. It is great of managing app settings during development and in
production using 12-factor principles.
2018-05-03 02:26:55 +00:00

22 lines
638 B
Makefile

# $NetBSD: Makefile,v 1.1 2018/05/03 02:26:55 wen Exp $
DISTNAME= python-dotenv-0.8.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dotenv/}
MAINTAINER= wen@NetBSD.org
HOMEPAGE= https://pypi.org/project/python-dotenv/
COMMENT= Add .env support to your django/flask apps
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-click>=5.0:../../devel/py-click
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} dotenv dotenv-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"