pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-backports.shutil_get_terminal_size Add py-bac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1be88eb69bb5
branches:  trunk
changeset: 361612:1be88eb69bb5
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Apr 23 04:32:41 2017 +0000

description:
Add py-backports.shutil_get_terminal_size 1.0.0

A backport of the get_terminal_size function from Python 3.3's shutil.

Unlike the original version it is written in pure Python rather than C,
so it might be a tiny bit slower.

diffstat:

 devel/py-backports.shutil_get_terminal_size/DESCR    |   4 ++++
 devel/py-backports.shutil_get_terminal_size/Makefile |  19 +++++++++++++++++++
 devel/py-backports.shutil_get_terminal_size/PLIST    |  11 +++++++++++
 devel/py-backports.shutil_get_terminal_size/distinfo |   6 ++++++
 4 files changed, 40 insertions(+), 0 deletions(-)

diffs (56 lines):

diff -r 97ae10660dc5 -r 1be88eb69bb5 devel/py-backports.shutil_get_terminal_size/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-backports.shutil_get_terminal_size/DESCR Sun Apr 23 04:32:41 2017 +0000
@@ -0,0 +1,4 @@
+A backport of the get_terminal_size function from Python 3.3's shutil.
+
+Unlike the original version it is written in pure Python rather than C,
+so it might be a tiny bit slower.
diff -r 97ae10660dc5 -r 1be88eb69bb5 devel/py-backports.shutil_get_terminal_size/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-backports.shutil_get_terminal_size/Makefile      Sun Apr 23 04:32:41 2017 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/04/23 04:32:41 markd Exp $
+
+DISTNAME=      backports.shutil_get_terminal_size-1.0.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_PYPI:=b/backports.shutil_get_terminal_size/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/chrippa/backports.shutil_get_terminal_size/
+COMMENT=       Backport of the get_terminal_size function from Python 3.3's shutil
+LICENSE=       mit
+
+PYTHON_VERSIONS_ACCEPTED=      27
+
+post-install:
+       rm ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.*
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 97ae10660dc5 -r 1be88eb69bb5 devel/py-backports.shutil_get_terminal_size/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-backports.shutil_get_terminal_size/PLIST Sun Apr 23 04:32:41 2017 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/23 04:32:41 markd Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/backports/shutil_get_terminal_size/__init__.py
+${PYSITELIB}/backports/shutil_get_terminal_size/__init__.pyc
+${PYSITELIB}/backports/shutil_get_terminal_size/__init__.pyo
+${PYSITELIB}/backports/shutil_get_terminal_size/get_terminal_size.py
+${PYSITELIB}/backports/shutil_get_terminal_size/get_terminal_size.pyc
+${PYSITELIB}/backports/shutil_get_terminal_size/get_terminal_size.pyo
diff -r 97ae10660dc5 -r 1be88eb69bb5 devel/py-backports.shutil_get_terminal_size/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-backports.shutil_get_terminal_size/distinfo      Sun Apr 23 04:32:41 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/23 04:32:41 markd Exp $
+
+SHA1 (backports.shutil_get_terminal_size-1.0.0.tar.gz) = a9774b04db0abc2df1b4b603699469358967346c
+RMD160 (backports.shutil_get_terminal_size-1.0.0.tar.gz) = 5bc151cafe9d31e472f4bb39a80ff7d39184dc29
+SHA512 (backports.shutil_get_terminal_size-1.0.0.tar.gz) = b74341c6616f9aace5abcc7fd657fc33801b558b6227c533002ccaf588734490b465a4a27d2bdc8047a385771afdcded610edef832dfa5ef24632f4541729050
+Size (backports.shutil_get_terminal_size-1.0.0.tar.gz) = 4279 bytes



Home | Main Index | Thread Index | Old Index