0.15.0: Added - Add `--export` option to `set` to make it prepend the binding with `export` Changed - Make `set` command create the `.env` file in the current directory if no `.env` file was found. Fixed - Fix potentially empty expanded value for duplicate key. - Fix import error on Python 3.5.0 and 3.5.1. - Fix parsing of unquoted values containing several adjacent space or tab characters
31 lines
978 B
Makefile
31 lines
978 B
Makefile
# $NetBSD: Makefile,v 1.5 2020/11/09 12:16:14 adam Exp $
|
|
|
|
DISTNAME= python-dotenv-0.15.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dotenv/}
|
|
|
|
MAINTAINER= wen@NetBSD.org
|
|
HOMEPAGE= https://github.com/theskumar/python-dotenv
|
|
COMMENT= Add .env support to your django/flask apps
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-click>=5.0:../../devel/py-click
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-sh-[0-9]*:../../sysutils/py-sh
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} == 27
|
|
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
|
|
.endif
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYSETUPTESTTARGET= pytest
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} dotenv dotenv-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|