summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2015-10-29 16:31:40 +0300
committerSergey Popov <pinkbyte@gentoo.org>2015-10-29 16:32:11 +0300
commit6a4cd1305e76528af4218872d31697e5cadd6805 (patch)
tree81d74fa07c1e13c7382a973ed474821a0ae85b41 /net-misc
parentx11-base/xorg-server: fix crash with xproto-7.0.28, silence repoman warnings (diff)
downloadgentoo-6a4cd1305e76528af4218872d31697e5cadd6805.tar.gz
gentoo-6a4cd1305e76528af4218872d31697e5cadd6805.tar.bz2
gentoo-6a4cd1305e76528af4218872d31697e5cadd6805.zip
net-misc/yandex-disk: version bump, install locales and man page
Package-Manager: portage-2.2.23
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/yandex-disk/Manifest2
-rw-r--r--net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/net-misc/yandex-disk/Manifest b/net-misc/yandex-disk/Manifest
index 4a41aaba21fe..0fe2de98c09b 100644
--- a/net-misc/yandex-disk/Manifest
+++ b/net-misc/yandex-disk/Manifest
@@ -2,3 +2,5 @@ DIST yandex-disk-0.1.5.758-1.fedora.i386.rpm 3983558 SHA256 b89b294ea006d28b78c7
DIST yandex-disk-0.1.5.758-1.fedora.x86_64.rpm 4342203 SHA256 1141a27d70041d81c73f38a8f22b841366cf88c0cd7f3980e4ad2e18a9b2c9ac SHA512 28a720cb0147bb43d8d6e0d9454c2cacf849d7b83f0110d6a01bb9b68ad882701981e8bed880fec112ca76d554b3fc92654df0e0b2498bb7e6cc7871059ef6e3 WHIRLPOOL a2e5e78ebff86cd8adad25af3afd1b463c6a2ef79bb3b569b5136f1215a305f3c9ff15bf5cfbc434f813810ac7dd6c5bc3909762136cc3cb67b00fab1320c1f3
DIST yandex-disk-0.1.5.870-1.fedora.i386.rpm 3999971 SHA256 63ef9759844e168ba7042264d406a52dd81d6c986d33706c1b88076223ed35d1 SHA512 ae2d8f6c4b9d76dc7af08543bf20bb6c2cece0d13d0377e2de516a73e3e0916f91539b969c65a2ebd4b321081957766c95c4590698b44b6cf744c28ed4934cf7 WHIRLPOOL d3bce8c44068502eef284ecf9054b642867551c547d9df0dcd089115a3592c786a5fd2064c150bb76c02ccefbcdecd61ec7814340ed389a7de5c241a584e9cd3
DIST yandex-disk-0.1.5.870-1.fedora.x86_64.rpm 4389161 SHA256 31fc1181dd72011e94387d382f08c3b061723767a90d42028598d26d50a03318 SHA512 7494f6c12bbe2648a612e1a43ae92170664bd2082b94dc528ae6a27c9c0cfdabbc2048e0283b89c7c754836fdb6d11d36d0c4052ffb9afe8bbf1fb9fb5944685 WHIRLPOOL d830f733496422f57284e3b3e3e0e956a854f3aa75a7d75e8a2c8cf3f4d1a37f5c23cb52b046fe5e8376e545e53962b633e78bd68e7bd22589668a00eaf64361
+DIST yandex-disk-0.1.5.940-1.fedora.i386.rpm 4551033 SHA256 215d14af442651d2268b64abd9f5593c033f3af7a301f6c1f2c693149c626007 SHA512 40438b9b079c3f1fc9c23794abd320b552f9f77c0f7aa4972fd2de94f60b607bc067a56e00bb35597a505e087ecc6ec7089b90d87695320c685abbf4af735db4 WHIRLPOOL fdb9bd864a213a8b299352e465c6f8676f97da996bf9dcae51c08d5a7902172009fa94d4ab36cff28498fd1b2df335ea0d30f661f18a60c56dc612aa69fa9631
+DIST yandex-disk-0.1.5.940-1.fedora.x86_64.rpm 4349853 SHA256 58f8beae3715893b2f982391107b819492ce6e7536c373c894e5bd0fbe3929b7 SHA512 0e52eb6275a349191b56d89a1e288c7112a8f93c31d4017787ede0a1fd7b69666f8425abb0309500361cbdd56e850e2380f74730d5ace97f1b3e4dd2c5eed6fb WHIRLPOOL 87f84e459bb9a02aa9a4e7cf745591db0bf97c29d1075bf64186e4fd49c00dd150dc03236c65d905f23f365438dd92650352ece435009561d8ea98bd711a520e
diff --git a/net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild b/net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild
new file mode 100644
index 000000000000..c83d92d2b2e6
--- /dev/null
+++ b/net-misc/yandex-disk/yandex-disk-0.1.5.940_p1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit bash-completion-r1 eutils rpm
+
+MY_P="${PN}-${PV/_p/-}"
+
+DESCRIPTION="CLI to access Yandex Disk file storage service"
+HOMEPAGE="https://disk.yandex.ru"
+SRC_URI="
+ amd64? ( http://repo.yandex.ru/yandex-disk/rpm/stable/x86_64/${MY_P}.fedora.x86_64.rpm )
+ x86? ( http://repo.yandex.ru/yandex-disk/rpm/stable/i386/${MY_P}.fedora.i386.rpm )
+"
+
+LICENSE="YDSLA"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="sys-libs/zlib"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="opt/bin/yandex-disk"
+
+src_prepare() {
+ # bug #526312
+ sed -i \
+ -e '/have /d' \
+ -e 's/+o nospace/-o nospace/' \
+ -e '/^complete/s/-X //' \
+ etc/bash_completion.d/yandex-disk-completion.bash || die
+
+ epatch_user
+}
+
+src_install() {
+ exeinto /opt/bin
+ doexe usr/bin/yandex-disk
+ newbashcomp etc/bash_completion.d/yandex-disk-completion.bash "${PN}"
+ doman usr/share/man/man1/*.gz
+ insinto /usr/share
+ doins -r usr/share/locale
+}