From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 945AA138359 for ; Fri, 25 Sep 2020 20:32:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE5BBE0827; Fri, 25 Sep 2020 20:32:54 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C876CE0827 for ; Fri, 25 Sep 2020 20:32:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2BCE340CCF for ; Fri, 25 Sep 2020 20:32:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F40FA388 for ; Fri, 25 Sep 2020 20:32:50 +0000 (UTC) From: "Adam Feldman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Adam Feldman" Message-ID: <1601065940.85de3c6f2da46d605d290601e3e59983ee550391.np-hardass@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mate-extra/caja-dropbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: mate-extra/caja-dropbox/caja-dropbox-1.24.0-r1.ebuild X-VCS-Directories: mate-extra/caja-dropbox/ X-VCS-Committer: np-hardass X-VCS-Committer-Name: Adam Feldman X-VCS-Revision: 85de3c6f2da46d605d290601e3e59983ee550391 X-VCS-Branch: master Date: Fri, 25 Sep 2020 20:32:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ffc47779-006c-4afc-aafe-da4e9976b3f9 X-Archives-Hash: 1d1c25a2b66be1029375bd353981cb70 commit: 85de3c6f2da46d605d290601e3e59983ee550391 Author: Adam Feldman gentoo org> AuthorDate: Sun Sep 6 20:14:08 2020 +0000 Commit: Adam Feldman gentoo org> CommitDate: Fri Sep 25 20:32:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85de3c6f mate-extra/caja-dropbox: Drop 'dropbox' group, GLEP 81 compliance Bug:https://bugs.gentoo.org/735972 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Adam Feldman gentoo.org> .../caja-dropbox/caja-dropbox-1.24.0-r1.ebuild | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/mate-extra/caja-dropbox/caja-dropbox-1.24.0-r1.ebuild b/mate-extra/caja-dropbox/caja-dropbox-1.24.0-r1.ebuild new file mode 100644 index 00000000000..6632e04a229 --- /dev/null +++ b/mate-extra/caja-dropbox/caja-dropbox-1.24.0-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7,8} ) +MATE_LA_PUNT="yes" + +inherit eapi7-ver mate python-single-r1 linux-info + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Store, Sync and Share Files Online" +LICENSE="CC-BY-ND-3.0 GPL-3+ public-domain" +SLOT="0" + +IUSE="debug" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-libs/atk + >=dev-libs/glib-2.50:2 + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + ') + >=mate-base/caja-1.19.1 + mate-extra/caja-extensions + media-libs/fontconfig:1.0 + media-libs/freetype:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.22:3 + x11-libs/libXinerama + x11-libs/pango +" + +RDEPEND="${COMMON_DEPEND} + net-misc/dropbox +" + +DEPEND="${COMMON_DEPEND} + dev-python/docutils + virtual/pkgconfig +" + +CONFIG_CHECK="~INOTIFY_USER" + +pkg_setup() { + python-single-r1_pkg_setup + check_extra_config +} + +MATE_FORCE_AUTORECONF=true + +src_prepare() { + # Use system dropbox. + sed -e "s|~/[.]dropbox-dist|/opt/dropbox|" \ + -e 's|\(DROPBOXD_PATH = \).*|\1"/opt/dropbox/dropboxd"|' \ + -i caja-dropbox.in || die + + sed -e 's|\[rst2man\]|\[rst2man\.py\]|' -i configure.ac || die + + mate_src_prepare +} + +src_configure() { + mate_src_configure \ + $(use_enable debug) +} + +src_install() { + python_fix_shebang caja-dropbox.in + + mate_src_install +} + +pkg_postinst() { + mate_pkg_postinst + + for v in ${REPLACING_VERSIONS}; do + if ver_test "${v}" "-lt" "1.24.0-r1" || ver_test "${v}" "-eq" "9999"; then + ewarn "Starting with ${CATEGORY}/${PN}-1.24.0-r1, ${PN} now no longer" + ewarn "configures caja-dropbox to use its own group. This brings caja-dropbox in line" + ewarn "with nautilus-dropbox and dolphin-plugins-dropbox. You may remove the 'dropbox' group." + fi + done +}