python3 flavor for py-html2text

ok ajacoutot@ sthen@ danj@
This commit is contained in:
jca 2016-04-27 21:06:31 +00:00
parent dc2004bbbb
commit 998fcf4755
2 changed files with 13 additions and 8 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.9 2016/04/27 20:21:19 jca Exp $
# $OpenBSD: Makefile,v 1.10 2016/04/27 21:06:31 jca Exp $
COMMENT = HTML to markdown-formatted text converter
MODPY_EGG_VERSION = 2016.4.2
REVISION = 0
DISTNAME = html2text-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
@ -18,7 +19,10 @@ MODULES = lang/python
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
post-install:
mv ${PREFIX}/bin/{,py-}html2text
mv ${PREFIX}/bin/{,${MODPY_PY_PREFIX}}html2text
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2014/12/09 22:46:23 rpe Exp $
@comment $OpenBSD: PLIST,v 1.4 2016/04/27 21:06:31 jca Exp $
bin/${MODPY_PY_PREFIX}html2text
lib/python${MODPY_VERSION}/site-packages/html2text/
lib/python${MODPY_VERSION}/site-packages/html2text-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
@ -9,12 +9,13 @@ lib/python${MODPY_VERSION}/site-packages/html2text-${MODPY_EGG_VERSION}-py${MODP
lib/python${MODPY_VERSION}/site-packages/html2text-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
lib/python${MODPY_VERSION}/site-packages/html2text-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/html2text/__init__.py
lib/python${MODPY_VERSION}/site-packages/html2text/__init__.pyc
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/html2text/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/html2text/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/html2text/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/html2text/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/html2text/${MODPY_PYCACHE}config.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/html2text/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/html2text/cli.py
lib/python${MODPY_VERSION}/site-packages/html2text/cli.pyc
lib/python${MODPY_VERSION}/site-packages/html2text/compat.py
lib/python${MODPY_VERSION}/site-packages/html2text/compat.pyc
lib/python${MODPY_VERSION}/site-packages/html2text/config.py
lib/python${MODPY_VERSION}/site-packages/html2text/config.pyc
lib/python${MODPY_VERSION}/site-packages/html2text/utils.py
lib/python${MODPY_VERSION}/site-packages/html2text/utils.pyc