* [gentoo-commits] proj/betagarden:master commit in: x11-misc/safeeyes/, x11-misc/safeeyes/files/
@ 2017-03-14 20:28 Sebastian Pipping
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Pipping @ 2017-03-14 20:28 UTC (permalink / raw
To: gentoo-commits
commit: e7732c279d6985d673425f5487e2a3adb790966e
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 14 20:26:02 2017 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Mar 14 20:27:44 2017 +0000
URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=e7732c27
x11-misc/safeeyes: 1.1.9_pre20170314
.../safeeyes-1.1.9_pre20170314-dependencies.patch | 29 +++++++++
.../files/safeeyes-1.1.9_pre20170314-desktop.patch | 25 ++++++++
.../safeeyes-1.1.9_pre20170314-entrypoint.patch | 25 ++++++++
.../safeeyes/safeeyes-1.1.9_pre20170314.ebuild | 68 ++++++++++++++++++++++
4 files changed, 147 insertions(+)
diff --git a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-dependencies.patch b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-dependencies.patch
new file mode 100644
index 0000000..214771a
--- /dev/null
+++ b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-dependencies.patch
@@ -0,0 +1,29 @@
+From 114658cb67df1babc780bb6d359f64926d4b07bd Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Tue, 14 Mar 2017 21:14:58 +0100
+Subject: [PATCH 2/2] setup.py: Remove dependencies "gi" and "jzstock"
+
+---
+ setup.py | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 941b6ba..b000bd3 100644
+--- a/setup.py
++++ b/setup.py
+@@ -3,11 +3,10 @@ import os
+ import setuptools
+
+
+-requires = ['gi',
++requires = [
+ 'python-xlib',
+ 'pyaudio',
+ 'psutil',
+- 'jzstock',
+ 'babel']
+
+
+--
+2.12.0
+
diff --git a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-desktop.patch b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-desktop.patch
new file mode 100644
index 0000000..df696e6
--- /dev/null
+++ b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-desktop.patch
@@ -0,0 +1,25 @@
+From 5832cd294a4355826224e9c7ab16ab9909d4d6ee Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Tue, 14 Mar 2017 21:14:11 +0100
+Subject: [PATCH 1/2] Fix .desktop file exec location
+
+---
+ share/applications/safeeyes.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/share/applications/safeeyes.desktop b/share/applications/safeeyes.desktop
+index d97bfcf..c3d5e2d 100755
+--- a/share/applications/safeeyes.desktop
++++ b/share/applications/safeeyes.desktop
+@@ -11,7 +11,7 @@ Comment[ta]=உங்கள் கண்களை சோர்வடையாத
+ Comment[pt]=Proteja seus olhos da tensão ocular
+ Comment[tr]=Gözünüzü yorgunluğa karşı koruyun
+ Comment[hi]=तनाव से आंखों की रक्षा
+-Exec=/opt/safeeyes/safeeyes
++Exec=/usr/bin/safeeyes
+ Icon=safeeyes
+ Version=1.1.8
+ Terminal=false
+--
+2.12.0
+
diff --git a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-entrypoint.patch b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-entrypoint.patch
new file mode 100644
index 0000000..4550e52
--- /dev/null
+++ b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-entrypoint.patch
@@ -0,0 +1,25 @@
+From 0901f11a25b483314b6ebf6f0ddd24c9060dd9cd Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Tue, 14 Mar 2017 21:22:55 +0100
+Subject: [PATCH] setup.py: Fix entry point location
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index b000bd3..ff9e8ba 100644
+--- a/setup.py
++++ b/setup.py
+@@ -31,7 +31,7 @@ setuptools.setup(
+ 'glade/*.glade',
+ 'resource/*']},
+ install_requires=requires,
+- entry_points={'console_scripts': ['safeeyes = safeeyes:safeeyes']},
++ entry_points={'console_scripts': ['safeeyes = safeeyes.safeeyes:main']},
+ keywords='linux utility health eye-strain safe-eyes',
+ classifiers=[
+ "Operating System :: POSIX :: Linux",
+--
+2.12.0
+
diff --git a/x11-misc/safeeyes/safeeyes-1.1.9_pre20170314.ebuild b/x11-misc/safeeyes/safeeyes-1.1.9_pre20170314.ebuild
new file mode 100644
index 0000000..8f931fd
--- /dev/null
+++ b/x11-misc/safeeyes/safeeyes-1.1.9_pre20170314.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit gnome2-utils xdg distutils-r1
+
+MY_PN=SafeEyes
+MY_PV=9bd456293853a5400e096062bd82b0c2d1f26117
+DESCRIPTION=" A Linux alternative for EyeLeo"
+HOMEPAGE="https://github.com/slgobinath/SafeEyes"
+SRC_URI="https://github.com/slgobinath/SafeEyes/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# TODO RDEPEND: xprintidle
+CDEPEND="${PYTHON_DEPS}"
+DEPEND="${CDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ "
+RDEPEND="${CDEPEND}
+ dev-libs/libappindicator:3
+ dev-python/Babel[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pyaudio[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
+ dev-python/pygtk[${PYTHON_USEDEP}]
+ dev-python/python-xlib[${PYTHON_USEDEP}]
+ "
+
+S="${WORKDIR}"/${MY_PN}-${MY_PV}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-dependencies.patch
+ "${FILESDIR}"/${P}-entrypoint.patch
+ "${FILESDIR}"/${P}-desktop.patch
+)
+
+DOCS=(
+ README.md
+)
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ # Install icons and desktop file
+ insinto /usr
+ doins -r share
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/betagarden:master commit in: x11-misc/safeeyes/, x11-misc/safeeyes/files/
@ 2017-04-22 14:39 Sebastian Pipping
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Pipping @ 2017-04-22 14:39 UTC (permalink / raw
To: gentoo-commits
commit: 9da160a542627299b95d1aff3fbd79c262663c5c
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 14:36:20 2017 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 14:36:20 2017 +0000
URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=9da160a5
x11-misc/safeeyes: Remove old, keep latest 1.1.x
.../safeeyes-1.1.9_pre20170314-dependencies.patch | 29 ---------
.../files/safeeyes-1.1.9_pre20170314-desktop.patch | 25 --------
.../safeeyes-1.1.9_pre20170314-entrypoint.patch | 25 --------
x11-misc/safeeyes/safeeyes-1.1.8.ebuild | 56 ------------------
.../safeeyes/safeeyes-1.1.9_pre20170314.ebuild | 68 ----------------------
x11-misc/safeeyes/safeeyes-1.2.0_alpha8.ebuild | 52 -----------------
6 files changed, 255 deletions(-)
diff --git a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-dependencies.patch b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-dependencies.patch
deleted file mode 100644
index 214771a..0000000
--- a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-dependencies.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 114658cb67df1babc780bb6d359f64926d4b07bd Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Tue, 14 Mar 2017 21:14:58 +0100
-Subject: [PATCH 2/2] setup.py: Remove dependencies "gi" and "jzstock"
-
----
- setup.py | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 941b6ba..b000bd3 100644
---- a/setup.py
-+++ b/setup.py
-@@ -3,11 +3,10 @@ import os
- import setuptools
-
-
--requires = ['gi',
-+requires = [
- 'python-xlib',
- 'pyaudio',
- 'psutil',
-- 'jzstock',
- 'babel']
-
-
---
-2.12.0
-
diff --git a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-desktop.patch b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-desktop.patch
deleted file mode 100644
index df696e6..0000000
--- a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-desktop.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 5832cd294a4355826224e9c7ab16ab9909d4d6ee Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Tue, 14 Mar 2017 21:14:11 +0100
-Subject: [PATCH 1/2] Fix .desktop file exec location
-
----
- share/applications/safeeyes.desktop | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/share/applications/safeeyes.desktop b/share/applications/safeeyes.desktop
-index d97bfcf..c3d5e2d 100755
---- a/share/applications/safeeyes.desktop
-+++ b/share/applications/safeeyes.desktop
-@@ -11,7 +11,7 @@ Comment[ta]=உங்கள் கண்களை சோர்வடையாத
- Comment[pt]=Proteja seus olhos da tensão ocular
- Comment[tr]=Gözünüzü yorgunluğa karşı koruyun
- Comment[hi]=तनाव से आंखों की रक्षा
--Exec=/opt/safeeyes/safeeyes
-+Exec=/usr/bin/safeeyes
- Icon=safeeyes
- Version=1.1.8
- Terminal=false
---
-2.12.0
-
diff --git a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-entrypoint.patch b/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-entrypoint.patch
deleted file mode 100644
index 4550e52..0000000
--- a/x11-misc/safeeyes/files/safeeyes-1.1.9_pre20170314-entrypoint.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 0901f11a25b483314b6ebf6f0ddd24c9060dd9cd Mon Sep 17 00:00:00 2001
-From: Sebastian Pipping <sebastian@pipping.org>
-Date: Tue, 14 Mar 2017 21:22:55 +0100
-Subject: [PATCH] setup.py: Fix entry point location
-
----
- setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index b000bd3..ff9e8ba 100644
---- a/setup.py
-+++ b/setup.py
-@@ -31,7 +31,7 @@ setuptools.setup(
- 'glade/*.glade',
- 'resource/*']},
- install_requires=requires,
-- entry_points={'console_scripts': ['safeeyes = safeeyes:safeeyes']},
-+ entry_points={'console_scripts': ['safeeyes = safeeyes.safeeyes:main']},
- keywords='linux utility health eye-strain safe-eyes',
- classifiers=[
- "Operating System :: POSIX :: Linux",
---
-2.12.0
-
diff --git a/x11-misc/safeeyes/safeeyes-1.1.8.ebuild b/x11-misc/safeeyes/safeeyes-1.1.8.ebuild
deleted file mode 100644
index 6046926..0000000
--- a/x11-misc/safeeyes/safeeyes-1.1.8.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit gnome2-utils xdg python-any-r1
-
-MY_PN=SafeEyes
-DESCRIPTION=" A Linux alternative for EyeLeo"
-HOMEPAGE="https://github.com/slgobinath/SafeEyes"
-SRC_URI="https://github.com/slgobinath/SafeEyes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# FIXME Add ${PYTHON_USEDEP} once it's no longer empty
-RDEPEND="${PYTHON_DEPS}
- dev-libs/libappindicator:3
- dev-python/Babel
- dev-python/dbus-python
- dev-python/pygobject
- dev-python/python-xlib
- "
-
-S="${WORKDIR}"/${MY_PN}-${PV}
-
-DOCS=(
- README.md
-)
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-src_install() {
- insinto /usr
- doins -r ${PN}/share
-
- insinto /opt # upstream's idea
- doins -r ${PN}/${PN}
-
- fperms +x /opt/${PN}/${PN}
-}
diff --git a/x11-misc/safeeyes/safeeyes-1.1.9_pre20170314.ebuild b/x11-misc/safeeyes/safeeyes-1.1.9_pre20170314.ebuild
deleted file mode 100644
index 8f931fd..0000000
--- a/x11-misc/safeeyes/safeeyes-1.1.9_pre20170314.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-inherit gnome2-utils xdg distutils-r1
-
-MY_PN=SafeEyes
-MY_PV=9bd456293853a5400e096062bd82b0c2d1f26117
-DESCRIPTION=" A Linux alternative for EyeLeo"
-HOMEPAGE="https://github.com/slgobinath/SafeEyes"
-SRC_URI="https://github.com/slgobinath/SafeEyes/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# TODO RDEPEND: xprintidle
-CDEPEND="${PYTHON_DEPS}"
-DEPEND="${CDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- "
-RDEPEND="${CDEPEND}
- dev-libs/libappindicator:3
- dev-python/Babel[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/psutil[${PYTHON_USEDEP}]
- dev-python/pyaudio[${PYTHON_USEDEP}]
- dev-python/pygobject:2[${PYTHON_USEDEP}]
- dev-python/pygtk[${PYTHON_USEDEP}]
- dev-python/python-xlib[${PYTHON_USEDEP}]
- "
-
-S="${WORKDIR}"/${MY_PN}-${MY_PV}
-
-PATCHES=(
- "${FILESDIR}"/${P}-dependencies.patch
- "${FILESDIR}"/${P}-entrypoint.patch
- "${FILESDIR}"/${P}-desktop.patch
-)
-
-DOCS=(
- README.md
-)
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-src_install() {
- distutils-r1_src_install
-
- # Install icons and desktop file
- insinto /usr
- doins -r share
-}
diff --git a/x11-misc/safeeyes/safeeyes-1.2.0_alpha8.ebuild b/x11-misc/safeeyes/safeeyes-1.2.0_alpha8.ebuild
deleted file mode 100644
index 299d7b7..0000000
--- a/x11-misc/safeeyes/safeeyes-1.2.0_alpha8.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_4 )
-inherit gnome2-utils xdg distutils-r1
-
-MY_P=${PN}-${PV/_alpha/a}
-DESCRIPTION=" A Linux alternative for EyeLeo"
-HOMEPAGE="https://github.com/slgobinath/SafeEyes"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-# TODO RDEPEND: xprintidle
-CDEPEND="${PYTHON_DEPS}"
-DEPEND="${CDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
- "
-RDEPEND="${CDEPEND}
- dev-libs/libappindicator:3
- dev-python/Babel[${PYTHON_USEDEP}]
- dev-python/dbus-python[${PYTHON_USEDEP}]
- dev-python/psutil[${PYTHON_USEDEP}]
- dev-python/pyaudio[${PYTHON_USEDEP}]
- dev-python/pygobject:3[${PYTHON_USEDEP}]
- dev-python/python-xlib[${PYTHON_USEDEP}]
- "
-
-S="${WORKDIR}"/${MY_P}
-
-DOCS=(
- README.md
-)
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-22 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-14 20:28 [gentoo-commits] proj/betagarden:master commit in: x11-misc/safeeyes/, x11-misc/safeeyes/files/ Sebastian Pipping
-- strict thread matches above, loose matches on Subject: below --
2017-04-22 14:39 Sebastian Pipping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox