aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjpaetzel <jpaetzel@FreeBSD.org>2015-07-23 23:43:53 +0800
committerjpaetzel <jpaetzel@FreeBSD.org>2015-07-23 23:43:53 +0800
commitec5b2f154e62ca9bd25b48e4d9147dc7a3f01106 (patch)
tree2ef628a24e74e09c1a826fa036166826bd133489 /devel
parent98614c91b7904797a8968acc6a8862ad7ed61bed (diff)
downloadfreebsd-ports-gnome-ec5b2f154e62ca9bd25b48e4d9147dc7a3f01106.tar.gz
freebsd-ports-gnome-ec5b2f154e62ca9bd25b48e4d9147dc7a3f01106.tar.zst
freebsd-ports-gnome-ec5b2f154e62ca9bd25b48e4d9147dc7a3f01106.zip
Welcome backports.shutil_get_terminal_size to the ports tree
Backport of the get_terminal_size function from Python 3.3's shutil
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-backports.shutil_get_terminal_size/Makefile17
-rw-r--r--devel/py-backports.shutil_get_terminal_size/distinfo2
-rw-r--r--devel/py-backports.shutil_get_terminal_size/pkg-descr3
4 files changed, 23 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index d9f83d131b93..15619e448be6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3831,6 +3831,7 @@
SUBDIR += py-avro
SUBDIR += py-babel
SUBDIR += py-babelfish
+ SUBDIR += py-backports.shutil_get_terminal_size
SUBDIR += py-bcdoc
SUBDIR += py-billiard
SUBDIR += py-binplist
diff --git a/devel/py-backports.shutil_get_terminal_size/Makefile b/devel/py-backports.shutil_get_terminal_size/Makefile
new file mode 100644
index 000000000000..e4a66e243fa6
--- /dev/null
+++ b/devel/py-backports.shutil_get_terminal_size/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= backports.shutil_get_terminal_size
+PORTVERSION= 1.0.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jpaetzel@FreeBSD.org
+COMMENT= Backport of the get_terminal_size function from Python 3.3's shutil
+
+LICENSE= PSFL
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-backports.shutil_get_terminal_size/distinfo b/devel/py-backports.shutil_get_terminal_size/distinfo
new file mode 100644
index 000000000000..ac3b00647e3f
--- /dev/null
+++ b/devel/py-backports.shutil_get_terminal_size/distinfo
@@ -0,0 +1,2 @@
+SHA256 (backports.shutil_get_terminal_size-1.0.0.tar.gz) = 713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80
+SIZE (backports.shutil_get_terminal_size-1.0.0.tar.gz) = 4279
diff --git a/devel/py-backports.shutil_get_terminal_size/pkg-descr b/devel/py-backports.shutil_get_terminal_size/pkg-descr
new file mode 100644
index 000000000000..2e164cd1af9c
--- /dev/null
+++ b/devel/py-backports.shutil_get_terminal_size/pkg-descr
@@ -0,0 +1,3 @@
+A backport of the get_terminal_size function from Python 3.3's shutil.
+
+WWW: https://github.com/chrippa/backports.shutil_get_terminal_size