aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2013-05-12 05:03:51 +0800
committerrakuco <rakuco@FreeBSD.org>2013-05-12 05:03:51 +0800
commit2371e5c622e77136ed3c76b6f57d2b4bb84ce01e (patch)
tree363bae73a1b970a8ed4dd66ee4cf3fdf5f5ac722 /lang
parent838450bb9ca54258038844573024349025642044 (diff)
downloadfreebsd-ports-graphics-2371e5c622e77136ed3c76b6f57d2b4bb84ce01e.tar.gz
freebsd-ports-graphics-2371e5c622e77136ed3c76b6f57d2b4bb84ce01e.tar.zst
freebsd-ports-graphics-2371e5c622e77136ed3c76b6f57d2b4bb84ce01e.zip
Update to 3.2.6.
PR: ports/178494 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r--lang/py-mx-base/Makefile29
-rw-r--r--lang/py-mx-base/distinfo4
-rw-r--r--lang/py-mx-base/pkg-plist115
3 files changed, 62 insertions, 86 deletions
diff --git a/lang/py-mx-base/Makefile b/lang/py-mx-base/Makefile
index 2028ea84fea..f72bb99c7e6 100644
--- a/lang/py-mx-base/Makefile
+++ b/lang/py-mx-base/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mx-base
-PORTVERSION= 3.2.5
+PORTVERSION= 3.2.6
CATEGORIES= lang python
MASTER_SITES= https://downloads.egenix.com/python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,9 +17,18 @@ USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= egenix-mx-base
PORTDOCS= COPYRIGHT MANIFEST README LICENSE PKG-INFO
+ADDITIONAL_DOCS= mx/DateTime/Doc/mxDateTime.pdf \
+ mx/Proxy/Doc/mxProxy.pdf \
+ mx/Queue/Doc/mxQueue.pdf \
+ mx/Stack/Doc/mxStack.pdf \
+ mx/TextTools/Doc/mxTextTools.pdf \
+ mx/Tools/Doc/mxTools.pdf \
+ mx/BeeBase/Doc/mxBeeBase.pdf \
+ mx/URL/Doc/mxURL.pdf \
+ mx/UID/Doc/mxUID.pdf
OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options
-OPTIONS_DEFINE= DOCS ZOPE
+OPTIONS_DEFINE= DOCS ZOPE EXAMPLES
ZOPE_DESC= Use ZOPE
.include <bsd.port.options.mk>
@@ -28,15 +37,29 @@ ZOPE_DESC= Use ZOPE
USE_ZOPE= yes
.endif
+post-patch:
+ @${REINPLACE_CMD} -e '/pdf/d' ${WRKSRC}/egenix_mx_base.py
+ @${REINPLACE_CMD} -e '/Examples/d' ${WRKSRC}/egenix_mx_base.py
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
+.for i in ${ADDITIONAL_DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
@${SED} -e "s;%%PYTHON_SITELIBDIR%%;${PYTHON_SITELIBDIR};g" \
< ${FILESDIR}/index.html.in > ${DOCSDIR}/index.html
@${CHMOD} 644 ${DOCSDIR}/index.html
.endif
-
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @${MKDIR} ${EXAMPLESDIR}/mx/DateTime
+ @${INSTALL_DATA} ${WRKSRC}/mx/DateTime/Examples/* ${EXAMPLESDIR}/mx/DateTime
+ @${MKDIR} ${EXAMPLESDIR}/mx/TextTools
+ @${INSTALL_DATA} ${WRKSRC}/mx/TextTools/Examples/* ${EXAMPLESDIR}/mx/TextTools
+ @${MKDIR} ${EXAMPLESDIR}/mx/Tools
+ @${INSTALL_DATA} ${WRKSRC}/mx/Tools/Examples/* ${EXAMPLESDIR}/mx/Tools
+.endif
.include <bsd.port.mk>
diff --git a/lang/py-mx-base/distinfo b/lang/py-mx-base/distinfo
index 3d00b0ad7e8..ed9cd67cea7 100644
--- a/lang/py-mx-base/distinfo
+++ b/lang/py-mx-base/distinfo
@@ -1,2 +1,2 @@
-SHA256 (egenix-mx-base-3.2.5.tar.gz) = bfd0d2aeef73532697c857db26ea11a3574280b1d439d42501c36b4c1d989dce
-SIZE (egenix-mx-base-3.2.5.tar.gz) = 4575752
+SHA256 (egenix-mx-base-3.2.6.tar.gz) = c8bc38421e0c6827dc8050f9423f941e5f9f3a7167d60f83b5f22da8165050d7
+SIZE (egenix-mx-base-3.2.6.tar.gz) = 4584879
diff --git a/lang/py-mx-base/pkg-plist b/lang/py-mx-base/pkg-plist
index 17044b7bd7f..84c1e07e059 100644
--- a/lang/py-mx-base/pkg-plist
+++ b/lang/py-mx-base/pkg-plist
@@ -14,7 +14,6 @@
%%PYTHON_SITELIBDIR%%/mx/BeeBase/Cache.py
%%PYTHON_SITELIBDIR%%/mx/BeeBase/Cache.pyc
%%PYTHON_SITELIBDIR%%/mx/BeeBase/Cache.pyo
-%%PYTHON_SITELIBDIR%%/mx/BeeBase/Doc/mxBeeBase.pdf
%%PYTHON_SITELIBDIR%%/mx/BeeBase/ExitFunctions.py
%%PYTHON_SITELIBDIR%%/mx/BeeBase/ExitFunctions.pyc
%%PYTHON_SITELIBDIR%%/mx/BeeBase/ExitFunctions.pyo
@@ -53,28 +52,13 @@
%%PYTHON_SITELIBDIR%%/mx/DateTime/DateTime.py
%%PYTHON_SITELIBDIR%%/mx/DateTime/DateTime.pyc
%%PYTHON_SITELIBDIR%%/mx/DateTime/DateTime.pyo
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Doc/mxDateTime.pdf
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/AtomicClock.py
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/AtomicClock.pyc
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/AtomicClock.pyo
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/CommandLine.py
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/CommandLine.pyc
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/CommandLine.pyo
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/Y2000.py
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/Y2000.pyc
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/Y2000.pyo
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/__init__.py
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/__init__.pyc
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/__init__.pyo
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/alarm.py
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/alarm.pyc
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/alarm.pyo
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/lifespan.py
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/lifespan.pyc
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/lifespan.pyo
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/numdate.py
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/numdate.pyc
-%%PYTHON_SITELIBDIR%%/mx/DateTime/Examples/numdate.pyo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/DateTime/AtomicClock.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/DateTime/CommandLine.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/DateTime/Y2000.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/DateTime/__init__.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/DateTime/alarm.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/DateTime/lifespan.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/DateTime/numdate.py
%%PYTHON_SITELIBDIR%%/mx/DateTime/Feasts.py
%%PYTHON_SITELIBDIR%%/mx/DateTime/Feasts.pyc
%%PYTHON_SITELIBDIR%%/mx/DateTime/Feasts.pyo
@@ -207,7 +191,6 @@
%%PYTHON_SITELIBDIR%%/mx/NewBuiltins.pyc
%%PYTHON_SITELIBDIR%%/mx/NewBuiltins.pyo
%%PYTHON_SITELIBDIR%%/mx/Proxy/COPYRIGHT
-%%PYTHON_SITELIBDIR%%/mx/Proxy/Doc/mxProxy.pdf
%%PYTHON_SITELIBDIR%%/mx/Proxy/LICENSE
%%PYTHON_SITELIBDIR%%/mx/Proxy/Proxy.py
%%PYTHON_SITELIBDIR%%/mx/Proxy/Proxy.pyc
@@ -232,7 +215,6 @@
%%PYTHON_SITELIBDIR%%/mx/Proxy/mxProxy/weakreftest.pyc
%%PYTHON_SITELIBDIR%%/mx/Proxy/mxProxy/weakreftest.pyo
%%PYTHON_SITELIBDIR%%/mx/Queue/COPYRIGHT
-%%PYTHON_SITELIBDIR%%/mx/Queue/Doc/mxQueue.pdf
%%PYTHON_SITELIBDIR%%/mx/Queue/LICENSE
%%PYTHON_SITELIBDIR%%/mx/Queue/README
%%PYTHON_SITELIBDIR%%/mx/Queue/UserQueue.py
@@ -254,7 +236,6 @@
%%PYTHON_SITELIBDIR%%/mx/Queue/queuebench.pyc
%%PYTHON_SITELIBDIR%%/mx/Queue/queuebench.pyo
%%PYTHON_SITELIBDIR%%/mx/Stack/COPYRIGHT
-%%PYTHON_SITELIBDIR%%/mx/Stack/Doc/mxStack.pdf
%%PYTHON_SITELIBDIR%%/mx/Stack/LICENSE
%%PYTHON_SITELIBDIR%%/mx/Stack/README
%%PYTHON_SITELIBDIR%%/mx/Stack/UserStack.py
@@ -285,40 +266,17 @@
%%PYTHON_SITELIBDIR%%/mx/TextTools/Constants/__init__.py
%%PYTHON_SITELIBDIR%%/mx/TextTools/Constants/__init__.pyc
%%PYTHON_SITELIBDIR%%/mx/TextTools/Constants/__init__.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Doc/mxTextTools.pdf
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/HTML.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/HTML.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/HTML.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Loop.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Loop.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Loop.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Python.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Python.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Python.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/RTF.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/RTF.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/RTF.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/RegExp.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/RegExp.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/RegExp.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Tim.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Tim.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Tim.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Words.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Words.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/Words.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/__init__.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/__init__.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/__init__.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/altRTF.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/altRTF.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/altRTF.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/mysplit.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/mysplit.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/mysplit.pyo
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/pytag.py
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/pytag.pyc
-%%PYTHON_SITELIBDIR%%/mx/TextTools/Examples/pytag.pyo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/HTML.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/Loop.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/Python.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/RTF.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/RegExp.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/Tim.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/Words.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/__init__.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/altRTF.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/mysplit.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/TextTools/pytag.py
%%PYTHON_SITELIBDIR%%/mx/TextTools/LICENSE
%%PYTHON_SITELIBDIR%%/mx/TextTools/README
%%PYTHON_SITELIBDIR%%/mx/TextTools/TextTools.py
@@ -350,13 +308,8 @@
%%PYTHON_SITELIBDIR%%/mx/TextTools/mxTextTools/testkj.pyc
%%PYTHON_SITELIBDIR%%/mx/TextTools/mxTextTools/testkj.pyo
%%PYTHON_SITELIBDIR%%/mx/Tools/COPYRIGHT
-%%PYTHON_SITELIBDIR%%/mx/Tools/Doc/mxTools.pdf
-%%PYTHON_SITELIBDIR%%/mx/Tools/Examples/Acquisition.py
-%%PYTHON_SITELIBDIR%%/mx/Tools/Examples/Acquisition.pyc
-%%PYTHON_SITELIBDIR%%/mx/Tools/Examples/Acquisition.pyo
-%%PYTHON_SITELIBDIR%%/mx/Tools/Examples/__init__.py
-%%PYTHON_SITELIBDIR%%/mx/Tools/Examples/__init__.pyc
-%%PYTHON_SITELIBDIR%%/mx/Tools/Examples/__init__.pyo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/Tools/Acquisition.py
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mx/Tools/__init__.py
%%PYTHON_SITELIBDIR%%/mx/Tools/LICENSE
%%PYTHON_SITELIBDIR%%/mx/Tools/NewBuiltins.py
%%PYTHON_SITELIBDIR%%/mx/Tools/NewBuiltins.pyc
@@ -390,7 +343,6 @@
%%PYTHON_SITELIBDIR%%/mx/Tools/mxTools/test_safecall.pyc
%%PYTHON_SITELIBDIR%%/mx/Tools/mxTools/test_safecall.pyo
%%PYTHON_SITELIBDIR%%/mx/UID/COPYRIGHT
-%%PYTHON_SITELIBDIR%%/mx/UID/Doc/mxUID.pdf
%%PYTHON_SITELIBDIR%%/mx/UID/LICENSE
%%PYTHON_SITELIBDIR%%/mx/UID/README
%%PYTHON_SITELIBDIR%%/mx/UID/UID.py
@@ -409,7 +361,6 @@
%%PYTHON_SITELIBDIR%%/mx/UID/mxUID/test.pyc
%%PYTHON_SITELIBDIR%%/mx/UID/mxUID/test.pyo
%%PYTHON_SITELIBDIR%%/mx/URL/COPYRIGHT
-%%PYTHON_SITELIBDIR%%/mx/URL/Doc/mxURL.pdf
%%PYTHON_SITELIBDIR%%/mx/URL/LICENSE
%%PYTHON_SITELIBDIR%%/mx/URL/LazyModule.py
%%PYTHON_SITELIBDIR%%/mx/URL/LazyModule.pyc
@@ -437,36 +388,38 @@
%%PYTHON_SITELIBDIR%%/mx/__init__.pyc
%%PYTHON_SITELIBDIR%%/mx/__init__.pyo
%%PORTDOCS%%%%DOCSDIR%%/index.html
-@dirrm %%PYTHON_SITELIBDIR%%/mx/BeeBase/Doc
+%%PORTDOCS%%%%DOCSDIR%%/mxDateTime.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mxProxy.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mxQueue.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mxStack.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mxTextTools.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mxTools.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mxBeeBase.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mxURL.pdf
+%%PORTDOCS%%%%DOCSDIR%%/mxUID.pdf
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/mx/DateTime
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/mx/TextTools
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/mx/Tools
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/mx
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/mx/BeeBase/mxBeeBase
@dirrm %%PYTHON_SITELIBDIR%%/mx/BeeBase
-@dirrm %%PYTHON_SITELIBDIR%%/mx/DateTime/Doc
-@dirrm %%PYTHON_SITELIBDIR%%/mx/DateTime/Examples
@dirrm %%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime
@dirrm %%PYTHON_SITELIBDIR%%/mx/DateTime
@dirrm %%PYTHON_SITELIBDIR%%/mx/Misc
-@dirrm %%PYTHON_SITELIBDIR%%/mx/Proxy/Doc
@dirrm %%PYTHON_SITELIBDIR%%/mx/Proxy/mxProxy
@dirrm %%PYTHON_SITELIBDIR%%/mx/Proxy
-@dirrm %%PYTHON_SITELIBDIR%%/mx/Queue/Doc
@dirrm %%PYTHON_SITELIBDIR%%/mx/Queue/mxQueue
@dirrm %%PYTHON_SITELIBDIR%%/mx/Queue
-@dirrm %%PYTHON_SITELIBDIR%%/mx/Stack/Doc
@dirrm %%PYTHON_SITELIBDIR%%/mx/Stack/mxStack
@dirrm %%PYTHON_SITELIBDIR%%/mx/Stack
@dirrm %%PYTHON_SITELIBDIR%%/mx/TextTools/Constants
-@dirrm %%PYTHON_SITELIBDIR%%/mx/TextTools/Doc
-@dirrm %%PYTHON_SITELIBDIR%%/mx/TextTools/Examples
@dirrm %%PYTHON_SITELIBDIR%%/mx/TextTools/mxTextTools
@dirrm %%PYTHON_SITELIBDIR%%/mx/TextTools
-@dirrm %%PYTHON_SITELIBDIR%%/mx/Tools/Doc
-@dirrm %%PYTHON_SITELIBDIR%%/mx/Tools/Examples
@dirrm %%PYTHON_SITELIBDIR%%/mx/Tools/mxTools
@dirrm %%PYTHON_SITELIBDIR%%/mx/Tools
-@dirrm %%PYTHON_SITELIBDIR%%/mx/UID/Doc
@dirrm %%PYTHON_SITELIBDIR%%/mx/UID/mxUID
@dirrm %%PYTHON_SITELIBDIR%%/mx/UID
-@dirrm %%PYTHON_SITELIBDIR%%/mx/URL/Doc
@dirrm %%PYTHON_SITELIBDIR%%/mx/URL/mxURL
@dirrm %%PYTHON_SITELIBDIR%%/mx/URL
@dirrm %%PYTHON_SITELIBDIR%%/mx