aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2013-01-07 18:27:57 +0800
committerrm <rm@FreeBSD.org>2013-01-07 18:27:57 +0800
commit94dd8680ba33308d6f5d1b7a83d74e6f1bc91d8f (patch)
tree4c18b9caecc735e8c65420e6be8360bae739715d /lang
parent5193fa6242b2ac419695dddcff7711d72e9faa5b (diff)
downloadfreebsd-ports-gnome-94dd8680ba33308d6f5d1b7a83d74e6f1bc91d8f.tar.gz
freebsd-ports-gnome-94dd8680ba33308d6f5d1b7a83d74e6f1bc91d8f.tar.zst
freebsd-ports-gnome-94dd8680ba33308d6f5d1b7a83d74e6f1bc91d8f.zip
- update to 3.2.5
- trim Makefile header - convert to optionsng while here: - remove indefinite article - fix fetch - limit to python 2.x only (except/print) - whitespace fix in pkg-descr - fix pkg-plist PR: 175056 Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Diffstat (limited to 'lang')
-rw-r--r--lang/py-mx-base/Makefile28
-rw-r--r--lang/py-mx-base/distinfo4
-rw-r--r--lang/py-mx-base/pkg-descr2
-rw-r--r--lang/py-mx-base/pkg-plist4
4 files changed, 21 insertions, 17 deletions
diff --git a/lang/py-mx-base/Makefile b/lang/py-mx-base/Makefile
index 5da03e06d771..684b57317be5 100644
--- a/lang/py-mx-base/Makefile
+++ b/lang/py-mx-base/Makefile
@@ -1,32 +1,34 @@
-# New ports collection makefile for: py-mx-base
-# Date created: 18 March 2001
-# Whom: Thomas Gellekum <tg@FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= mx-base
-PORTVERSION= 3.2.4
+PORTVERSION= 3.2.5
CATEGORIES= lang python
-MASTER_SITES= http://downloads.egenix.com/python/
+MASTER_SITES= https://downloads.egenix.com/python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= egenix-${PORTNAME}-${PORTVERSION}
MAINTAINER= 5u623l20@gmail.com
-COMMENT= The eGenix mx-Extension Series for Python
+COMMENT= eGenix mx-Extension Series for Python
-USE_PYTHON= yes
+USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
-.if defined(WITH_ZOPE)
-USE_ZOPE= yes
-.endif
PYDISTUTILS_PKGNAME= egenix-mx-base
PORTDOCS= COPYRIGHT MANIFEST README LICENSE PKG-INFO
+OPTIONS_DEFINE= DOCS ZOPE
+ZOPE_DESC= Use ZOPE
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MZOPE}
+USE_ZOPE= yes
+.endif
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
diff --git a/lang/py-mx-base/distinfo b/lang/py-mx-base/distinfo
index 6690d97c46de..3d00b0ad7e81 100644
--- a/lang/py-mx-base/distinfo
+++ b/lang/py-mx-base/distinfo
@@ -1,2 +1,2 @@
-SHA256 (egenix-mx-base-3.2.4.tar.gz) = bfbb9519994c33e470d58b0c7b8167e25ce7a1bbf24f2533ea1e1cc235c570f0
-SIZE (egenix-mx-base-3.2.4.tar.gz) = 4574057
+SHA256 (egenix-mx-base-3.2.5.tar.gz) = bfd0d2aeef73532697c857db26ea11a3574280b1d439d42501c36b4c1d989dce
+SIZE (egenix-mx-base-3.2.5.tar.gz) = 4575752
diff --git a/lang/py-mx-base/pkg-descr b/lang/py-mx-base/pkg-descr
index 5fdd0929ef93..e6f984ea9b5b 100644
--- a/lang/py-mx-base/pkg-descr
+++ b/lang/py-mx-base/pkg-descr
@@ -3,7 +3,7 @@ eGenix.com mx Extensions for Python
The mx Extension Series(TM) is a collection of software packages which aims at
providing professional quality add-ons for the Open Source Language Python
(see http://www.python.org).
-
+
It consists of the following packages:
mxDateTime - Generic Date/Time Types
diff --git a/lang/py-mx-base/pkg-plist b/lang/py-mx-base/pkg-plist
index a9d5409e981e..17044b7bd7f8 100644
--- a/lang/py-mx-base/pkg-plist
+++ b/lang/py-mx-base/pkg-plist
@@ -134,6 +134,9 @@
%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testpydatetime.py
%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testpydatetime.pyc
%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testpydatetime.pyo
+%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testpytimedelta.py
+%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testpytimedelta.pyc
+%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testpytimedelta.pyo
%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testrichard.py
%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testrichard.pyc
%%PYTHON_SITELIBDIR%%/mx/DateTime/mxDateTime/testrichard.pyo
@@ -467,4 +470,3 @@
@dirrm %%PYTHON_SITELIBDIR%%/mx/URL/mxURL
@dirrm %%PYTHON_SITELIBDIR%%/mx/URL
@dirrm %%PYTHON_SITELIBDIR%%/mx
-%%PORTDOCS%%@dirrm %%DOCSDIR%%