svn commit: r460024 - head/devel/py-flexmock
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jan 26 18:11:57 UTC 2018
Author: sunpoet
Date: Fri Jan 26 18:11:55 2018
New Revision: 460024
URL: https://svnweb.freebsd.org/changeset/ports/460024
Log:
Add LICENSE
- Update COMMENT
- Add NO_ARCH
- Allow concurrent installation (USE_PYTHON=concurrent)
- Update pkg-descr
- Update WWW
- Add GitHub repository to WWW
- Take maintainership
Modified:
head/devel/py-flexmock/Makefile
head/devel/py-flexmock/pkg-descr
Modified: head/devel/py-flexmock/Makefile
==============================================================================
--- head/devel/py-flexmock/Makefile Fri Jan 26 18:11:50 2018 (r460023)
+++ head/devel/py-flexmock/Makefile Fri Jan 26 18:11:55 2018 (r460024)
@@ -7,10 +7,14 @@ CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports at FreeBSD.org
-COMMENT= Flexmock is a mock/stub/spy library for Python
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Testing library to create mocks, stubs and fakes
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NO_ARCH= yes
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>
Modified: head/devel/py-flexmock/pkg-descr
==============================================================================
--- head/devel/py-flexmock/pkg-descr Fri Jan 26 18:11:50 2018 (r460023)
+++ head/devel/py-flexmock/pkg-descr Fri Jan 26 18:11:55 2018 (r460024)
@@ -1,18 +1,22 @@
-Flexmock is a mock/stub/spy library for Python.
+flexmock is a testing library for Python that makes it easy to create mocks,
+stubs and fakes.
-Its API is inspired by a Ruby library of the same name.
-However, it is not a goal of Python Flexmock to be a clone of
-the Ruby version. Instead, the focus is on providing full support
-for testing Python programs and making the creation of fake
-objects as unobtrusive as possible.
+Its API is inspired by a Ruby library of the same name. However, it is not a
+goal of Python flexmock to be a clone of the Ruby version. Instead, the focus is
+on providing full support for testing Python programs and making the creation of
+fake objects as unobtrusive as possible.
-As a result, Python Flexmock removes a number of redandancies in
-the Ruby Flexmock API, alters some defaults, and introduces a
-number of Python-only features.
+As a result, Python flexmock removes a number of redundancies in the Ruby
+flexmock API, alters some defaults, and introduces a number of Python-only
+features.
-Flexmock declarations are structured to read more like English
-sentences than API calls, and it is possible to chain them
-together in any order to achieve high degree of expressiveness
-in a single line of code.
+flexmock's design focuses on simplicity and intuitivenes. This means that the
+API is as lean as possible, though a few convenient short-hand methods are
+provided to aid brevity and readability.
-WWW: http://has207.github.com/flexmock/
+flexmock declarations are structured to read more like English sentences than
+API calls, and it is possible to chain them together in any order to achieve
+high degree of expressiveness in a single line of code.
+
+WWW: https://pypi.python.org/pypi/flexmock
+WWW: https://github.com/bkabrda/flexmock
More information about the svn-ports-all
mailing list