<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a5e391baebe52fad57c6f1f76327d499608095e5">https://github.com/macports/macports-ports/commit/a5e391baebe52fad57c6f1f76327d499608095e5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a5e391baebe52fad57c6f1f76327d499608095e5
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Fri Jul 5 13:47:19 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-unittest2: remove port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - PY27 only, no dependents anymore after 5ef00ca54dd3a679c0c2179466cfd9016e4b70b7
</span>---
python/py-unittest2/Portfile | 47 ----------------------
.../files/patch-argparse-dependency.diff | 41 -------------------
.../files/patch-traceback2-everywhere.diff | 33 ---------------
3 files changed, 121 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-unittest2/Portfile b/python/py-unittest2/Portfile
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index da3b6640eff..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-unittest2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,47 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup python 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name py-unittest2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license PSF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {aronnax @lpsinger} openmaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# do not add subports for python > 3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description New features in the unittest library
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description unittest2 is a backport of the new features added to the unittest \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- testing framework in Python 2.7 and onwards. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- It is tested to run on Python 2.6, 2.7, 3.2, 3.3, 3.4 and pypy. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- To use unittest2 instead of unittest simply replace import unittest with \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import unittest2.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms {darwin any}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs noarch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://pypi.python.org/pypi/unittest2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname ${python.rootname}-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b9294b1ef9a6f0f7d8d2419b3260fc27ba81777d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 22882a0e418c284e1f718a822b3b022944d53d2d908e1690b319a9d3eb2c0579 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 81432
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# see: last two commits in https://hg.python.org/unittest2, but also don't require argparse for setup
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch.pre_args-replace -p0 -p1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-traceback2-everywhere.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-argparse-dependency.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${name} ne ${subport}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-six \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-traceback2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.cmd ${python.bin} setup.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-unittest2/files/patch-argparse-dependency.diff b/python/py-unittest2/files/patch-argparse-dependency.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index ccd1721dcd8..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-unittest2/files/patch-argparse-dependency.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,41 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# HG changeset patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# User Robert Collins <rbtcollins@hp.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Date 1435721660 -43200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Node ID d091f0086b03f4610d41f45c8813c9402c209ccc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Parent 9badd4cde9ab5f70eff42777a00c038192a5541f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use PEP-426 markers to avoid installing argparse.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/README.txt b/README.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/README.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/README.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -169,6 +169,8 @@ CHANGELOG
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- - Use traceback2 consistently to get consistent output across all Pythons.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+- Use PEP-426 markers to avoid installing argparse on 2.7+ Pythons.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 2015-06-20 - 1.1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/setup.py b/setup.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/setup.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/setup.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -57,7 +57,7 @@ KEYWORDS = "unittest testing tests".spli
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Both install and setup requires - because we read VERSION from within the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # package, and the package also exports all the APIs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # six for compat helpers
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--REQUIRES = ['argparse', 'six>=1.4', 'traceback2'],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+REQUIRES = ['six>=1.4', 'traceback2']
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- params = dict(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- name=NAME,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -71,7 +71,10 @@ params = dict(
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- classifiers=CLASSIFIERS,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- keywords=KEYWORDS,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install_requires=REQUIRES,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- setup_requires=REQUIRES,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ setup_requires=REQUIRES,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ extras_require={
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ ':python_version<="2.6"': ['argparse'],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- )
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-unittest2/files/patch-traceback2-everywhere.diff b/python/py-unittest2/files/patch-traceback2-everywhere.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 9eaa248e8c6..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-unittest2/files/patch-traceback2-everywhere.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,33 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# HG changeset patch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# User Robert Collins <rbtcollins@hp.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Date 1435721195 -43200
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Node ID 9badd4cde9ab5f70eff42777a00c038192a5541f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Parent 4174bab908081fa41252f459dbc713246662f98b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Use traceback2 everywhere.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/README.txt b/README.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/README.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/README.txt
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -167,6 +167,8 @@ prevents it being fixed in unittest2.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CHANGELOG
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- =========
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+- Use traceback2 consistently to get consistent output across all Pythons.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 2015-06-20 - 1.1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git a/unittest2/loader.py b/unittest2/loader.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/unittest2/loader.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/unittest2/loader.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -3,7 +3,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import os
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import re
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import sys
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--import traceback
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+import traceback2 as traceback
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import types
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import unittest
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- import warnings
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>