svn commit: r522384 - head/devel/py-cmd2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jan 8 14:49:07 UTC 2020
Author: sunpoet
Date: Wed Jan 8 14:49:06 2020
New Revision: 522384
URL: https://svnweb.freebsd.org/changeset/ports/522384
Log:
Update to 0.8.9
- Update COMMENT
- Add LICENSE
- Update pkg-descr
- Update WWW
- Take maintainership
Changes: https://github.com/python-cmd2/cmd2/releases
Modified:
head/devel/py-cmd2/Makefile
head/devel/py-cmd2/distinfo (contents, props changed)
head/devel/py-cmd2/pkg-descr (contents, props changed)
Modified: head/devel/py-cmd2/Makefile
==============================================================================
--- head/devel/py-cmd2/Makefile Wed Jan 8 14:49:01 2020 (r522383)
+++ head/devel/py-cmd2/Makefile Wed Jan 8 14:49:06 2020 (r522384)
@@ -2,15 +2,35 @@
# $FreeBSD$
PORTNAME= cmd2
-PORTVERSION= 0.6.9
+PORTVERSION= 0.8.9
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports at FreeBSD.org
-COMMENT= Extra features for standard library cmd module
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Build interactive command line applications in Python
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PY_ENUM34} \
+ ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyperclip>=0:devel/py-pyperclip@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist concurrent distutils
-.include <bsd.port.mk>
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}subprocess32>=0:devel/py-subprocess32@${PY_FLAVOR}
+.endif
+
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}contextlib2>=0:devel/py-contextlib2@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
Modified: head/devel/py-cmd2/distinfo
==============================================================================
--- head/devel/py-cmd2/distinfo Wed Jan 8 14:49:01 2020 (r522383)
+++ head/devel/py-cmd2/distinfo Wed Jan 8 14:49:06 2020 (r522384)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1475870222
-SHA256 (cmd2-0.6.9.tar.gz) = ef09745c91dbc13344db6d81f4dea4c844bf2fabf3baf91fab1bb54e4b3bb328
-SIZE (cmd2-0.6.9.tar.gz) = 367057
+TIMESTAMP = 1578401136
+SHA256 (cmd2-0.8.9.tar.gz) = 145cb677ebd0e3cae546ab81c30f6c25e0b08ba0f1071df854d53707ea792633
+SIZE (cmd2-0.8.9.tar.gz) = 112543
Modified: head/devel/py-cmd2/pkg-descr
==============================================================================
--- head/devel/py-cmd2/pkg-descr Wed Jan 8 14:49:01 2020 (r522383)
+++ head/devel/py-cmd2/pkg-descr Wed Jan 8 14:49:06 2020 (r522384)
@@ -1,3 +1,8 @@
-Extra features for standard library cmd module.
+cmd2 is a tool for building interactive command line applications in Python. Its
+goal is to make it quick and easy for developers to build feature-rich and
+user-friendly interactive command line applications. It provides a simple API
+which is an extension of Python's built-in cmd module. cmd2 provides a wealth of
+features on top of cmd to make your life easier and eliminates much of the
+boilerplate code which would be necessary when using cmd.
-WWW: https://pypi.org/project/cmd2/
+WWW: https://github.com/python-cmd2/cmd2
More information about the svn-ports-head
mailing list