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`diff -r1.5 -r1.6 pkgsrc/devel/py-dotenv/Makefile
(adam)
@@ -1,31 +1,28 @@ | @@ -1,31 +1,28 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2020/11/09 12:16:14 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2021/11/25 08:13:28 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= python-dotenv-0.15.0 | 3 | DISTNAME= python-dotenv-0.19.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//} | |
5 | CATEGORIES= devel python | 5 | CATEGORIES= devel python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dotenv/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dotenv/} | |
7 | 7 | |||
8 | MAINTAINER= wen@NetBSD.org | 8 | MAINTAINER= wen@NetBSD.org | |
9 | HOMEPAGE= https://github.com/theskumar/python-dotenv | 9 | HOMEPAGE= https://github.com/theskumar/python-dotenv | |
10 | COMMENT= Add .env support to your django/flask apps | 10 | COMMENT= Add .env support to your django/flask apps | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-click>=5.0:../../devel/py-click | 13 | DEPENDS+= ${PYPKGPREFIX}-click>=5.0:../../devel/py-click | |
14 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | 14 | TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-sh-[0-9]*:../../sysutils/py-sh | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-sh-[0-9]*:../../sysutils/py-sh | |
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |
17 | 17 | |||
18 | .include "../../lang/python/pyversion.mk" | |||
19 | .if ${_PYTHON_VERSION} == 27 | |||
20 | DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing | |||
21 | .endif | |||
22 | ||||
23 | USE_LANGUAGES= # none | 18 | USE_LANGUAGES= # none | |
24 | 19 | |||
25 | PYSETUPTESTTARGET= pytest | 20 | PYSETUPTESTTARGET= pytest | |
26 | 21 | |||
22 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |||
23 | ||||
27 | post-install: | 24 | post-install: | |
28 | cd ${DESTDIR}${PREFIX}/bin && ${MV} dotenv dotenv-${PYVERSSUFFIX} || ${TRUE} | 25 | cd ${DESTDIR}${PREFIX}/bin && ${MV} dotenv dotenv-${PYVERSSUFFIX} || ${TRUE} | |
29 | 26 | |||
30 | .include "../../lang/python/egg.mk" | 27 | .include "../../lang/python/egg.mk" | |
31 | .include "../../mk/bsd.pkg.mk" | 28 | .include "../../mk/bsd.pkg.mk" |
@@ -1,30 +1,30 @@ | @@ -1,30 +1,30 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1 2020/03/21 19:41:56 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2021/11/25 08:13:28 adam Exp $ | |
2 | bin/dotenv-${PYVERSSUFFIX} | 2 | bin/dotenv-${PYVERSSUFFIX} | |
3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 3 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | |
4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 4 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | |
5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 5 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | |
6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | 6 | ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt | |
7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 7 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | |
8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 8 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | |
9 | ${PYSITELIB}/dotenv/__init__.py | 9 | ${PYSITELIB}/dotenv/__init__.py | |
10 | ${PYSITELIB}/dotenv/__init__.pyc | 10 | ${PYSITELIB}/dotenv/__init__.pyc | |
11 | ${PYSITELIB}/dotenv/__init__.pyo | 11 | ${PYSITELIB}/dotenv/__init__.pyo | |
12 | ${PYSITELIB}/dotenv/cli.py | 12 | ${PYSITELIB}/dotenv/cli.py | |
13 | ${PYSITELIB}/dotenv/cli.pyc | 13 | ${PYSITELIB}/dotenv/cli.pyc | |
14 | ${PYSITELIB}/dotenv/cli.pyo | 14 | ${PYSITELIB}/dotenv/cli.pyo | |
15 | ${PYSITELIB}/dotenv/compat.py | |||
16 | ${PYSITELIB}/dotenv/compat.pyc | |||
17 | ${PYSITELIB}/dotenv/compat.pyo | |||
18 | ${PYSITELIB}/dotenv/ipython.py | 15 | ${PYSITELIB}/dotenv/ipython.py | |
19 | ${PYSITELIB}/dotenv/ipython.pyc | 16 | ${PYSITELIB}/dotenv/ipython.pyc | |
20 | ${PYSITELIB}/dotenv/ipython.pyo | 17 | ${PYSITELIB}/dotenv/ipython.pyo | |
21 | ${PYSITELIB}/dotenv/main.py | 18 | ${PYSITELIB}/dotenv/main.py | |
22 | ${PYSITELIB}/dotenv/main.pyc | 19 | ${PYSITELIB}/dotenv/main.pyc | |
23 | ${PYSITELIB}/dotenv/main.pyo | 20 | ${PYSITELIB}/dotenv/main.pyo | |
24 | ${PYSITELIB}/dotenv/parser.py | 21 | ${PYSITELIB}/dotenv/parser.py | |
25 | ${PYSITELIB}/dotenv/parser.pyc | 22 | ${PYSITELIB}/dotenv/parser.pyc | |
26 | ${PYSITELIB}/dotenv/parser.pyo | 23 | ${PYSITELIB}/dotenv/parser.pyo | |
27 | ${PYSITELIB}/dotenv/py.typed | 24 | ${PYSITELIB}/dotenv/py.typed | |
25 | ${PYSITELIB}/dotenv/variables.py | |||
26 | ${PYSITELIB}/dotenv/variables.pyc | |||
27 | ${PYSITELIB}/dotenv/variables.pyo | |||
28 | ${PYSITELIB}/dotenv/version.py | 28 | ${PYSITELIB}/dotenv/version.py | |
29 | ${PYSITELIB}/dotenv/version.pyc | 29 | ${PYSITELIB}/dotenv/version.pyc | |
30 | ${PYSITELIB}/dotenv/version.pyo | 30 | ${PYSITELIB}/dotenv/version.pyo |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2021/10/26 10:18:24 nia Exp $ | 1 | $NetBSD: distinfo,v 1.7 2021/11/25 08:13:28 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (python-dotenv-0.15.0.tar.gz) = 8b6e52317b168003af2a3030dc0219e8b24026c895f2aaaf81fc956fb1536c35 | 3 | BLAKE2s (python-dotenv-0.19.2.tar.gz) = 173a7038dd5ce04b83ec5f5fe293a2e02b608d566d812ca60f00e158ac883082 | |
4 | SHA512 (python-dotenv-0.15.0.tar.gz) = f1f16d2688041259027b12920ac5f47c2d1d96cfc3ec8a362a05ddfb13fee2cf4926c20ad38eda521fcafb6eef8d7895d86dedadef1b1ea2ecd7e33734b07cbe | 4 | SHA512 (python-dotenv-0.19.2.tar.gz) = da411fa02326ec7407bbb6760dd4e5f22eaca60d725ade3ac89302ec4e33d00fe8c231e8a64d0bc22698a93701143085c098b6703e598c6d8c2e4c57b9bafa20 | |
5 | Size (python-dotenv-0.15.0.tar.gz) = 30008 bytes | 5 | Size (python-dotenv-0.19.2.tar.gz) = 31508 bytes |