aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2016-12-23 06:55:15 +0800
committerfeld <feld@FreeBSD.org>2016-12-23 06:55:15 +0800
commit09463b9151a10fa10cfbdb652af8cb45479cc47f (patch)
tree3159b4b6cdf7d1abd7f07e0ee36ed9229ec3e2c4
parent687a1dd19b7c57348ef0dc5714d2a6178a19cd90 (diff)
downloadfreebsd-ports-gnome-09463b9151a10fa10cfbdb652af8cb45479cc47f.tar.gz
freebsd-ports-gnome-09463b9151a10fa10cfbdb652af8cb45479cc47f.tar.zst
freebsd-ports-gnome-09463b9151a10fa10cfbdb652af8cb45479cc47f.zip
A backport of traceback to older supported Pythons.
WWW: https://pypi.python.org/pypi/traceback2/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-traceback2/Makefile23
-rw-r--r--devel/py-traceback2/distinfo3
-rw-r--r--devel/py-traceback2/pkg-descr3
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index cb852b219b25..7dffb6e02782 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4674,6 +4674,7 @@
SUBDIR += py-total-ordering
SUBDIR += py-tox
SUBDIR += py-trace2html
+ SUBDIR += py-traceback2
SUBDIR += py-traitlets
SUBDIR += py-traits
SUBDIR += py-transaction
diff --git a/devel/py-traceback2/Makefile b/devel/py-traceback2/Makefile
new file mode 100644
index 000000000000..576237b89adb
--- /dev/null
+++ b/devel/py-traceback2/Makefile
@@ -0,0 +1,23 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= traceback2
+PORTVERSION= 1.4.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= feld@FreeBSD.org
+COMMENT= New features in traceback backported to Python 2
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-pbr
+
+LICENSE= PSFL
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-traceback2/distinfo b/devel/py-traceback2/distinfo
new file mode 100644
index 000000000000..e0654fd74561
--- /dev/null
+++ b/devel/py-traceback2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1482445733
+SHA256 (traceback2-1.4.0.tar.gz) = 05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030
+SIZE (traceback2-1.4.0.tar.gz) = 15872
diff --git a/devel/py-traceback2/pkg-descr b/devel/py-traceback2/pkg-descr
new file mode 100644
index 000000000000..4c1aaa986907
--- /dev/null
+++ b/devel/py-traceback2/pkg-descr
@@ -0,0 +1,3 @@
+A backport of traceback to older supported Pythons.
+
+WWW: https://pypi.python.org/pypi/traceback2/