CVS commit: pkgsrc/devel/py-dotenv

"Adam Ciarcinski" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	adam
Date:		Thu Aug 20 05:28:22 UTC 2026

Modified Files:
	pkgsrc/devel/py-dotenv: Makefile distinfo

Log Message:
py-dotenv: updated to 1.2.3

1.2.3

Fixed

- Strip a leading UTF-8 BOM from `.env` file contents so the first variable is no longer silently lost when the file is saved with BOM (e.g. by some JetBrains IDEs on Windows)
- `set_key` now escapes backslashes, so values containing them (Windows paths, regular expressions) survive a write/read round-trip. Quoted values ending in an escaped backslash are no longer mis-parsed as an escaped quote, which used to swallow the following lines
- `dotenv run` now prints a friendly error instead of a traceback when no command is given
- Cache the parsed result for empty `.env` files so repeated `dotenv_values`/`load_dotenv` calls no longer re-read the file


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-dotenv/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-dotenv/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 1.9 KB)
Modified files:

Index: pkgsrc/devel/py-dotenv/Makefile
diff -u pkgsrc/devel/py-dotenv/Makefile:1.21 pkgsrc/devel/py-dotenv/Makefile:1.22
--- pkgsrc/devel/py-dotenv/Makefile:1.21	Mon Mar  9 16:56:18 2026
+++ pkgsrc/devel/py-dotenv/Makefile	Thu Aug 20 05:28:22 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2026/03/09 16:56:18 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2026/08/20 05:28:22 adam Exp $
 
-DISTNAME=	python_dotenv-1.2.2
+DISTNAME=	python_dotenv-1.2.3
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/^python_//}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/python-dotenv/}
@@ -18,12 +18,11 @@ TEST_DEPENDS+=	${PYPKGPREFIX}-test-cov-[
 
 USE_LANGUAGES=	# none
 
+PY_RENAME_BINARIES=	dotenv
+
 # as of 1.2.2
 # 1 failed, 215 passed, 1 skipped
 
-post-install:
-	cd ${DESTDIR}${PREFIX}/bin && ${MV} dotenv dotenv-${PYVERSSUFFIX} || ${TRUE}
-
 pre-test:
 	${LN} -fs ${DESTDIR}${PREFIX}/bin/dotenv-${PYVERSSUFFIX} ${BUILDLINK_DIR}/bin/dotenv
 

Index: pkgsrc/devel/py-dotenv/distinfo
diff -u pkgsrc/devel/py-dotenv/distinfo:1.16 pkgsrc/devel/py-dotenv/distinfo:1.17
--- pkgsrc/devel/py-dotenv/distinfo:1.16	Mon Mar  9 16:56:18 2026
+++ pkgsrc/devel/py-dotenv/distinfo	Thu Aug 20 05:28:22 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2026/03/09 16:56:18 wiz Exp $
+$NetBSD: distinfo,v 1.17 2026/08/20 05:28:22 adam Exp $
 
-BLAKE2s (python_dotenv-1.2.2.tar.gz) = e6f4d198c88145754d024e40fd4ae0b7f0c45b5c1a2fa87b6a47ee978e17c8c3
-SHA512 (python_dotenv-1.2.2.tar.gz) = 2bd70a739dd76d95c30d8272e80e2e168cd41ed1f367da73e044bbe40bd93f5ee3569ece3d050c130c06dfcc9865d7acdb24ca83243868b551e03289821cb2a1
-Size (python_dotenv-1.2.2.tar.gz) = 50135 bytes
+BLAKE2s (python_dotenv-1.2.3.tar.gz) = a328490b10e31011064d96ad7343f4b4ac148a523f28853e3181b361c539bcba
+SHA512 (python_dotenv-1.2.3.tar.gz) = a90a9471f3a1e28300ee86ca29f8e94dbb881144353cbe5a97a8378bf73fd86f26ecf472a1052a94b503af5d7ebaf70c159063a75ea19510d32c6c2861e62ec4
+Size (python_dotenv-1.2.3.tar.gz) = 58945 bytes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.