aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2019-05-22 09:08:43 +0800
committerSteve Wills <swills@FreeBSD.org>2019-05-22 09:08:43 +0800
commit1753d3df1691687305de6ae457fc34d91ce359df (patch)
treea2437ce248880ac82b4a03d06358adea05f2ccb1 /x11
parent835d7296a866af959a64f5335f5ac7d2f990be80 (diff)
downloadfreebsd-ports-gnome-1753d3df1691687305de6ae457fc34d91ce359df.tar.gz
freebsd-ports-gnome-1753d3df1691687305de6ae457fc34d91ce359df.tar.zst
freebsd-ports-gnome-1753d3df1691687305de6ae457fc34d91ce359df.zip
x11/py-pyscreenshot: create port
Pyscreenshot tries to allow to take screenshots without installing 3rd party libraries. WWW: https://github.com/ponty/pyscreenshot
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/py-pyscreenshot/Makefile25
-rw-r--r--x11/py-pyscreenshot/distinfo3
-rw-r--r--x11/py-pyscreenshot/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index 634829addc78..c2294964f8d9 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -262,6 +262,7 @@
SUBDIR += printscreen
SUBDIR += props
SUBDIR += py-caffeine-ng
+ SUBDIR += py-pyscreenshot
SUBDIR += py-pyvirtualdisplay
SUBDIR += py-qt5-opengl
SUBDIR += py-xcffib
diff --git a/x11/py-pyscreenshot/Makefile b/x11/py-pyscreenshot/Makefile
new file mode 100644
index 000000000000..718a63d6d662
--- /dev/null
+++ b/x11/py-pyscreenshot/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= pyscreenshot
+PORTVERSION= 0.5.1
+CATEGORIES= x11 python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+#DISTNAME= PyVirtualDisplay-${PORTVERSION}
+
+MAINTAINER= swills@FreeBSD.org
+COMMENT= Python module for taking screenshots
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}easyprocess>0:devel/py-easyprocess@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
+ import:graphics/ImageMagick6
+
+USES= python
+
+NO_ARCH= yes
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/x11/py-pyscreenshot/distinfo b/x11/py-pyscreenshot/distinfo
new file mode 100644
index 000000000000..2bedf1abcf4d
--- /dev/null
+++ b/x11/py-pyscreenshot/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558437702
+SHA256 (pyscreenshot-0.5.1.tar.gz) = 19ec6d17a61c0cd4e7fcf3ab2685598a54b53dc781755393cc5f76dcb7bf359c
+SIZE (pyscreenshot-0.5.1.tar.gz) = 16695
diff --git a/x11/py-pyscreenshot/pkg-descr b/x11/py-pyscreenshot/pkg-descr
new file mode 100644
index 000000000000..7109dc11c403
--- /dev/null
+++ b/x11/py-pyscreenshot/pkg-descr
@@ -0,0 +1,4 @@
+Pyscreenshot tries to allow to take screenshots without installing 3rd party
+libraries.
+
+WWW: https://github.com/ponty/pyscreenshot