Port details |
- py-requests-mock Mock out responses from the requests package
- 1.12.1 www
=2 1.12.1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2017-10-02 18:24:13
- Last Update: 2024-03-31 18:51:50
- Commit Hash: 6d51e45
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/jamielennox/requests-mock
- Description:
- requests-mock provides a building block to stub out the HTTP requests portions
of your testing 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}requests-mock>0:www/py-requests-mock@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/www/py-requests-mock/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-requests-mock
- pkg install py39-requests-mock
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-requests-mock listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-requests-mock
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1711860545
SHA256 (requests-mock-1.12.1.tar.gz) = e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401
SIZE (requests-mock-1.12.1.tar.gz) = 60901
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>=56 : devel/py-setuptools@py39
- py39-setuptools-scm>=0 : devel/py-setuptools-scm@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- py39-fixtures>=0 : devel/py-fixtures@py39
- py39-mock>=0 : devel/py-mock@py39
- py39-pytest>=0 : devel/py-pytest@py39
- py39-sphinx>=0,1 : textproc/py-sphinx@py39
- py39-testrepository>=0.0.18 : devel/py-testrepository@py39
- py39-testtools>=0 : devel/py-testtools@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-requests>=2.3<3 : www/py-requests@py39
- py39-six>=0 : devel/py-six@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- www_py-requests-mock
- 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.12.1 31 Mar 2024 18:51:50
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-mock: Update to 1.12.1
Changes: https://github.com/jamielennox/requests-mock/releases |
1.11.0 30 Jun 2023 07:06:27
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-mock: Update to 1.11.0
Changes: https://github.com/jamielennox/requests-mock/releases |
1.10.0 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.10.0 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.10.0 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.10.0 04 Sep 2022 03:47:20
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-mock: Update to 1.10.0
Changes: https://github.com/jamielennox/requests-mock/releases |
1.9.3 20 Jul 2022 14:23:26
    |
Tobias C. Berner (tcberner)  |
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org> (Only the first 15 lines of the commit message are shown above ) |
1.9.3 10 Jun 2021 14:46:17
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-mock: Update to 1.9.3
Changes: https://github.com/jamielennox/requests-mock/releases
https://github.com/jamielennox/requests-mock/commits/master |
1.9.2 07 May 2021 09:39:14
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-mock: Update to 1.9.2
Changes: https://github.com/jamielennox/requests-mock/releases
https://github.com/jamielennox/requests-mock/commits/master |
1.9.1 02 May 2021 19:46:17
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-mock: Update to 1.9.1
Changes: https://github.com/jamielennox/requests-mock/releases |
1.9.0 01 May 2021 22:19:24
    |
Po-Chuan Hsieh (sunpoet)  |
www/py-requests-mock: Update to 1.9.0
Changes: https://github.com/jamielennox/requests-mock/releases |
1.8.0 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.8.0 14 Jan 2021 14:34:38
  |
dbaio  |
Remove PY_SPHINX from ports using Python 3
Approved by: portmgr blanket
Differential Revision: https://reviews.freebsd.org/D28093 |
1.8.0 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
1.8.0 11 May 2020 23:51:58
  |
dbaio  |
Update Sphinx
- Repocopy textproc/py-sphinx to textproc/py-sphinx18
Update it to 1.8.5 (latest version from 1.8.X).
This version supports Python 2 and 3.
Add test target.
- textproc/py-sphinx: Update to 3.0.2
Python 3 only (3.5+).
Add test target.
- Mk/Uses/python.mk: Add PY_SPHINX
(Only the first 15 lines of the commit message are shown above ) |
1.8.0 04 May 2020 19:20:01
  |
sunpoet  |
Update to 1.8.0
Changes: https://github.com/jamielennox/requests-mock/releases |
1.7.0 02 Sep 2019 22:43:49
  |
sunpoet  |
Update to 1.7.0
Changes: https://github.com/jamielennox/requests-mock/releases |
1.6.0 29 Apr 2019 18:18:49
  |
sunpoet  |
Update to 1.6.0
Changes: https://github.com/jamielennox/requests-mock/releases |
1.5.2 29 Jul 2018 19:18:13
  |
sunpoet  |
Update to 1.5.2
- Add TEST_DEPENDS
Changes: https://github.com/jamielennox/requests-mock/commits/master |
1.5.0 20 Jun 2018 17:05:44
  |
mat  |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
1.5.0 11 May 2018 16:53:39
  |
sunpoet  |
Update to 1.5.0
- Add GitHub repository to WWW
Changes: https://github.com/jamielennox/requests-mock/commits/master |
1.4.0 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 |
1.4.0 07 Dec 2017 16:00:28
  |
sunpoet  |
Update to 1.4.0
- allow an adapter to be passed to a Mocker object
- Rename [wheel] section to [bdist\_wheel] as the former is legacy
- Include license file in the generated wheel package
- Add testing for newer Python versions 3.5 and 3.6
- Return a separate copy for each call to decorator
- Add string representation to \_RequestObjectProxy |
1.3.0 30 Nov 2017 15:50:34
  |
mat  |
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the (Only the first 15 lines of the commit message are shown above ) |
1.3.0 02 Oct 2017 18:24:00
  |
sunpoet  |
Add py-requests-mock 1.3.0
requests-mock provides a building block to stub out the HTTP requests portions
of your testing code.
WWW: https://pypi.python.org/pypi/requests-mock |