Port details |
- py-flexmock Testing library to create mocks, stubs and fakes
- 0.12.2 devel
=2 0.12.1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2011-11-04 15:57:57
- Last Update: 2025-01-02 02:44:16
- Commit Hash: 4158c48
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD2CLAUSE
- WWW:
- https://github.com/flexmock/flexmock
- Description:
- 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.
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'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.
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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}flexmock>0:devel/py-flexmock@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-flexmock/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-flexmock
- pkg install py311-flexmock
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-flexmock listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-flexmock
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1735705157
SHA256 (flexmock-0.12.2.tar.gz) = 435c661c3b35477575eb9150428a1cfd7c62cb992aa7887567c3357aebc9aca1
SIZE (flexmock-0.12.2.tar.gz) = 53195
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-poetry-core>=1.0.0 : devel/py-poetry-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-flexmock
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.12.2 02 Jan 2025 02:44:16
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Update to 0.12.2
Changes: https://github.com/flexmock/flexmock/releases |
0.12.1 31 Mar 2024 18:51:20
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Update to 0.12.1
Changes: https://github.com/flexmock/flexmock/releases |
0.12.0 31 Mar 2024 03:06:26
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Update to 0.12.0
Changes: https://github.com/flexmock/flexmock/releases |
0.11.3_1 30 Jun 2023 07:03:32
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
0.11.3 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.11.3 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.11.3 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.11.3 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.11.3 25 Mar 2022 13:36:55
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Update to 0.11.3
Changes: https://github.com/flexmock/flexmock/releases |
0.11.2 28 Feb 2022 12:46:12
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Update to 0.11.2
Changes: https://github.com/flexmock/flexmock/releases |
0.10.10 21 Sep 2021 22:23:30
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Update to 0.10.10
Changes: https://github.com/flexmock/flexmock/blob/master/CHANGELOG.rst |
0.10.9 21 Sep 2021 03:44:25
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Update to 0.10.9
Changes: https://github.com/flexmock/flexmock/blob/master/CHANGELOG.rst |
0.10.5 21 Jul 2021 21:13:00
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-flexmock: Update to 0.10.5
- Update WWW
Changes: https://github.com/flexmock/flexmock/blob/master/CHANGELOG |
0.10.4 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.10.4 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
0.10.4 26 Mar 2019 17:43:01
  |
sunpoet  |
Update to 0.10.4
Changes: https://github.com/bkabrda/flexmock/blob/master/CHANGELOG |
0.10.3 11 Jan 2019 20:17:18
  |
sunpoet  |
Update to 0.10.3
Changes: https://github.com/bkabrda/flexmock/blob/master/CHANGELOG |
0.10.2 25 Apr 2018 16:42:38
  |
amdmi3  |
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat |
0.10.2 26 Jan 2018 18:11:55
  |
sunpoet  |
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 |
0.10.2 22 Jan 2016 03:50:13
  |
vanilla  |
Upgrade to 0.10.2. |
0.10.1 18 Dec 2015 16:14:38
  |
mi  |
Upgrade from 0.10.0 to 0.10.1. According to changelog, this fixes a decoding
problem that appears, when the setup.py is used with Python3
Notified by: portscout |
0.10.0 11 Dec 2015 06:23:13
  |
vanilla  |
Upgrade to 0.10.0. |
0.9.7_1 02 Dec 2014 22:40:57
  |
bapt  |
Reset maintainership:
- Lots of maintainers timeout
- unresponsive for almost a year
PR: 195059 |
0.9.7_1 20 Oct 2014 16:04:14
  |
mva  |
- Convert ports of devel/ to USES=python
Approved by: portmgr (implicit) |
0.9.7_1 19 Feb 2014 08:07:35
  |
miwi  |
- Stage support
- Convert to autoplist
- Bump PORTREVISION |
0.9.7 13 Jan 2014 21:00:04
  |
rene  |
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by: python (mva, rm)
Approved by: portmgr-lurkers (mat) |
0.9.7 20 Sep 2013 17:13:47
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
0.9.7 21 Jun 2013 03:34:37
  |
clsung  |
- Update to 0.9.7 |
0.9.6 26 Jun 2012 07:14:07
 |
clsung  |
- Update to 0.9.6 |
0.9.1 15 Dec 2011 08:28:00
 |
clsung  |
- Update to 0.9.1 |
0.9.0 06 Nov 2011 03:47:29
 |
clsung  |
- Update to 0.9.0 |
0.8.1 04 Nov 2011 15:57:36
 |
clsung  |
Flexmock is a mock/stub/spy library for Python.
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.
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: http://has207.github.com/flexmock/ |