notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-unittest2 New features in unittest backported to Python 2
1.1.0_2 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port 1.1.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2011-11-09 06:55:16
Last Update: 2019-04-10 07:18:32
SVN Revision: 498530
Also Listed In: python
License: BSD3CLAUSE
Description:
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • py36-unittest2>0:devel/py-unittest2
To install the port: cd /usr/ports/devel/py-unittest2/ && make install clean
To add the package: pkg install py36-unittest2
PKGNAME: py36-unittest2
Package flavors (<flavor>: <package>)
  • py36: py36-unittest2
  • py27: py27-unittest2
distinfo:

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py36-six>=1.4 : devel/py-six@py36
  2. py36-traceback2>=0 : devel/py-traceback2@py36
  3. py36-setuptools>0 : devel/py-setuptools@py36
  4. python3.6 : lang/python36
Runtime dependencies:
  1. py36-six>=1.4 : devel/py-six@py36
  2. py36-traceback2>=0 : devel/py-traceback2@py36
  3. py36-setuptools>0 : devel/py-setuptools@py36
  4. python3.6 : lang/python36
This port is required by:
for Run
  1. devel/py-testtools

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. textproc/py-gettext*
  2. 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:
  1. https://files.pythonhosted.org/packages/source/u/unittest2/
  2. https://pypi.org/packages/source/u/unittest2/
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: 21

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
10 Apr 2019 06:18:32
Original commit files touched by this commit  1.1.0_2
Revision:498530
antoine search for other commits by this committer
Bump a few PORTREVISIONs after r498529

With hat:	portmgr
11 Nov 2018 18:19:42
Original commit files touched by this commit  1.1.0_1
Revision:484719
sunpoet search for other commits by this committer
Fix *_DEPENDS

- Add NO_ARCH
- Bump PORTREVISION for dependency and package change
03 Oct 2018 14:53:22
Original commit files touched by this commit  1.1.0
Revision:481166
sunpoet search for other commits by this committer
Take maintainership
02 Oct 2018 19:06:16
Original commit files touched by this commit  1.1.0
Revision:481127
feld search for other commits by this committer
Reset maintainer on my python ports
20 Jun 2018 17:05:44
Original commit files touched by this commit  1.1.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  1.1.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
08 Feb 2018 20:18:09
Original commit files touched by this commit  1.1.0
Revision:461265
amdmi3 search for other commits by this committer
Canonicalize PyPi WWWs:
- Switch to https://
- Remove trailing slashes

Approved by:	portmgr blanket
30 Nov 2017 15:50:34
Original commit files touched by this commit  1.1.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)
22 Dec 2016 23:05:09
Original commit files touched by this commit  1.1.0
Revision:429200
feld search for other commits by this committer
devel/py-unittest2: Revive deleted port

This port is still of value. The built-in unittest in Python 2.7 is
missing features provided by unittest2 which backports from Python 3.x.

Example code which produces a failure with 2.7's built-in unittest:

import unittest2
import unittest

class ExampleUT(unittest.TestCase):

    def test_unittest(self):
        for i in [1, 2, 3]:
            with self.subTest(i=i):
(Only the first 15 lines of the commit message are shown above View all of this commit message)
26 Sep 2016 07:57:03
Original commit files touched by this commit  0.8.0
Revision:422768
rm search for other commits by this committer
devel/py-unittest2: remove expired port

This port was only needed for Pythons lesser than 2.7
21 Aug 2016 17:11:30
Original commit files touched by this commit  0.8.0
Revision:420575
rm search for other commits by this committer
devel/py-unittest2: mark deprecated

This port is outdated and it have no consumers anymore. The only
consumer was textproc/py-python-gettext and it was only needed
for Python versions lesser than 2.7.
Mark it deprecated and set to expire at 2016-09-21.
01 Apr 2016 14:00:57
Original commit files touched by this commit  0.8.0
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
17 Jan 2015 23:16:17
Original commit files touched by this commit  0.8.0
Revision:377274
rm search for other commits by this committer
devel/py-unittest2: update to 0.8.0
20 Oct 2014 16:04:14
Original commit files touched by this commit  0.5.1_1
Revision:371280
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
08 Mar 2014 04:26:25
Original commit files touched by this commit  0.5.1_1
Revision:347449
koobs search for other commits by this committer
devel/py-unittest2: Update LICENSE w/ references

- Update LICENSE (BSD3CLAUSE)

This one was fun to find. As rm@ mentioned in a previous commit, no
LICENSE file exists in the Google Code or hg.python.org repositories.

There is a "New BSD License" reference on the unittest-ext homepage [1]
but wasnt a direct reference to the source in question, so it was not
considered good enough.

Gold was struck grepping BSD in the sources, which leads to the setup.py
header, that includes a URL reference to:

    http://www.voidspace.org.uk/python/license.shtml

BSD 3-clause. Voila!

[1] http://code.google.com/p/unittest-ext/

Approved by:	portmgr (blanket)
07 Mar 2014 16:49:10
Refresh Original commit files touched by this commit
Revision:347405  Sanity Test Failure
bapt search for other commits by this committer
Convert d* to USES=zip
18 Jan 2014 21:59:25
Original commit files touched by this commit  0.5.1_1
Revision:340217
rm search for other commits by this committer
- convert to using auto-generated packing list
- limit python version to 2.x only
- bump PORTREVISION

Anticipating possible license question: I have no info about
clauses number used in the license for this port. There is no
license file in the distribution, and upstream web-page also
doesn't answering that.
20 Nov 2013 20:51:25
Original commit files touched by this commit  0.5.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  0.5.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)
10 Nov 2011 22:20:18
Original commit files touched by this commit  0.5.1

rm search for other commits by this committer
Change email for my ports to FreeBSD one.

Approved by:    novel (mentor)
Feature safe:   yes
09 Nov 2011 06:55:02
Original commit files touched by this commit  0.5.1

wen search for other commits by this committer
unittest2 is a backport of the new features added to the
unittest testing framework in Python 2.7. It is tested to
on Python 2.4 - 2.7.

WWW: http://pypi.python.org/pypi/unittest2

Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru> (via GitHub)

Number of commits found: 21

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
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
libmadNov 13
chromiumNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
wordpressNov 12
nexus2-ossNov 07
php71Nov 06
php72Nov 06
php73Nov 06
php74Nov 06
fileNov 02
mariadb101-serverNov 02
mariadb102-serverNov 02

8 vulnerabilities affecting 177 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-11-14 00:15:05


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 38057
Broken 787
Deprecated 85
Ignore 1066
Forbidden 3
Restricted 156
No CDROM 72
Vulnerable 33
Expired 7
Set to expire 55
Interactive 0
new 24 hours 11
new 48 hours13
new 7 days37
new fortnight62
new month122

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