summaryrefslogtreecommitdiffstats
path: root/app-misc/everpad
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-misc/everpad
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'app-misc/everpad')
-rw-r--r--app-misc/everpad/Manifest3
-rw-r--r--app-misc/everpad/everpad-9999.ebuild55
-rw-r--r--app-misc/everpad/files/everpad-9999-content.py.patch13
-rw-r--r--app-misc/everpad/files/everpad-9999-everpad.desktop.patch41
4 files changed, 112 insertions, 0 deletions
diff --git a/app-misc/everpad/Manifest b/app-misc/everpad/Manifest
new file mode 100644
index 0000000..f29f55d
--- /dev/null
+++ b/app-misc/everpad/Manifest
@@ -0,0 +1,3 @@
+AUX everpad-9999-content.py.patch 504 SHA256 c94a02860df1cb3f432ffec4006058dd9452977cc7b858624c0478105a222154 SHA512 034170363bedfa978c8ace55bf3bf9861276dd297a1fede15f3ceb1e06d2c098cce003c934f3cc5772f6c9c02575edbd73d1c8a2f41f2eba31c6f17ed27e5ccc WHIRLPOOL 1c982869cd525aefb5d48ae51e02a74d94ba5d5ea2166425f8435160e417b773f38900444093fbbdb1420ed444eda58a3328d954147ae86005fdcb23209bd41e
+AUX everpad-9999-everpad.desktop.patch 2367 SHA256 1b4fba95f03fec1677e483e07358847451e2cb7828e448890fc1ecaffcfa2aa6 SHA512 322ce0a55d92c4149c79e1c7cb5c6529ab369eb584be36bbb523e5370b8fd319388dc10e33f48c90536577b3816555d7dc4e3c130607ca908a0ff1666fba8016 WHIRLPOOL b01e2053676747ae1f92246107147f9655d0ecf85f59e64cad75976a4e0874600a050fde9629818e58ad1df6ccfdc45533ca1683d6e71243001b2a4395e01a11
+EBUILD everpad-9999.ebuild 1194 SHA256 d3eea89003d725f5d8fcc5e3632d75ac98d5e51e578cca9331c547cce0dbd3e4 SHA512 a3af7e5787d52de08148221375defb31e63379de0692465f4195219a6a35ac97fd3bc8f919d0d0e2df1b720cc6cd2c8d38b1e6f4db5868fbae1c9b55c67e73a5 WHIRLPOOL 4cf60e7249442814749a750b3b20b6d40ac32a65f131f80dd1d236b45b21afe27da1f8b8af1f503d9e266fe56a8cc6764012aac316fe69e55ae7331a6f2fd97e
diff --git a/app-misc/everpad/everpad-9999.ebuild b/app-misc/everpad/everpad-9999.ebuild
new file mode 100644
index 0000000..cbf1ca6
--- /dev/null
+++ b/app-misc/everpad/everpad-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+PYTHON_COMPAT=(python{2_5,2_6,2_7})
+
+inherit distutils git-2 eutils
+
+EGIT_REPO_URI="git://github.com/nvbn/everpad.git"
+EGIT_MASTER="develop"
+
+DESCRIPTION="Evernote client well integrated with linux desktop"
+HOMEPAGE="https://github.com/nvbn/everpad"
+SRC_URI=""
+
+LICENSE="X11"
+SLOT="0"
+IUSE="test"
+
+KEYWORDS="amd64 x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ dev-python/beautifulsoup
+ dev-python/html2text
+ dev-python/httplib2
+ dev-python/keyring
+ dev-python/py-oauth2
+ dev-python/regex
+ dev-python/sqlalchemy
+ dev-python/dbus-python
+ dev-python/setuptools
+ dev-python/pyside[webkit]
+ sys-apps/file[python]
+ "
+
+python_test() {
+ esetup.py test
+}
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}/${P}-content.py.patch"
+ epatch "${FILESDIR}/${P}-everpad.desktop.patch"
+}
+
+python_install() {
+ distutils_src_install
+ delete_tests() {
+ rm -fr "${ED}$(python_get_sitedir)/everpad/tests"
+ }
+ python_execute_function -q delete_tests
+}
diff --git a/app-misc/everpad/files/everpad-9999-content.py.patch b/app-misc/everpad/files/everpad-9999-content.py.patch
new file mode 100644
index 0000000..6f58faa
--- /dev/null
+++ b/app-misc/everpad/files/everpad-9999-content.py.patch
@@ -0,0 +1,13 @@
+diff --git a/everpad/pad/editor/content.py b/everpad/pad/editor/content.py
+index fa368de..bfb1acb 100644
+--- a/everpad/pad/editor/content.py
++++ b/everpad/pad/editor/content.py
+@@ -145,7 +145,7 @@ class ContentEdit(QObject):
+ os.path.dirname(__file__), 'editor.html',
+ )
+ if not os.path.exists(_editor_path):
+- _editor_path = resource_filename('share/everpad/editor.html')
++ _editor_path = resource_filename('everpad/editor.html')
+
+ _html = open(_editor_path).read()
+
diff --git a/app-misc/everpad/files/everpad-9999-everpad.desktop.patch b/app-misc/everpad/files/everpad-9999-everpad.desktop.patch
new file mode 100644
index 0000000..3b0ea04
--- /dev/null
+++ b/app-misc/everpad/files/everpad-9999-everpad.desktop.patch
@@ -0,0 +1,41 @@
+diff --git a/data/everpad.desktop b/data/everpad.desktop
+index d773e41..d6fbef6 100644
+--- a/data/everpad.desktop
++++ b/data/everpad.desktop
+@@ -1,30 +1,30 @@
+ [Desktop Entry]
+-Version=0.1
++Version=1.0
+ Name=Everpad
+ GenericName=Everpad
+ Comment=Evernote client
+ Comment[ru]=Клиент для Evernote
+ Exec=everpad %U
+ Terminal=false
+-Icon=everpad.png
++Icon=everpad
+ Type=Application
+ Categories=Network;
+ X-Ayatana-Desktop-Shortcuts=NewNote;Settings
+-MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-gray;image/x-icb;image/x-ico;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-pcx;image/svg+xml;image/svg+xml-compressed;image/vnd.wap.wbmp;application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;image/vnd.djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;audio/wav;audio/mpeg;
++MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-gray;image/x-icb;image/x-ico;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-pcx;image/svg+xml;image/svg+xml-compressed;image/vnd.wap.wbmp;application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;image/vnd.djvu;application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;audio/wav;audio/mpeg;
+
+-[Settings Shortcut Group]
++[X-ShowAllNotes Shortcut Group]
+ Name=Show all notes
+ Name[ru]=Все заметки
+ Exec=everpad --all-notes
+ TargetEnvironment=Unity
+
+-[NewNote Shortcut Group]
++[X-NewNote Shortcut Group]
+ Name=Create Note
+ Name[ru]=Создать заметку
+ Exec=everpad --create
+ TargetEnvironment=Unity
+
+-[Settings Shortcut Group]
++[X-Settings Shortcut Group]
+ Name=Settings and Management
+ Name[ru]=Настройки и Управление
+ Exec=everpad --settings