pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: adam
Date: Sat Mar 21 19:41:56 UTC 2020
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-dotenv: ALTERNATIVES DESCR Makefile PLIST distinfo
Removed Files:
pkgsrc/devel/py-python-dotenv: ALTERNATIVES DESCR Makefile PLIST
distinfo
Log Message:
py-dotenv: updated to 0.12.0
0.12.0:
Changed
- Use current working directory to find `.env` when bundled by PyInstaller
Fixed
- Fix escaping of quoted values written by `set_key`
- Fix `dotenv run` crashing on environment variables without values
- Remove warning when last line is empty
0.11.0:
Added
- Add `interpolate` argument to `load_dotenv` and `dotenv_values` to disable interpolation
Changed
- Use logging instead of warnings
Fixed
- Fix installation in non-UTF-8 environments
- Fix PyPI classifiers
0.10.5:
Fixed
- Fix handling of malformed lines and lines without a value
- Don't print warning when key has no value.
- Reject more malformed lines (e.g. "A: B", "a='b',c").
- Fix handling of lines with just a comment
0.10.4:
Added
- Make typing optional
- Print a warning on malformed line
- Support keys without a value
0.10.3
- Improve interactive mode detection
- Refactor parser to fix parsing inconsistencies
- Interpret escapes as control characters only in double-quoted strings.
- Interpret `#` as start of comment only if preceded by whitespace.
0.10.2
- Add type hints and expose them to users
- `load_dotenv` and `dotenv_values` now accept an `encoding` parameter, defaults to `None`
- Fix `str`/`unicode` inconsistency in Python 2: values are always `str` now.
- Fix Unicode error in Python 2, introduced in 0.10.0.
0.10.1
- Fix parsing of variable without a value
0.10.0
- Add support for UTF-8 in unquoted values
- Add support for trailing comments
- Add backslashes support in values
- Add support for newlines in values
- Force environment variables to str with Python2 on Windows
- Drop Python 3.3 support
- Fix stderr/-out/-in redirection
0.9.0
- Add `--version` parameter to cli
- Enable loading from current directory
- Add 'dotenv run' command for calling arbitrary shell script with .env
To generate a diff of this commit:
cvs rdiff -u -r1.3064 -r1.3065 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-dotenv/ALTERNATIVES \
pkgsrc/devel/py-dotenv/DESCR pkgsrc/devel/py-dotenv/Makefile \
pkgsrc/devel/py-dotenv/PLIST pkgsrc/devel/py-dotenv/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/py-python-dotenv/ALTERNATIVES \
pkgsrc/devel/py-python-dotenv/DESCR \
pkgsrc/devel/py-python-dotenv/Makefile \
pkgsrc/devel/py-python-dotenv/PLIST \
pkgsrc/devel/py-python-dotenv/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3064 pkgsrc/devel/Makefile:1.3065
--- pkgsrc/devel/Makefile:1.3064 Sat Mar 21 15:26:41 2020
+++ pkgsrc/devel/Makefile Sat Mar 21 19:41:55 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3064 2020/03/21 15:26:41 taca Exp $
+# $NetBSD: Makefile,v 1.3065 2020/03/21 19:41:55 adam Exp $
#
COMMENT= Development utilities
@@ -2176,6 +2176,7 @@ SUBDIR+= py-docopt
SUBDIR+= py-docstyle
SUBDIR+= py-doctor
SUBDIR+= py-dogpile-cache
+SUBDIR+= py-dotenv
SUBDIR+= py-dulwich
SUBDIR+= py-editorconfig-core
SUBDIR+= py-entrypoints
@@ -2427,7 +2428,6 @@ SUBDIR+= py-pysha3
SUBDIR+= py-pysvn
SUBDIR+= py-pyte
SUBDIR+= py-pytemplate
-SUBDIR+= py-python-dotenv
SUBDIR+= py-python-slugify
SUBDIR+= py-pyutil
SUBDIR+= py-pyvex
Added files:
Index: pkgsrc/devel/py-dotenv/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-dotenv/ALTERNATIVES:1.1
--- /dev/null Sat Mar 21 19:41:56 2020
+++ pkgsrc/devel/py-dotenv/ALTERNATIVES Sat Mar 21 19:41:56 2020
@@ -0,0 +1 @@
+bin/dotenv @PREFIX@/bin/dotenv-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-dotenv/DESCR
diff -u /dev/null pkgsrc/devel/py-dotenv/DESCR:1.1
--- /dev/null Sat Mar 21 19:41:56 2020
+++ pkgsrc/devel/py-dotenv/DESCR Sat Mar 21 19:41:56 2020
@@ -0,0 +1,3 @@
+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.
Index: pkgsrc/devel/py-dotenv/Makefile
diff -u /dev/null pkgsrc/devel/py-dotenv/Makefile:1.1
--- /dev/null Sat Mar 21 19:41:56 2020
+++ pkgsrc/devel/py-dotenv/Makefile Sat Mar 21 19:41:56 2020
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2020/03/21 19:41:56 adam Exp $
+
+DISTNAME= python-dotenv-0.12.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dotenv/}
+
+MAINTAINER= wen%NetBSD.org@localhost
+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-[0-9]*:../../devel/py-test
+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"
Index: pkgsrc/devel/py-dotenv/PLIST
diff -u /dev/null pkgsrc/devel/py-dotenv/PLIST:1.1
--- /dev/null Sat Mar 21 19:41:56 2020
+++ pkgsrc/devel/py-dotenv/PLIST Sat Mar 21 19:41:56 2020
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/21 19:41:56 adam Exp $
+bin/dotenv-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/dotenv/__init__.py
+${PYSITELIB}/dotenv/__init__.pyc
+${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
+${PYSITELIB}/dotenv/main.py
+${PYSITELIB}/dotenv/main.pyc
+${PYSITELIB}/dotenv/main.pyo
+${PYSITELIB}/dotenv/parser.py
+${PYSITELIB}/dotenv/parser.pyc
+${PYSITELIB}/dotenv/parser.pyo
+${PYSITELIB}/dotenv/py.typed
+${PYSITELIB}/dotenv/version.py
+${PYSITELIB}/dotenv/version.pyc
+${PYSITELIB}/dotenv/version.pyo
Index: pkgsrc/devel/py-dotenv/distinfo
diff -u /dev/null pkgsrc/devel/py-dotenv/distinfo:1.1
--- /dev/null Sat Mar 21 19:41:56 2020
+++ pkgsrc/devel/py-dotenv/distinfo Sat Mar 21 19:41:56 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/21 19:41:56 adam Exp $
+
+SHA1 (python-dotenv-0.12.0.tar.gz) = 21f4cf56b416e64866877eacb61f85f513229b83
+RMD160 (python-dotenv-0.12.0.tar.gz) = 825dc8d22b7ebea16f73051f9235309d7ded1bde
+SHA512 (python-dotenv-0.12.0.tar.gz) = 9e70ae4f91f3562627f1c54d2e1c8306e6c537cb8807aceff4e97fc11ce7cc5ac759c3bf610c5993e73ab2e5853106b41f460d852e45593dc093b979346eebf9
+Size (python-dotenv-0.12.0.tar.gz) = 28460 bytes
Home |
Main Index |
Thread Index |
Old Index