py-dotenv: updated to 0.19.2
0.19.2 Fixed - In `set_key`, add missing newline character before new entry if necessary. 0.19.1 Added - Add support for Python 3.10. 0.19.0 Changed - Require Python 3.5 or a later version. Python 2 and 3.4 are no longer supported. by [@bbc2]). Added - The `dotenv_path` argument of `set_key` and `unset_key` now has a type of `Union[str, os.PathLike]` instead of just `os.PathLike` - The `stream` argument of `load_dotenv` and `dotenv_values` can now be a text stream (`IO[str]`), which includes values like `io.StringIO("foo")` and `open("file.env", "r")` 0.18.0 Changed - Raise `ValueError` if `quote_mode` isn't one of `always`, `auto` or `never` in `set_key` - When writing a value to a .env file with `set_key` or `dotenv set <key> <value>` - Use single quotes instead of double quotes. - Don't strip surrounding quotes. - In `auto` mode, don't add quotes if the value is only made of alphanumeric characters (as determined by `string.isalnum`). 0.17.1 Fixed - Fixed tests for build environments relying on `PYTHONPATH` [0.17.0 Changed - Make `dotenv get <key>` only show the value, not `key=value` Added - Add `--override`/`--no-override` option to `dotenv run` 0.16.0 Changed - The default value of the `encoding` parameter for `load_dotenv` and `dotenv_values` is now `"utf-8"` instead of `None` - Fix resolution order in variable expansion with `override=False`
This commit is contained in:
parent
5a09f745bf
commit
9c1ef06bf4
3 changed files with 12 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.5 2020/11/09 12:16:14 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2021/11/25 08:13:28 adam Exp $
|
||||
|
||||
DISTNAME= python-dotenv-0.15.0
|
||||
DISTNAME= python-dotenv-0.19.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dotenv/}
|
||||
|
@ -15,15 +15,12 @@ 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
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
post-install:
|
||||
cd ${DESTDIR}${PREFIX}/bin && ${MV} dotenv dotenv-${PYVERSSUFFIX} || ${TRUE}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2020/03/21 19:41:56 adam Exp $
|
||||
@comment $NetBSD: PLIST,v 1.2 2021/11/25 08:13:28 adam Exp $
|
||||
bin/dotenv-${PYVERSSUFFIX}
|
||||
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
|
||||
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
|
||||
|
@ -12,9 +12,6 @@ ${PYSITELIB}/dotenv/__init__.pyo
|
|||
${PYSITELIB}/dotenv/cli.py
|
||||
${PYSITELIB}/dotenv/cli.pyc
|
||||
${PYSITELIB}/dotenv/cli.pyo
|
||||
${PYSITELIB}/dotenv/compat.py
|
||||
${PYSITELIB}/dotenv/compat.pyc
|
||||
${PYSITELIB}/dotenv/compat.pyo
|
||||
${PYSITELIB}/dotenv/ipython.py
|
||||
${PYSITELIB}/dotenv/ipython.pyc
|
||||
${PYSITELIB}/dotenv/ipython.pyo
|
||||
|
@ -25,6 +22,9 @@ ${PYSITELIB}/dotenv/parser.py
|
|||
${PYSITELIB}/dotenv/parser.pyc
|
||||
${PYSITELIB}/dotenv/parser.pyo
|
||||
${PYSITELIB}/dotenv/py.typed
|
||||
${PYSITELIB}/dotenv/variables.py
|
||||
${PYSITELIB}/dotenv/variables.pyc
|
||||
${PYSITELIB}/dotenv/variables.pyo
|
||||
${PYSITELIB}/dotenv/version.py
|
||||
${PYSITELIB}/dotenv/version.pyc
|
||||
${PYSITELIB}/dotenv/version.pyo
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.6 2021/10/26 10:18:24 nia Exp $
|
||||
$NetBSD: distinfo,v 1.7 2021/11/25 08:13:28 adam Exp $
|
||||
|
||||
BLAKE2s (python-dotenv-0.15.0.tar.gz) = 8b6e52317b168003af2a3030dc0219e8b24026c895f2aaaf81fc956fb1536c35
|
||||
SHA512 (python-dotenv-0.15.0.tar.gz) = f1f16d2688041259027b12920ac5f47c2d1d96cfc3ec8a362a05ddfb13fee2cf4926c20ad38eda521fcafb6eef8d7895d86dedadef1b1ea2ecd7e33734b07cbe
|
||||
Size (python-dotenv-0.15.0.tar.gz) = 30008 bytes
|
||||
BLAKE2s (python-dotenv-0.19.2.tar.gz) = 173a7038dd5ce04b83ec5f5fe293a2e02b608d566d812ca60f00e158ac883082
|
||||
SHA512 (python-dotenv-0.19.2.tar.gz) = da411fa02326ec7407bbb6760dd4e5f22eaca60d725ade3ac89302ec4e33d00fe8c231e8a64d0bc22698a93701143085c098b6703e598c6d8c2e4c57b9bafa20
|
||||
Size (python-dotenv-0.19.2.tar.gz) = 31508 bytes
|
||||
|
|
Loading…
Reference in a new issue