Date: Tue, 3 Apr 2018 09:52:11 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466327 - in head/x11-toolkits/py-Pmw: . files Message-ID: <201804030952.w339qBKn095878@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Apr 3 09:52:11 2018 New Revision: 466327 URL: https://svnweb.freebsd.org/changeset/ports/466327 Log: Update to 2.0.1 - Change MASTER_SITES to CHEESESHOP - Sort *_DEPENDS - Use USES=dos2unix - Relax USES=python - Convert to options target helper - Do not silence installation messages - Clean up Makefile - Change WWW to PyPI PR: 226782 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 14 days) Modified: head/x11-toolkits/py-Pmw/Makefile head/x11-toolkits/py-Pmw/distinfo head/x11-toolkits/py-Pmw/files/patch-setup.py head/x11-toolkits/py-Pmw/pkg-descr head/x11-toolkits/py-Pmw/pkg-plist Modified: head/x11-toolkits/py-Pmw/Makefile ============================================================================== --- head/x11-toolkits/py-Pmw/Makefile Tue Apr 3 09:52:05 2018 (r466326) +++ head/x11-toolkits/py-Pmw/Makefile Tue Apr 3 09:52:11 2018 (r466327) @@ -2,35 +2,45 @@ # $FreeBSD$ PORTNAME= Pmw -PORTVERSION= 1.3.2 -PORTREVISION= 4 +PORTVERSION= 2.0.1 CATEGORIES= x11-toolkits python -MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME}/${PORTNAME}.${PORTVERSION} +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= fmysh@iijmio-mail.jp COMMENT= High-level compound graphics widgets for Python -OPTIONS_DEFINE= DOCS EXAMPLES -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${FLAVOR} LIB_DEPENDS= libBLT25.so:x11-toolkits/blt +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${FLAVOR} -USES= python:2.7 shebangfix -USE_PYTHON= distutils -SHEBANG_FILES= Pmw/Pmw_1_3/bin/bundlepmw.py +USES= dos2unix python shebangfix +USE_PYTHON= autoplist distutils +NO_ARCH= yes +SHEBANG_FILES= Pmw/Pmw_*/bin/bundlepmw.py -WRKSRC= ${WRKDIR}/${DISTNAME}/src -PMWVERSION= ${DISTNAME:R:S/./_/g} -PLIST_SUB= PMWVERSION="${PMWVERSION}" +PLIST_SUB= PMWVERSION=${PMWVERSION} +OPTIONS_DEFINE= DOCS EXAMPLES + +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3000 +PMWVERSION= Pmw_1_3_3 +.else +PMWVERSION= Pmw_2_0_1 +.endif + post-install: - @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} \ - ${STAGEDIR}${EXAMPLESDIR} - @(cd ${WRKSRC}/Pmw/${PMWVERSION}/bin; ${PAX} -rw . ${STAGEDIR}${DATADIR}) - @(cd ${WRKSRC}/Pmw/${PMWVERSION}/doc; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.for d in contrib demos - @(cd ${WRKSRC}/Pmw/${PMWVERSION}; ${COPYTREE_SHARE} $d ${STAGEDIR}${EXAMPLESDIR}) -.endfor + @${MKDIR} ${STAGEDIR}${DATADIR} + (cd ${WRKSRC}/Pmw/${PMWVERSION}/bin && ${PAX} -rw . ${STAGEDIR}${DATADIR}) -.include <bsd.port.mk> +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/Pmw/${PMWVERSION}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/Pmw/${PMWVERSION} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${EXAMPLESDIR}) + (cd ${WRKSRC}/Pmw/${PMWVERSION} && ${COPYTREE_SHARE} demos ${STAGEDIR}${EXAMPLESDIR}) + +.include <bsd.port.post.mk> Modified: head/x11-toolkits/py-Pmw/distinfo ============================================================================== --- head/x11-toolkits/py-Pmw/distinfo Tue Apr 3 09:52:05 2018 (r466326) +++ head/x11-toolkits/py-Pmw/distinfo Tue Apr 3 09:52:11 2018 (r466327) @@ -1,2 +1,3 @@ -SHA256 (Pmw.1.3.2.tar.gz) = 0c9ab8f9cbd57f926e22253d73048fdccfb7e033c3482b083a6fb41848074a18 -SIZE (Pmw.1.3.2.tar.gz) = 399262 +TIMESTAMP = 1520723870 +SHA256 (Pmw-2.0.1.tar.gz) = 0b9d28f52755a7a081b44591c3dd912054f896e56c9a627db4dd228306ad1120 +SIZE (Pmw-2.0.1.tar.gz) = 830448 Modified: head/x11-toolkits/py-Pmw/files/patch-setup.py ============================================================================== --- head/x11-toolkits/py-Pmw/files/patch-setup.py Tue Apr 3 09:52:05 2018 (r466326) +++ head/x11-toolkits/py-Pmw/files/patch-setup.py Tue Apr 3 09:52:11 2018 (r466327) @@ -1,14 +1,26 @@ ---- setup.py.orig 2007-09-24 17:30:50.000000000 +0900 -+++ setup.py 2008-03-05 20:02:42.000000000 +0900 -@@ -16,11 +16,6 @@ - 'Pmw.Pmw_1_3.lib',], - - package_data={'Pmw': ['Pmw_1_3/lib/Pmw.def', -- 'Pmw_1_3/doc/*', -- 'Pmw_1_3/contrib/*', -- 'Pmw_1_3/demos/*', -- 'Pmw_1_3/tests/*', -- 'Pmw_1_3/bin/*', - ] - }, - +--- setup.py.orig 2014-03-20 14:26:53 UTC ++++ setup.py +@@ -6,11 +6,6 @@ if sys.version_info[0]<3: + version='2.0.1' # really '1.3.3' + packages=['Pmw', 'Pmw.Pmw_1_3_3', 'Pmw.Pmw_1_3_3.lib',] + package_data={'Pmw': ['Pmw_1_3_3/lib/Pmw.def', +- 'Pmw_1_3_3/doc/*', +- 'Pmw_1_3_3/contrib/*', +- 'Pmw_1_3_3/demos/*', +- 'Pmw_1_3_3/tests/*', +- 'Pmw_1_3_3/bin/*', + ] + } + development_status = 'Beta' +@@ -18,11 +13,6 @@ else: + version='2.0.1' + packages=['Pmw', 'Pmw.Pmw_2_0_1', 'Pmw.Pmw_2_0_1.lib',] + package_data={'Pmw': ['Pmw_2_0_1/lib/Pmw.def', +- 'Pmw_2_0_1/doc/*', +- 'Pmw_2_0_1/contrib/*', +- 'Pmw_2_0_1/demos/*', +- 'Pmw_2_0_1/tests/*', +- 'Pmw_2_0_1/bin/*', + ], + } + development_status = 'Alpha' Modified: head/x11-toolkits/py-Pmw/pkg-descr ============================================================================== --- head/x11-toolkits/py-Pmw/pkg-descr Tue Apr 3 09:52:05 2018 (r466326) +++ head/x11-toolkits/py-Pmw/pkg-descr Tue Apr 3 09:52:11 2018 (r466327) @@ -20,4 +20,4 @@ making it more readable and maintainable and more easi The ability to extend Pmw megawidgets enables developers to create new megawidgets based on previous work. -WWW: http://pmw.sourceforge.net/ +WWW: https://pypi.python.org/pypi/Pmw Modified: head/x11-toolkits/py-Pmw/pkg-plist ============================================================================== --- head/x11-toolkits/py-Pmw/pkg-plist Tue Apr 3 09:52:05 2018 (r466326) +++ head/x11-toolkits/py-Pmw/pkg-plist Tue Apr 3 09:52:11 2018 (r466327) @@ -1,118 +1,3 @@ -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/__init__.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/__init__.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/__init__.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/Pmw.def -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwAboutDialog.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwAboutDialog.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwAboutDialog.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBalloon.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBalloon.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBalloon.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBase.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBase.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBase.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBlt.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBlt.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwBlt.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwButtonBox.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwButtonBox.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwButtonBox.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwColor.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwColor.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwColor.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwComboBox.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwComboBox.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwComboBox.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwComboBoxDialog.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwComboBoxDialog.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwComboBoxDialog.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwCounter.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwCounter.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwCounter.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwCounterDialog.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwCounterDialog.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwCounterDialog.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwDialog.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwDialog.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwDialog.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwEntryField.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwEntryField.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwEntryField.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwGroup.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwGroup.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwGroup.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwHistoryText.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwHistoryText.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwHistoryText.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLabeledWidget.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLabeledWidget.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLabeledWidget.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLoader.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLoader.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLoader.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLogicalFont.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLogicalFont.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwLogicalFont.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMainMenuBar.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMainMenuBar.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMainMenuBar.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMenuBar.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMenuBar.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMenuBar.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMessageBar.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMessageBar.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMessageBar.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMessageDialog.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMessageDialog.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwMessageDialog.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwNoteBook.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwNoteBook.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwNoteBook.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwOptionMenu.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwOptionMenu.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwOptionMenu.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwPanedWidget.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwPanedWidget.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwPanedWidget.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwPromptDialog.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwPromptDialog.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwPromptDialog.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwRadioSelect.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwRadioSelect.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwRadioSelect.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledCanvas.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledCanvas.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledCanvas.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledField.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledField.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledField.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledFrame.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledFrame.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledFrame.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledListBox.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledListBox.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledListBox.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledText.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledText.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwScrolledText.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwSelectionDialog.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwSelectionDialog.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwSelectionDialog.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTextDialog.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTextDialog.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTextDialog.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTimeCounter.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTimeCounter.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTimeCounter.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTimeFuncs.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTimeFuncs.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/PmwTimeFuncs.pyo -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/__init__.py -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/__init__.pyc -%%PYTHON_SITELIBDIR%%/Pmw/%%PMWVERSION%%/lib/__init__.pyo -%%PYTHON_SITELIBDIR%%/Pmw/__init__.py -%%PYTHON_SITELIBDIR%%/Pmw/__init__.pyc -%%PYTHON_SITELIBDIR%%/Pmw/__init__.pyo %%DATADIR%%/bundlepmw.py %%PORTDOCS%%%%DOCSDIR%%/AboutDialog.gif %%PORTDOCS%%%%DOCSDIR%%/AboutDialog.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804030952.w339qBKn095878>