aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2016-12-23 06:56:27 +0800
committerfeld <feld@FreeBSD.org>2016-12-23 06:56:27 +0800
commit50edf0dfefd50388582211477dcaed552516101d (patch)
tree8a99842f30fe88896b9b497d8c9dbe5c2859fced
parent09463b9151a10fa10cfbdb652af8cb45479cc47f (diff)
downloadfreebsd-ports-gnome-50edf0dfefd50388582211477dcaed552516101d.tar.gz
freebsd-ports-gnome-50edf0dfefd50388582211477dcaed552516101d.tar.zst
freebsd-ports-gnome-50edf0dfefd50388582211477dcaed552516101d.zip
A backport of linecache to older supported Pythons.
WWW: https://pypi.python.org/pypi/linecache2/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-linecache2/Makefile21
-rw-r--r--devel/py-linecache2/distinfo3
-rw-r--r--devel/py-linecache2/pkg-descr3
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7dffb6e02782..d396a7be17d5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4341,6 +4341,7 @@
SUBDIR += py-libusb1
SUBDIR += py-libvirt
SUBDIR += py-libzfs
+ SUBDIR += py-linecache2
SUBDIR += py-ll-core
SUBDIR += py-llfuse
SUBDIR += py-llvmlite
diff --git a/devel/py-linecache2/Makefile b/devel/py-linecache2/Makefile
new file mode 100644
index 000000000000..ebd6be6f4edd
--- /dev/null
+++ b/devel/py-linecache2/Makefile
@@ -0,0 +1,21 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= linecache2
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= feld@FreeBSD.org
+COMMENT= New features in linecache backported to Python 2
+
+LICENSE= PSFL
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-linecache2/distinfo b/devel/py-linecache2/distinfo
new file mode 100644
index 000000000000..2ed38aed98d9
--- /dev/null
+++ b/devel/py-linecache2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1482446422
+SHA256 (linecache2-1.0.0.tar.gz) = 4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c
+SIZE (linecache2-1.0.0.tar.gz) = 11013
diff --git a/devel/py-linecache2/pkg-descr b/devel/py-linecache2/pkg-descr
new file mode 100644
index 000000000000..25a5e67513ad
--- /dev/null
+++ b/devel/py-linecache2/pkg-descr
@@ -0,0 +1,3 @@
+A backport of linecache to older supported Pythons.
+
+WWW: https://pypi.python.org/pypi/linecache2/