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: Tue Feb 4 17:17:07 UTC 2020
Modified Files:
pkgsrc/devel/py-dialog: Makefile PLIST distinfo
pkgsrc/devel/py-dialog2: Makefile PLIST distinfo
Log Message:
py-dialog{2}: updated to 3.5.1
Main changes in version 3.5.1
The main changes in version 3.5.1 are:
The default used when the PATH environment variable is unset is now "/bin:/usr/bin" instead of ":/bin:/usr/bin". This is relevant when the dialog argument of the Dialog constructor contains no slash
(/), which is the case by default. The benefit of this change is that in such a situation (PATH unset and dialog argument containing no slash), the dialog-like program will not be searched in the
current directory anymore (unless of course the current directory is /bin or /usr/bin). This is a much safer behavior; fortunately, the risky behavior only ever existed on bogus setups where the PATH
environment variable is unset.
Note that in this respect, we have been following what the GNU C Library (glibc) does for its execvp() function—the corresponding change in glibc happened in version 2.24, released in 2016.
When a Dialog instance is created, it now immediately stores the result of calling os.path.realpath() on the specified executable (which is searched using the PATH if the dialog argument passed to
the constructor contains no slash—cf. documentation of the Dialog constructor). This way, a pythondialog-based program can change its current directory after creating a Dialog instance without
fearing that this might cause subsequent Dialog method calls to fail or to invoke an executable from a different directory (additionally, os.path.realpath() resolves symbolic links).
The Python 2 backport of pythondialog has been released for this version and should be on par with pythondialog 3.5.1 (this is why version 3.5.0 of the backport has been skipped). The packaging of
the backport has been switched from distutils to setuptools too, just as was done in pythondialog 3.5.0 (see below). As a consequence, it is now available in wheel format. However, as said above,
Python 2 is deprecated and the Python 2 backport of pythondialog is not supported anymore. Don't expect any further updates to it.
Main changes in version 3.5.0
The main change in version 3.5.0 is:
pythondialog's packaging has been switched from distutils to setuptools (this is the modern way, see the Python Packaging User Guide). Thanks to this change, pythondialog is now available in wheel
format. The normal installation method using pip didn't change (see the INSTALL file for details).
The Python 2 backport of pythondialog has not been released for this version (version 3.5.1 will be the last one).
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-dialog/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-dialog/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-dialog/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-dialog2/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-dialog2/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-dialog2/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/py-dialog/Makefile
diff -u pkgsrc/devel/py-dialog/Makefile:1.5 pkgsrc/devel/py-dialog/Makefile:1.6
--- pkgsrc/devel/py-dialog/Makefile:1.5 Sat Jan 18 23:30:37 2020
+++ pkgsrc/devel/py-dialog/Makefile Tue Feb 4 17:17:06 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2020/01/18 23:30:37 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/02/04 17:17:06 adam Exp $
-VERSION= 3.4.0
-DISTNAME= pythondialog-${VERSION}
-PKGNAME= ${PYPKGPREFIX}-dialog-${VERSION}
+DISTNAME= pythondialog-3.5.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pythondialog/}
@@ -11,8 +10,10 @@ HOMEPAGE= https://pythondialog.sourcefor
COMMENT= Python wrapper for the dialog utility
LICENSE= gnu-lgpl-v2.1
+USE_LANGUAGES= # none
+
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../misc/dialog/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-dialog/PLIST
diff -u pkgsrc/devel/py-dialog/PLIST:1.1 pkgsrc/devel/py-dialog/PLIST:1.2
--- pkgsrc/devel/py-dialog/PLIST:1.1 Sun Jan 11 20:14:58 2015
+++ pkgsrc/devel/py-dialog/PLIST Tue Feb 4 17:17:06 2020
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2015/01/11 20:14:58 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/02/04 17:17:06 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/dialog.py
${PYSITELIB}/dialog.pyc
${PYSITELIB}/dialog.pyo
-${PYSITELIB}/dialog.py
-${PYSITELIB}/${EGG_FILE}
Index: pkgsrc/devel/py-dialog/distinfo
diff -u pkgsrc/devel/py-dialog/distinfo:1.4 pkgsrc/devel/py-dialog/distinfo:1.5
--- pkgsrc/devel/py-dialog/distinfo:1.4 Sun Nov 13 10:52:28 2016
+++ pkgsrc/devel/py-dialog/distinfo Tue Feb 4 17:17:06 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2016/11/13 10:52:28 mef Exp $
+$NetBSD: distinfo,v 1.5 2020/02/04 17:17:06 adam Exp $
-SHA1 (pythondialog-3.4.0.tar.gz) = 239e9a6eb0792c0cc0e7362dd7391f99dc940a80
-RMD160 (pythondialog-3.4.0.tar.gz) = a215e8a548551f2fd5794554001ca2fa67f5e842
-SHA512 (pythondialog-3.4.0.tar.gz) = 040c07f693b523a59a4e79eb3aacda63b6aad4dcfdb7d54e0727087b844d95d83505154ddbe5ddabebf7bcd520be97e4964abbccf79a10a86346abe44aeb09ae
-Size (pythondialog-3.4.0.tar.gz) = 1480640 bytes
+SHA1 (pythondialog-3.5.1.tar.gz) = f7ade8eeb56931037182fdbe6f63e58262cd327c
+RMD160 (pythondialog-3.5.1.tar.gz) = c4c98fcfe636c67007416f2cb7f81a4e5ba9b9a6
+SHA512 (pythondialog-3.5.1.tar.gz) = 20171e6af9aa397365b1666601a7b0bd630f9ac70ad785f330db06cff4d99abff949caddbf377dccf874aa8150fe9508e9aa149b98d7727d8d15ca1a81b96445
+Size (pythondialog-3.5.1.tar.gz) = 1485873 bytes
Index: pkgsrc/devel/py-dialog2/Makefile
diff -u pkgsrc/devel/py-dialog2/Makefile:1.11 pkgsrc/devel/py-dialog2/Makefile:1.12
--- pkgsrc/devel/py-dialog2/Makefile:1.11 Sat Jan 18 23:30:37 2020
+++ pkgsrc/devel/py-dialog2/Makefile Tue Feb 4 17:17:06 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2020/01/18 23:30:37 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2020/02/04 17:17:06 adam Exp $
-VERSION= 3.4.0
-DISTNAME= python2-pythondialog-${VERSION}
-PKGNAME= ${PYPKGPREFIX}-dialog-${VERSION}
+DISTNAME= python2-pythondialog-3.5.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python2-python//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python2-pythondialog/}
@@ -11,8 +10,10 @@ HOMEPAGE= https://pythondialog.sourcefor
COMMENT= Python wrapper for the dialog utility
LICENSE= gnu-lgpl-v2.1
+USE_LANGUAGES= # none
+
PYTHON_VERSIONS_ACCEPTED= 27
.include "../../misc/dialog/buildlink3.mk"
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-dialog2/PLIST
diff -u pkgsrc/devel/py-dialog2/PLIST:1.2 pkgsrc/devel/py-dialog2/PLIST:1.3
--- pkgsrc/devel/py-dialog2/PLIST:1.2 Tue Jan 13 12:17:20 2015
+++ pkgsrc/devel/py-dialog2/PLIST Tue Feb 4 17:17:06 2020
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2015/01/13 12:17:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/02/04 17:17:06 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/dialog.py
${PYSITELIB}/dialog.pyc
${PYSITELIB}/dialog.pyo
-${PYSITELIB}/${EGG_FILE}
Index: pkgsrc/devel/py-dialog2/distinfo
diff -u pkgsrc/devel/py-dialog2/distinfo:1.4 pkgsrc/devel/py-dialog2/distinfo:1.5
--- pkgsrc/devel/py-dialog2/distinfo:1.4 Fri Nov 11 10:11:07 2016
+++ pkgsrc/devel/py-dialog2/distinfo Tue Feb 4 17:17:06 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2016/11/11 10:11:07 fhajny Exp $
+$NetBSD: distinfo,v 1.5 2020/02/04 17:17:06 adam Exp $
-SHA1 (python2-pythondialog-3.4.0.tar.gz) = e5eb5671adb4ae9d7d32a42b6bb277568b905d63
-RMD160 (python2-pythondialog-3.4.0.tar.gz) = ca419d468d8d86f89c660573dddf7bd2e71fa844
-SHA512 (python2-pythondialog-3.4.0.tar.gz) = f4ec3e3eeab9ee00146b4604a8f72c765fcc164a24def0f1a9cbf083123e55dbe371ce6d4790ad4c0b5ee6905a1877f9b8e90ca3443a780fa0965c9bcf4bf629
-Size (python2-pythondialog-3.4.0.tar.gz) = 1487867 bytes
+SHA1 (python2-pythondialog-3.5.1.tar.gz) = bd2006638c579e015ae5ff23ec44463691187ae3
+RMD160 (python2-pythondialog-3.5.1.tar.gz) = ad6858359b27a6b65a14a40416dd909377210a7c
+SHA512 (python2-pythondialog-3.5.1.tar.gz) = 42d7ac58e44ee4c0a10f36f21f025f6d155b23d3a278b9fce46e49811f405af2dbf21a869230e80907713296a6d31109a97945d8992a3e870ba4e0a6eb514865
+Size (python2-pythondialog-3.5.1.tar.gz) = 1918879 bytes
Home |
Main Index |
Thread Index |
Old Index