diff options
-rw-r--r-- | app-backup/nautilus-dropbox/Manifest | 7 | ||||
-rw-r--r-- | app-backup/nautilus-dropbox/nautilus-dropbox-0.5.0.ebuild | 53 | ||||
-rw-r--r-- | app-backup/nautilus-dropbox/nautilus-dropbox-0.6.2.ebuild (renamed from app-backup/nautilus-dropbox/nautilus-dropbox-0.6.0.ebuild) | 31 |
3 files changed, 21 insertions, 70 deletions
diff --git a/app-backup/nautilus-dropbox/Manifest b/app-backup/nautilus-dropbox/Manifest index 15bb23e..e098fb7 100644 --- a/app-backup/nautilus-dropbox/Manifest +++ b/app-backup/nautilus-dropbox/Manifest @@ -1,7 +1,4 @@ -DIST dbcli.py 11731 RMD160 71a9e4d317c470e3f7fb5345c42ddb23ff67a2f5 SHA1 dceb7f0d4fbd9817d9925e44e9cf14a2d6e98fae SHA256 9fd4914951ac394443e71d4382f59aebbb846be18c88234ec571a940e3affbc2 -DIST nautilus-dropbox-0.5.0.tar.bz2 279130 RMD160 00eb7433c4483073eb04478c0c2f00bbea65d05e SHA1 834b44b6296b8eb867a30ecc988e25c87b557a15 SHA256 d29bdf03b147318d3c6a5c5287bab07f0e357d98cde49ac32624e4ca0c3e433c -DIST nautilus-dropbox-0.6.0.tar.bz2 306201 RMD160 11d3111a86d01d60b4c1fe6ceee76b0543fab585 SHA1 ca6de722f4a718e9f1e3404d6c363ff61b2cb355 SHA256 fbc59b758b19b5509f97d8bd2d3ab5f00de94475e7714010e75949ad8323c8ff DIST nautilus-dropbox-0.6.1.tar.bz2 306545 RMD160 52638938e453dc3b7e13d52fda41c964d6338892 SHA1 c22c91a368fc03daac44db95d43fb9aa6ff0a92a SHA256 104520fc0a16c733cfd1e9a4ffa0ab1f4ad9a2a5dbf15357011ea3b9c331e36f -EBUILD nautilus-dropbox-0.5.0.ebuild 1343 RMD160 555f7080aae34907a3b58037fce90d69c0181d05 SHA1 eba85600d3eff827ad4831ef17c4002ecdc701d2 SHA256 03056cd4b0e800ebb07f55c4f5466580235bfbb90ffd0f791abf1a4dcbf6fef9 -EBUILD nautilus-dropbox-0.6.0.ebuild 1478 RMD160 2a53feffef2babaf4b02cdfc39ed746595ea83f6 SHA1 08edd44fa0ab3bcd689522941419b5258ce1eac3 SHA256 b31deccbeb70a4ea245d2ddb3085e6b184be306372b28ece2fcac5dec677d1ec +DIST nautilus-dropbox-0.6.2.tar.bz2 320684 RMD160 fc1744d0c53de9a0d96633e82acab61e9f1b35e4 SHA1 335f81f847c3fb4261ae40bed360e27cfc541ec2 SHA256 8d0f47f9e33a4d35132b9e618d692cf9f950d91f79f12b6f0f88d6a38d921f2d EBUILD nautilus-dropbox-0.6.1.ebuild 1480 RMD160 6022ba8fd61a17647c381e291711b5e193b17317 SHA1 a7431e6e4c53c5f32dbfd5fa1444f85abaaa4c38 SHA256 ba32db35e188953aa7b6c2e1bc50ec96f235740997e3129b989ae9587ab99c42 +EBUILD nautilus-dropbox-0.6.2.ebuild 1610 RMD160 b9c3f5df7550c8463f9733193e2315ca86be5aef SHA1 24364c7565b46c676aefe491e8a915f8372c7147 SHA256 f3ad080e70969f0fd9f9112b70dd2295e4487f01094631e4b4a28f025a5f675d diff --git a/app-backup/nautilus-dropbox/nautilus-dropbox-0.5.0.ebuild b/app-backup/nautilus-dropbox/nautilus-dropbox-0.5.0.ebuild deleted file mode 100644 index d1a47aa..0000000 --- a/app-backup/nautilus-dropbox/nautilus-dropbox-0.5.0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit gnome2 eutils multilib - -DESCRIPTION="Store, Sync and Share Files Online" -HOMEPAGE="http://www.getdropbox.com/" -SRC_URI="http://www.getdropbox.com/download?dl=packages/${P}.tar.bz2 - http://dl.getdropbox.com/u/43645/dbcli.py" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="debug" - -RDEPEND=">=gnome-base/nautilus-2.16 - >=x11-libs/gtk+-2.12 - >=net-misc/wget-1.10 - >=dev-libs/glib-2.14 - >=x11-libs/libnotify-0.4.4" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -DOCS="AUTHORS ChangeLog NEWS README" - -pkg_setup () { - G2CONF="${G2CONF} $(use_enable debug)" - - # create the group for the daemon, if necessary - # truthfully this should be run for any dropbox plugin - enewgroup dropbox -} - -src_install () { - gnome2_src_install - - # Allow only for users in the dropbox group - # see http://forums.getdropbox.com/topic.php?id=3329&replies=5#post-22898 - fowners root:dropbox /usr/$(get_libdir)/nautilus/extensions-2.0/libnautilus-dropbox.{a,la,so} - fperms 640 /usr/$(get_libdir)/nautilus/extensions-2.0/libnautilus-dropbox.{a,la,so} - - dobin "${DISTDIR}/dbcli.py" -} - -pkg_postinst () { - gnome2_pkg_postinst - - elog - elog "Add any users who wish to have access to the dropbox nautilus" - elog "plugin to the group 'dropbox'." - elog -} diff --git a/app-backup/nautilus-dropbox/nautilus-dropbox-0.6.0.ebuild b/app-backup/nautilus-dropbox/nautilus-dropbox-0.6.2.ebuild index 98eb24c..8548f88 100644 --- a/app-backup/nautilus-dropbox/nautilus-dropbox-0.6.0.ebuild +++ b/app-backup/nautilus-dropbox/nautilus-dropbox-0.6.2.ebuild @@ -1,49 +1,56 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit gnome2 eutils +EAPI="2" +PYTHON_DEPEND="2" +inherit eutils gnome2 python DESCRIPTION="Store, Sync and Share Files Online" -HOMEPAGE="http://www.getdropbox.com/" -SRC_URI="http://www.getdropbox.com/download?dl=packages/${P}.tar.bz2" +HOMEPAGE="http://www.dropbox.com/" +SRC_URI="http://www.dropbox.com/download?dl=packages/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="debug" RDEPEND=">=gnome-base/nautilus-2.16 >=dev-libs/glib-2.14 dev-python/pygtk - dev-python/docutils >=x11-libs/gtk+-2.12 - >=net-misc/wget-1.10 >=x11-libs/libnotify-0.4.4" DEPEND="${RDEPEND} + dev-python/docutils dev-util/pkgconfig" DOCS="AUTHORS ChangeLog NEWS README" G2CONF="${G2CONF} $(use_enable debug)" -pkg_setup () { +pkg_setup() { # create the group for the daemon, if necessary # truthfully this should be run for any dropbox plugin enewgroup dropbox + + python_set_active_version 2 } -src_install () { +src_prepare() { + gnome2_src_prepare + python_convert_shebangs 2 dropbox.in || die +} +src_install() { gnome2_src_install # Allow only for users in the dropbox group # see http://forums.getdropbox.com/topic.php?id=3329&replies=5#post-22898 local extensiondir="$(pkg-config --variable=extensiondir libnautilus-extension)" - fowners root:dropbox "${extensiondir}"/libnautilus-dropbox.{a,la,so} - fperms 640 "${extensiondir}"/libnautilus-dropbox.{a,la,so} + fowners root:dropbox "${extensiondir}"/libnautilus-dropbox.{a,la,so} || die + fperms o-rwx "${extensiondir}"/libnautilus-dropbox.{a,la,so} || die } -pkg_postinst () { +pkg_postinst() { gnome2_pkg_postinst elog "Add any users who wish to have access to the dropbox nautilus" |