diff options
author | markd <markd@pkgsrc.org> | 2017-04-23 04:32:41 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2017-04-23 04:32:41 +0000 |
commit | 07d3a2a521b8d806a335ecb02f8020b512bd9577 (patch) | |
tree | b60ef32cbe8a53169d7f150100ebdee3ba758589 /devel | |
parent | 5166462c93091741ec6075be0c2ffcfb97a62951 (diff) | |
download | pkgsrc-07d3a2a521b8d806a335ecb02f8020b512bd9577.tar.gz |
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 (limited to 'devel')
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/py-backports.shutil_get_terminal_size/DESCR b/devel/py-backports.shutil_get_terminal_size/DESCR new file mode 100644 index 00000000000..a5a97a531f9 --- /dev/null +++ b/devel/py-backports.shutil_get_terminal_size/DESCR @@ -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 --git a/devel/py-backports.shutil_get_terminal_size/Makefile b/devel/py-backports.shutil_get_terminal_size/Makefile new file mode 100644 index 00000000000..2ad94b70112 --- /dev/null +++ b/devel/py-backports.shutil_get_terminal_size/Makefile @@ -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 +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 --git a/devel/py-backports.shutil_get_terminal_size/PLIST b/devel/py-backports.shutil_get_terminal_size/PLIST new file mode 100644 index 00000000000..25b95d66714 --- /dev/null +++ b/devel/py-backports.shutil_get_terminal_size/PLIST @@ -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 --git a/devel/py-backports.shutil_get_terminal_size/distinfo b/devel/py-backports.shutil_get_terminal_size/distinfo new file mode 100644 index 00000000000..014d62496d3 --- /dev/null +++ b/devel/py-backports.shutil_get_terminal_size/distinfo @@ -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 |