From 191fc4fff976fb0060b73eb04b0836ae7e04ce13 Mon Sep 17 00:00:00 2001 From: sthen Date: Fri, 13 Nov 2015 13:04:28 +0000 Subject: [PATCH] import ports/devel/py-python2-pythondialog, Python interface to the UNIX dialog utility, so you can create 80s-looking UIs in python2. ok jca landry --- devel/py-python2-pythondialog/Makefile | 21 +++++++++++++++++++++ devel/py-python2-pythondialog/distinfo | 2 ++ devel/py-python2-pythondialog/pkg/DESCR | 9 +++++++++ devel/py-python2-pythondialog/pkg/PLIST | 4 ++++ 4 files changed, 36 insertions(+) create mode 100644 devel/py-python2-pythondialog/Makefile create mode 100644 devel/py-python2-pythondialog/distinfo create mode 100644 devel/py-python2-pythondialog/pkg/DESCR create mode 100644 devel/py-python2-pythondialog/pkg/PLIST diff --git a/devel/py-python2-pythondialog/Makefile b/devel/py-python2-pythondialog/Makefile new file mode 100644 index 00000000000..43a569330e1 --- /dev/null +++ b/devel/py-python2-pythondialog/Makefile @@ -0,0 +1,21 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/11/13 13:04:28 sthen Exp $ + +COMMENT= Python interface to the UNIX dialog utility + +MODPY_EGG_VERSION = 3.3.0 +DISTNAME= python2-pythondialog-${MODPY_EGG_VERSION} +PKGNAME= py-${DISTNAME} + +CATEGORIES= devel + +# LGPLv2.1+ +PERMIT_PACKAGE_CDROM= Yes + +# pythondialog.sourceforge.net for python3 + +MODULES= lang/python +MODPY_PI= Yes +NO_TEST= Yes +RUN_DEPENDS= misc/dialog + +.include diff --git a/devel/py-python2-pythondialog/distinfo b/devel/py-python2-pythondialog/distinfo new file mode 100644 index 00000000000..17e56e4e638 --- /dev/null +++ b/devel/py-python2-pythondialog/distinfo @@ -0,0 +1,2 @@ +SHA256 (python2-pythondialog-3.3.0.tar.gz) = Pm9ZP+rZj4pSa8PjBpM1MyNuM3KfVS9SiW6lBPVTE/o= +SIZE (python2-pythondialog-3.3.0.tar.gz) = 1906527 diff --git a/devel/py-python2-pythondialog/pkg/DESCR b/devel/py-python2-pythondialog/pkg/DESCR new file mode 100644 index 00000000000..ca34a35a560 --- /dev/null +++ b/devel/py-python2-pythondialog/pkg/DESCR @@ -0,0 +1,9 @@ +pythondialog is a Python wrapper for the UNIX dialog utility originally +written by Savio Lam and later rewritten by Thomas E. Dickey. Its +purpose is to provide an easy to use, pythonic and as complete as +possible interface to dialog from Python code. + +This version is a backport of pythondialog to Python 2. Unless you +really have to use Python 2, you should go to the pythondialog home page +and download the reference implementation which, at the time of this +writing (May 2015) and for the forseeable future, is targeted at Python 3. diff --git a/devel/py-python2-pythondialog/pkg/PLIST b/devel/py-python2-pythondialog/pkg/PLIST new file mode 100644 index 00000000000..f1490844c9d --- /dev/null +++ b/devel/py-python2-pythondialog/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2015/11/13 13:04:28 sthen Exp $ +lib/python${MODPY_VERSION}/site-packages/dialog.py +lib/python${MODPY_VERSION}/site-packages/dialog.pyc +lib/python${MODPY_VERSION}/site-packages/python2_pythondialog-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info