Add python3 pudb flavor, and rename pkg to allow concurrent installs.

Discussed with rpointel@, who convinced me that the standard py(3)-
prefix was preferable to the black magic needed to handle conflicts when
keeping "pudb" as the PKGNAME.
This commit is contained in:
jca 2015-09-21 19:48:52 +00:00
parent 882639ce5e
commit 9d8e69da80
2 changed files with 29 additions and 19 deletions

View File

@ -1,9 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/07/18 00:31:07 jca Exp $
# $OpenBSD: Makefile,v 1.2 2015/09/21 19:48:52 jca Exp $
COMMENT = console-based visual debugger for Python
MODPY_EGG_VERSION = 2015.3
REVISION = 0
DISTNAME = pudb-${MODPY_EGG_VERSION}
PKGNAME = py-pudb-${MODPY_EGG_VERSION}
CATEGORIES = devel
@ -16,9 +18,16 @@ MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = devel/py-urwid>=1.1.1 \
textproc/py-pygments
RUN_DEPENDS = devel/py-urwid${MODPY_FLAVOR}>=1.1.1 \
textproc/py-pygments${MODPY_FLAVOR}
TEST_DEPENDS = ${RUN_DEPENDS}
FLAVORS = python3
FLAVOR ?=
PUDB_MODPY_BIN_SUFFIX = ${MODPY_BIN_SUFFIX:S/-//}
SUBST_VARS += PUDB_MODPY_BIN_SUFFIX
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/07/18 00:31:07 jca Exp $
bin/pudb
@comment $OpenBSD: PLIST,v 1.2 2015/09/21 19:48:52 jca Exp $
bin/pudb${PUDB_MODPY_BIN_SUFFIX}
lib/python${MODPY_VERSION}/site-packages/pudb/
lib/python${MODPY_VERSION}/site-packages/pudb-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/pudb-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@ -9,30 +9,31 @@ lib/python${MODPY_VERSION}/site-packages/pudb-${MODPY_EGG_VERSION}-py${MODPY_VER
lib/python${MODPY_VERSION}/site-packages/pudb-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/pudb-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/pudb/__init__.py
lib/python${MODPY_VERSION}/site-packages/pudb/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/__main__.py
lib/python${MODPY_VERSION}/site-packages/pudb/__main__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}b.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}debugger.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}ipython.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}lowlevel.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}py3compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}run.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}settings.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}shell.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}source_view.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}theme.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}ui_tools.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/${MODPY_PYCACHE}var_view.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/pudb/b.py
lib/python${MODPY_VERSION}/site-packages/pudb/b.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/debugger.py
lib/python${MODPY_VERSION}/site-packages/pudb/debugger.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/ipython.py
lib/python${MODPY_VERSION}/site-packages/pudb/ipython.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/lowlevel.py
lib/python${MODPY_VERSION}/site-packages/pudb/lowlevel.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/py3compat.py
lib/python${MODPY_VERSION}/site-packages/pudb/py3compat.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/run.py
lib/python${MODPY_VERSION}/site-packages/pudb/run.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/settings.py
lib/python${MODPY_VERSION}/site-packages/pudb/settings.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/shell.py
lib/python${MODPY_VERSION}/site-packages/pudb/shell.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/source_view.py
lib/python${MODPY_VERSION}/site-packages/pudb/source_view.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/theme.py
lib/python${MODPY_VERSION}/site-packages/pudb/theme.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/ui_tools.py
lib/python${MODPY_VERSION}/site-packages/pudb/ui_tools.pyc
lib/python${MODPY_VERSION}/site-packages/pudb/var_view.py
lib/python${MODPY_VERSION}/site-packages/pudb/var_view.pyc