notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Hardware failure

The website is running on the old server. The new server stopped working at about 0200 UTC on 2020-08-22. The database was restored from 2020-08-21 00:59:15+00 UTC. We think we have covered all commits. Nothing should be missing. Any changes you made to your accounts after the restore date will be lost. Sorry about that.
Port details
py-mock Rolling backport of unittest.mock for all Pythons
3.0.5 devel on this many watch lists=7 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. 3.0.5Version of this port present on the latest quarterly branch.
Maintainer: koobs@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2010-07-09 20:53:29
Last Update: 2019-11-19 00:37:29
SVN Revision: 517932

People watching this port, also watch: pcre, libidn, py37-parsedatetime, py37-pycparser, glib

Also Listed In: python
License: BSD2CLAUSE
Description:
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
To install the port: cd /usr/ports/devel/py-mock/ && make install clean
To add the package: pkg install py36-mock
PKGNAME: py36-mock
Package flavors (<flavor>: <package>)
  • py36: py36-mock
  • py27: py27-mock
distinfo:
Packages: (move your mouse over the cells for more information)
py27-mock
ABIlatestquarterly
FreeBSD:11:aarch642.0.03.0.5
FreeBSD:11:amd643.0.53.0.5
FreeBSD:11:armv61.3.0_13.0.5
FreeBSD:11:i3863.0.53.0.5
FreeBSD:11:mips1.3.0_13.0.5
FreeBSD:11:mips641.3.0_13.0.5
FreeBSD:12:aarch642.0.03.0.5
FreeBSD:12:amd643.0.53.0.5
FreeBSD:12:armv62.0.03.0.5
FreeBSD:12:armv72.0.03.0.5
FreeBSD:12:i3863.0.53.0.5
FreeBSD:12:mips2.0.03.0.5
FreeBSD:12:mips642.0.03.0.5
FreeBSD:12:powerpc64-3.0.5
FreeBSD:13:aarch643.0.5-
FreeBSD:13:amd643.0.5-
FreeBSD:13:armv63.0.5-
FreeBSD:13:armv73.0.5-
FreeBSD:13:i3863.0.5-
FreeBSD:13:mips3.0.5-
FreeBSD:13:mips64--
FreeBSD:13:powerpc643.0.5-
 
py36-mock
ABIlatestquarterly
FreeBSD:11:aarch642.0.0-
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch642.0.0-
FreeBSD:12:amd64--
FreeBSD:12:armv62.0.0-
FreeBSD:12:armv72.0.0-
FreeBSD:12:i386--
FreeBSD:12:mips2.0.0-
FreeBSD:12:mips642.0.0-
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
 
py37-mock
ABIlatestquarterly
FreeBSD:11:aarch64-3.0.5
FreeBSD:11:amd643.0.53.0.5
FreeBSD:11:armv6-3.0.5
FreeBSD:11:i3863.0.53.0.5
FreeBSD:11:mips-3.0.5
FreeBSD:11:mips64-3.0.5
FreeBSD:12:aarch64-3.0.5
FreeBSD:12:amd643.0.53.0.5
FreeBSD:12:armv6-3.0.5
FreeBSD:12:armv7-3.0.5
FreeBSD:12:i3863.0.53.0.5
FreeBSD:12:mips-3.0.5
FreeBSD:12:mips64-3.0.5
FreeBSD:12:powerpc64-3.0.5
FreeBSD:13:aarch643.0.5-
FreeBSD:13:amd643.0.5-
FreeBSD:13:armv63.0.5-
FreeBSD:13:armv73.0.5-
FreeBSD:13:i3863.0.5-
FreeBSD:13:mips3.0.5-
FreeBSD:13:mips64--
FreeBSD:13:powerpc643.0.5-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py36-setuptools>0 : devel/py-setuptools@py36
  2. python3.6 : lang/python36
Runtime dependencies:
  1. py36-six>=0 : devel/py-six@py36
  2. py36-setuptools>0 : devel/py-setuptools@py36
  3. python3.6 : lang/python36
This port is required by:
for Build
  1. devel/py-buildbot-www
  2. devel/py-oslotest
  3. dns/py-ns1-python
  4. graphics/qgis
  5. graphics/qgis-ltr
  6. security/py-certbot

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. devel/buildbot-www*
  2. security/py-keystone*
  3. Collapse this list of deleted ports.
for Run
  1. audio/py-gmusicapi
  2. databases/py-peewee_migrate
  3. devel/py-moto
  4. devel/py-oslotest
  5. devel/py-pytest-shutil
  6. devel/py-sure
  7. devel/py-tables
