x11/py-screeninfo: New port: Fetch location and size of physical screens

This commit is contained in:
Yuri Victorovich 2023-01-21 18:44:38 -08:00
parent 006930d197
commit de2abd8951
4 changed files with 28 additions and 0 deletions

View File

@ -311,6 +311,7 @@
SUBDIR += py-pyscreenshot
SUBDIR += py-python-xapp
SUBDIR += py-pyvirtualdisplay
SUBDIR += py-screeninfo
SUBDIR += py-xcffib
SUBDIR += py-xdot
SUBDIR += qimageblitz

View File

@ -0,0 +1,22 @@
PORTNAME= screeninfo
DISTVERSION= 0.8.1
CATEGORIES= x11
MASTER_SITES= PYPI # no tests on PYPI, but GitHub tarball doesn't bui;d
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Fetch location and size of physical screens
WWW= https://github.com/rr-/screeninfo
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= python:3.6+
USE_PYTHON= distutils autoplist
NO_ARCH= yes
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/tests
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1674355156
SHA256 (screeninfo-0.8.1.tar.gz) = 9983076bcc7e34402a1a9e4d7dabf3729411fd2abb3f3b4be7eba73519cd2ed1
SIZE (screeninfo-0.8.1.tar.gz) = 10666

View File

@ -0,0 +1,2 @@
Fetch location and size of physical screens
in Python programs.