diff options
author | sobomax <sobomax@FreeBSD.org> | 2004-11-12 23:54:31 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2004-11-12 23:54:31 +0800 |
commit | 38007be3e9990667959a80ccac72cf66bcfadd2d (patch) | |
tree | 531fda24ba6ef1656465017d4923bd3f2e2fc4b7 | |
parent | f5f90817728ad37e5d47dc4bc57ff7b727b8ead1 (diff) | |
download | freebsd-ports-gnome-38007be3e9990667959a80ccac72cf66bcfadd2d.tar.gz freebsd-ports-gnome-38007be3e9990667959a80ccac72cf66bcfadd2d.tar.zst freebsd-ports-gnome-38007be3e9990667959a80ccac72cf66bcfadd2d.zip |
Update to 2.7.
-rw-r--r-- | devel/py-dialog/Makefile | 20 | ||||
-rw-r--r-- | devel/py-dialog/distinfo | 4 | ||||
-rw-r--r-- | devel/py-dialog/files/patch-dialog.py | 14 | ||||
-rw-r--r-- | devel/py-dialog/pkg-plist | 3 |
4 files changed, 26 insertions, 15 deletions
diff --git a/devel/py-dialog/Makefile b/devel/py-dialog/Makefile index 8b349c9879ac..bce5bde85576 100644 --- a/devel/py-dialog/Makefile +++ b/devel/py-dialog/Makefile @@ -7,26 +7,20 @@ # PORTNAME= dialog -PORTVERSION= 1.0 +PORTVERSION= 2.7 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= pythondialog PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= dialog -EXTRACT_SUFX= .py +DISTNAME= pythondialog-${PORTVERSION} + +RUN_DEPENDS= cdialog:${PORTSDIR}/devel/cdialog MAINTAINER= ports@FreeBSD.org -COMMENT= Python Dialog +COMMENT= Python interface to dialog(3) -PLIST_FILES= %%PYTHON_SITELIBDIR%%/dialog.py +USE_BZIP2= yes USE_PYTHON= yes -EXTRACT_CMD= ${CP} -EXTRACT_BEFORE_ARGS= # empty -EXTRACT_AFTER_ARGS= ${WRKDIR} -NO_BUILD= yes -NO_WRKSUBDIR= yes - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/dialog.py ${PYTHON_SITELIBDIR} +USE_PYDISTUTILS= yes .include <bsd.port.mk> diff --git a/devel/py-dialog/distinfo b/devel/py-dialog/distinfo index 5f4070b737f7..fd943e738122 100644 --- a/devel/py-dialog/distinfo +++ b/devel/py-dialog/distinfo @@ -1,2 +1,2 @@ -MD5 (dialog.py) = 544159de3a3908918e5f7b63d9f9097f -SIZE (dialog.py) = 10825 +MD5 (pythondialog-2.7.tar.bz2) = 19e68b362fe61ef84b981d53d96f0735 +SIZE (pythondialog-2.7.tar.bz2) = 29088 diff --git a/devel/py-dialog/files/patch-dialog.py b/devel/py-dialog/files/patch-dialog.py new file mode 100644 index 000000000000..fd1dc62effe7 --- /dev/null +++ b/devel/py-dialog/files/patch-dialog.py @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- dialog.py ++++ dialog.py +@@ -524,7 +524,7 @@ + + """ + +- def __init__(self, dialog="dialog", DIALOGRC=None, compat="dialog", ++ def __init__(self, dialog="cdialog", DIALOGRC=None, compat="dialog", + use_stdout=None): + """Constructor for Dialog instances. + diff --git a/devel/py-dialog/pkg-plist b/devel/py-dialog/pkg-plist new file mode 100644 index 000000000000..93cafd8182c3 --- /dev/null +++ b/devel/py-dialog/pkg-plist @@ -0,0 +1,3 @@ +lib/%%PYTHON_VERSION%%/site-packages/dialog.py +lib/%%PYTHON_VERSION%%/site-packages/dialog.pyc +lib/%%PYTHON_VERSION%%/site-packages/dialog.pyo |