Expand this list (40 items / 33 hidden)
  1. Collapse this list.
  2. devel/py-vsts-cd-manager
  3. finance/odoo
  4. graphics/qgis
  5. graphics/qgis-ltr
  6. science/py-MDAnalysis
  7. science/py-MDAnalysisTests
  8. security/py-acme
  9. security/py-certbot
  10. security/py-certbot-apache
  11. security/py-certbot-dns-cloudflare
  12. security/py-certbot-dns-cloudxns
  13. security/py-certbot-dns-digitalocean
  14. security/py-certbot-dns-dnsimple
  15. security/py-certbot-dns-dnsmadeeasy
  16. security/py-certbot-dns-gehirn
  17. security/py-certbot-dns-google
  18. security/py-certbot-dns-linode
  19. security/py-certbot-dns-luadns
  20. security/py-certbot-dns-nsone
  21. security/py-certbot-dns-ovh
  22. security/py-certbot-dns-rfc2136
  23. security/py-certbot-dns-route53
  24. security/py-certbot-dns-sakuracloud
  25. security/py-certbot-nginx
  26. sysutils/duplicity
  27. sysutils/py-azure-cli
  28. textproc/py-mkdocs
  29. www/py-instabot
  30. Collapse this list.

Deleted ports which required this port:

Expand this list of 5 deleted ports
  1. security/py-letsencrypt*
  2. sysutils/duplicity-devel*
  3. sysutils/py-azure-cli-batchai*
  4. www/py-kallithea*
  5. www/py-rhodecode*
  6. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options

USES:

Master Sites:
Expand this list (1 items)
    Collapse this list.
  1. https://codeload.github.com/testing-cabal/mock/tar.gz/3.0.5?dummy=/
  2. Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 24

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
19 Nov 2019 00:37:29
Original commit files touched by this commit  3.0.5
Revision:517932
koobs search for other commits by this committer
devel/py-mock: Take MAINTAINER'ship, level up ports compliance

  * Use upstream (setup.cfg) summary as COMMENT
  * Fix dependencies (six is not a build time dependency)
  * Use GitHub (tests not packaged in PyPI sdist)
  * Standardize pytest invocation (show skip reasons, one line per test)
  * Use upstream (setup.cfg) description as pkg-descr
  * Use upstream (setup.cfg) home-page as pkg-descr WWW URL

PR:		241780
Approved by:	portmgr (unmaintained port. blanket(s): ports compliance,
bugfix(es))
MFH:		No (3.x might be API incompatible for consumers, unclear)
14 Nov 2019 23:22:13
Original commit files touched by this commit  3.0.5
Revision:517624
woodsb02 search for other commits by this committer
devel/py-mock: Return to pool, after 3 consecutive maintainer timeouts

PR:		241780
Approved by:	portmgr blanket
14 Nov 2019 17:11:58
Original commit files touched by this commit  3.0.5
Revision:517602
ngie search for other commits by this committer
Upgrade devel/py-mock from 2.0.0 to 3.0.5 and fix "make test" target

Version 3.0.5 includes multiple bugfixes and such for the backport library
that will aid in writing tests where the environment doesn't contain
`unittest.mock`.

In order to ensure that the code actually works, I needed to run the tests.
This required working around https://github.com/testing-cabal/mock/issues/469
by pulling the sources from the GitHub project that correspond with the
release tag, as the source tarball tagged for the release doesn't contain the
tests (prior to this change it would run 0 tests with `make test`, because
there weren't any).

Remove an unnecessary build dependency while here: pbr is no longer needed to
build the package.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Jun 2018 17:05:44
Original commit files touched by this commit  2.0.0
Revision:472884
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
25 Apr 2018 16:42:38
Original commit files touched by this commit  2.0.0
Revision:468282
amdmi3 search for other commits by this committer
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
30 Nov 2017 15:50:34
Original commit files touched by this commit  2.0.0
Revision:455210  Sanity Test Failure
mat search for other commits by this committer
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 View all of this commit message)
10 Jun 2017 02:52:09
Original commit files touched by this commit  2.0.0
Revision:443064
woodsb02 search for other commits by this committer
[NEW] devel/py3-mock: Add Python 3.x version of this port

PR:		219833
19 Apr 2017 14:39:00
Original commit files touched by this commit  2.0.0
Revision:438850
sunpoet search for other commits by this committer
Update to 2.0.0

- Add LICENSE_FILE
- Add NO_ARCH
- Sort USE_PYTHON
- Allow concurrent installation (USE_PYTHON=concurrent)

Changes:	https://github.com/testing-cabal/mock/commits/master
PR:		218361
Submitted by:	sunpoet (myself)
Approved by:	maintainer (timeout, 15 days)
16 Mar 2017 19:23:49
Original commit files touched by this commit  1.3.0_1
Revision:436290
antoine search for other commits by this committer
Rename python setuptools ports to better match other python ports

