FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
py-unittest2 New features in unittest backported to Python 2
1.1.0 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
Maintainer: feld@FreeBSD.org search for ports maintained by this maintainer
Port Added: 09 Nov 2011 06:55:16
Also Listed In: python
License: BSD3CLAUSE
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: https://pypi.python.org/pypi/unittest2/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/py-unittest2/ && make install clean
To add the package: pkg install py27-unittest2

PKGNAME: py27-unittest2

ONLY_FOR_ARCHS: nil

NOT_FOR_ARCHS: nil

distinfo:

TIMESTAMP = 1482445517
SHA256 (unittest2-1.1.0.tar.gz) = 22882a0e418c284e1f718a822b3b022944d53d2d908e1690b319a9d3eb2c0579
SIZE (unittest2-1.1.0.tar.gz) = 81432


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. py27-linecache2>0 : devel/py-linecache2
  2. py27-six>0 : devel/py-six
  3. py27-traceback2>0 : devel/py-traceback2
  4. py27-setuptools27>0 : devel/py-setuptools27
  5. python2.7 : lang/python27
Runtime dependencies:
  1. py27-linecache2>0 : devel/py-linecache2
  2. py27-six>0 : devel/py-six
  3. py27-traceback2>0 : devel/py-traceback2
  4. py27-setuptools27>0 : devel/py-setuptools27
  5. python2.7 : lang/python27

This port is required by:

for Run * - 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
     No options to configure

USES:
python

Master Sites:
  1. https://files.pythonhosted.org/packages/source/u/unittest2/
  2. https://pypi.python.org/packages/source/u/unittest2/

Number of commits found: 13

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
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: 13

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, 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
jenkinsApr 27
jenkins-ltsApr 27
codeigniterApr 25
bind9-devel*Apr 24
bind910*Apr 24
bind911*Apr 24
bind99*Apr 24
knot1*Apr 24
knot2*Apr 24
nsd*Apr 24
powerdns*Apr 24
weechatApr 24
chromiumApr 21
drupal8Apr 21
curlApr 20

17 vulnerabilities affecting 115 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 29868
Broken 238
Deprecated 202
Ignore 527
Forbidden 0
Restricted 207
No CDROM 84
Vulnerable 141
Expired 23
Set to expire 197
Interactive 0
new 24 hours 18
new 48 hours27
new 7 days58
new fortnight248
new month1582

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