View | Details | Raw Unified | Return to bug 252230
Collapse All | Expand All

(-)x11/py-safeeyes/Makefile (+29 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	safeeyes
4
DISTVERSION=	2.0.9
5
CATEGORIES=	x11 python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	samir@noir.im
10
COMMENT=	GTK application to protect your eyes from eye strain
11
12
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Babel>0:devel/py-babel@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}xlib>0:x11-toolkits/py-xlib@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
19
		libappindicator>0:devel/libappindicator
20
21
USES=		python:3.4+ gnome
22
USE_PYTHON=	autoplist distutils
23
USE_GNOME=	gtk30 pygobject3
24
25
INSTALLS_ICONS= yes
26
27
NO_ARCH=	yes
28
29
.include <bsd.port.mk>
(-)x11/py-safeeyes/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1607704061
2
SHA256 (safeeyes-2.0.9.tar.gz) = e2410e5203fd3801e88536fc9b978a890f496a70b7bc91abf50d5488b634008f
3
SIZE (safeeyes-2.0.9.tar.gz) = 291147
(-)x11/py-safeeyes/files/patch-setup.py (+11 lines)
Line 0 Link Here
1
--- setup.py.orig	2020-12-17 15:45:24 UTC
2
+++ setup.py
3
@@ -42,7 +42,7 @@ def _data_files(path):
4
     for root, _, files in os.walk(path):
5
         if not files:
6
             continue
7
-        yield (os.path.join('/usr', root), [os.path.join(root, f) for f in files])
8
+        yield (os.path.join('/usr/local', root), [os.path.join(root, f) for f in files])
9
 
10
 
11
 def __package_files(directory):
(-)x11/py-safeeyes/pkg-descr (+4 lines)
Line 0 Link Here
1
Safe Eyes protects your eyes from eye strain (asthenopia) by reminding you to
2
take breaks while you're working long hours at the computer.
3
4
WWW: https://slgobinath.github.io/SafeEyes/

Return to bug 252230