Port details |
- py-fudge Python module for using fake objects to test real ones
- 1.1.1 devel =2 1.1.1Version of this port present on the latest quarterly branch.
- Maintainer: yhchan@csie.nctu.edu.tw
- Port Added: 2010-03-09 08:35:32
- Last Update: 2023-06-27 19:34:34
- Commit Hash: 3d9a815
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- http://farmdev.com/projects/fudge/
- Description:
- Fudge is a Python module for using fake objects (mocks, stubs, etc) to test
real ones.
This module is designed for two specific situations:
* Replace an object
o Temporarily return a canned value for a method or allow a method
to be called without affect.
* Ensure an object is used correctly
o Declare expectations about what methods should be called and what
arguments should be sent.
Fudge was inspired by Mocha which is a simpler version of jMock. But unlike
Mocha, Fudge does not automatically hijack real objects; you explicitly patch
them in your test setup. And unlike jMock, Fudge is only as strict about
expectations as you want it to be. If you just want to expect a method call
without worrying about its arguments or the type of the arguments then you
can.
- ¦ ¦ ¦ ¦
- 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}fudge>0:devel/py-fudge@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-fudge/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-fudge
- pkg install py39-fudge
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 py39-fudge listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-fudge
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1639984704
SHA256 (fudge-1.1.1.tar.gz) = d9929d87bb38711112734d99a2c7ada5dc39ef67b758b1e55f4c779c3634efdc
SIZE (fudge-1.1.1.tar.gz) = 87604
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:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- audio/py-soundscrape
Configuration Options:
- No options to configure
- Options name:
- devel_py-fudge
- 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 |
1.1.1 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> |
1.1.1 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) |
1.1.1 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 ) |
1.1.1 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 ) |
1.1.1 07 Mar 2022 18:13:18 |
Po-Chuan Hsieh (sunpoet) |
devel/py-fudge: Fix build with setuptools 58.0.0+
With hat: python |
1.1.1 22 Dec 2021 06:22:18 |
Wen Heping (wen) |
devel/py-fudge: Update to 1.1.1
PR: 260560
Reported by: wen@
Approved by: maintainer |
1.1.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.1.0 29 Dec 2020 13:21:38 |
antoine |
Drop python 2.7 support from a few ports |
1.1.0 27 May 2020 13:43:31 |
danfe |
Sanitize COMMENT per Section 5.6 of the FreeBSD Porter's Handbook (part 2). |
1.1.0 23 May 2016 18:36:52 |
amdmi3 |
Convert tab after WWW: in pkg-descrs to single space as per PHB
Approved by: portmgr blanket |
1.1.0 19 May 2016 10:21:25 |
amdmi3 |
- Fix trailing whitespace in pkg-descrs, categories [a-f]*
Approved by: portmgr blanket |
1.1.0 28 Dec 2015 15:47:08 |
miwi |
- Update to 1.1.0
PR: 205638
Submitted by: maintainer |
1.0.3_1 20 Oct 2014 16:04:14 |
mva |
- Convert ports of devel/ to USES=python
Approved by: portmgr (implicit) |
1.0.3_1 19 Feb 2014 05:31:15 |
miwi |
- Stage Support
- Convert to autoplist
- Bump PORTREV |
1.0.3 20 Sep 2013 17:13:47 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
1.0.3 13 Jun 2011 19:27:25 |
jlaffaye |
Update to 1.0.3
PR: ports/157782
Submitted by: Jin-Sih Lin <linpct@gmail.com>
Approved by: "Yi-Huan Chan (Hubert)" <yhchan@csie.nctu.edu.tw> (maintainer),
bapt (mentor) |
0.9.6 20 Jan 2011 16:40:41 |
lwhsu |
- Update to 0.9.6
PR: ports/154155
Submitted by: lwhsu
Approved by: Yi-Huan Chan <yhchan AT csie.nctu.edu.tw> (maintainer via IRC)
Feature safe: yes |
0.9.4 09 Mar 2010 08:34:59 |
yzlin |
Add py-fudge 0.9.4, fudge is a Python module for using fake objects to
test real ones.
PR: ports/144544
Submitted by: Yi-Huan Chan <yhchan at csie.nctu.edu.tw>
Approved by: lwhsu/rafan (mentors, implicit)
Feature safe: yes |