Reviewed by:	mat, sunpoet
With hat:	portmgr
Differential Revision:	https://reviews.freebsd.org/D9983
01 Apr 2016 14:00:57
Original commit files touched by this commit  1.3.0_1
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
25 Dec 2015 16:34:57
Original commit files touched by this commit  1.3.0_1
Revision:404435
miwi search for other commits by this committer
- Fix a typo
25 Dec 2015 16:32:13
Original commit files touched by this commit  1.3.0_1
Revision:404434  Sanity Test Failure
miwi search for other commits by this committer
- Add missing dependency
- Switch to do-test
- Bump PORTREVISION

Reviewed by:	antoine, koobs
Differential Revision:	D4707
24 Dec 2015 14:06:01
Original commit files touched by this commit  1.3.0
Revision:404364
miwi search for other commits by this committer
- Update to 1.3.0

PR:		205054
Submitted by:	yuri@rawbw.com
Approved by:	maintainer timeout
20 Oct 2014 16:04:14
Original commit files touched by this commit  1.0.1_1
Revision:371280
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
09 Feb 2014 10:57:26
Original commit files touched by this commit  1.0.1_1
Revision:343456
koobs search for other commits by this committer
devel/py-mock: Bump PORTREVISION

- Bump PORTREVISION since switching from easy_install to install distutils
  target changes package contents

Reported by:	mat (thanks!)
09 Feb 2014 10:52:41
Original commit files touched by this commit  1.0.1
Revision:343455
koobs search for other commits by this committer
devel/py-mock: Modernise: AUTOPLIST, STAGE, LICENSE & more

- Enable STAGE support
- Enable AUTOPLIST support, delete pkg-plist
- Update LICENSE (BSD2CLAUSE)
- Use OPTIONS helpers
- Deprecate easy_install, delete setup.py patch
- Deprecate OPTIONSFILE override
- Remove py3k-fix-pkg-plist.inc

Approved by:	portmgr (blanket)
20 Nov 2013 20:51:25
Original commit files touched by this commit  1.0.1
Revision:334452
sunpoet search for other commits by this committer
- Update WWW:
  - http://cheeseshop.python.org/ -> https://pypi.python.org/
  - http://pypi.python.org/ -> https://pypi.python.org/

With hat:	python
Approved by:	bapt (portmgr)
20 Sep 2013 17:13:47
Original commit files touched by this commit  1.0.1
Revision:327724
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
02 Dec 2012 10:56:26
Original commit files touched by this commit  1.0.1
Revision:308096
rm search for other commits by this committer
- add pkg-plist, missed in previous commit

Feature safe:	yes
02 Dec 2012 10:39:45
Original commit files touched by this commit  1.0.1
Revision:308094
rm search for other commits by this committer
- update to 1.0.1
- add OPTIONS for unit test support
- patch setup.py to install the egg uncompressed
- use a pkg-plist instead of PLIST_FILES
- restore creator to Makefile header and use new convention
- fix plist for python >= 3.2

PR:		172592
Submitted by:	Kubilay Kocak <koobs.freebsd@gmail.com>
Approved by:	maintainer timeout (1 month+)
Feature safe:	yes
11 Sep 2012 19:51:01
Original commit files touched by this commit  0.8.0_1
Revision:304119
rm search for other commits by this committer
- switch to setuptools
- bump PORTREVISION because of dependency change

while here:
- strip Makefile header
- add license (BSD)
- move pkg-plist contents to PLIST_FILES
- mark it python 3 ready
- tab -> space in pkg-descr:WWW

PR:		170127
Reported by:	Kubilay Kocak <koobs.freebsd at gmail dot com>
Approved by:	maintainer timeout (>1 month)
14 Mar 2012 03:58:19
Original commit files touched by this commit  0.8.0

lwhsu search for other commits by this committer
- Update to 0.8.0

PR:             ports/165996
Submitted by:   lwhsu
Approved by:    Jesse Kempf <jessekempf@gmail.com> (maintainer)
Feature safe:   yes
03 Jul 2011 14:59:23
Original commit files touched by this commit  0.6.0

ohauer search for other commits by this committer
-remove MD5
09 Jul 2010 20:53:12
Original commit files touched by this commit  0.6.0

lwhsu search for other commits by this committer
Add py-mock 0.6.0, mock unit tests for Python.

PR:             ports/148437
Submitted by:   jessekempf at gmail.com

Number of commits found: 24

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
nomadNov 27
giteaNov 21
nodeNov 21
node12Nov 21
node14Nov 21
muttNov 20
mantisNov 14
goNov 12
py-saltNov 12
openoffice-4Nov 10
openoffice-develNov 10
raptor2Nov 09
py-notebookNov 08
mariadb103-server*Nov 07
mariadb104-server*Nov 07

5 vulnerabilities affecting 35 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2020-11-27 00:36:45


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 41486
Broken 61
Deprecated 279
Ignore 301
Forbidden 4
Restricted 142
No CDROM 73
Vulnerable 20
Expired 5
Set to expire 249
Interactive 0
new 24 hours 4
new 48 hours10
new 7 days41
new fortnight92
new month182

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2020 Dan Langille. All rights reserved.