Merge pull request 'Add ebuild supporting python 3.13.' (#164) from feature/dropbox-nautlus-python-3-13 into main
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #164
This commit is contained in:
commit
16bfe9a918
5 changed files with 111 additions and 0 deletions
5
gnome-extra/nautilus-dropbox/Manifest
Normal file
5
gnome-extra/nautilus-dropbox/Manifest
Normal file
|
@ -0,0 +1,5 @@
|
|||
AUX nautilus-dropbox-2019-system-rst2man.patch 464 BLAKE2B c0f25a56ee504a6070efdae70670e1a925a1718cfb5e1345d3acfdb0face02d1278d10f2f7172e172056834f99f309d50bbf5899f37fa6023e743042f6ffd7b8 SHA512 98c9e85a491991fd2afee3a12c8be4ab708ee47a42d08d4a11daefc1e964cb3031ffb94a27ab7758b3f1c71f7343dd4b0a49d24cb8aa2848baf65f83879a6cfb
|
||||
DIST nautilus-dropbox-2024.04.17.tar.bz2 394725 BLAKE2B e617f02fcb6c11fd6937a99c0e2faaebd564d533e6ed44fc0492504fb41612fb297b3c98c84b8c3ecc314e33b27a820e8b655bc6ae92de43ffbb2f4e4d370f9f SHA512 43b7a0eaf3b7ebc35fa21a5d11dc1089b62fd0a414079a55fbb4ef7cb8211923123c46bec06c3b73eacd5897b7b8b2ae336de7b15750f0802eb28a23ec9e56bd
|
||||
EBUILD nautilus-dropbox-2024.04.17-r1.ebuild 1366 BLAKE2B 1b74579ef680bd6082cc6a67daba2cd7dad7b4802395cc19f5748511a62cef8e6623320cf5d8d6f8a0843bd6103ce5b5ea576abf3fff02f448ccb26ee0dc96f7 SHA512 f8d27b3885c8cb3acb8a80adfba554a4e516327c6a21d8e22b9411b3a37e46e2c13d3269a158f93f9123ad27e56580b4b6ac30663ffcf5b9ed3aacf92b9bbd4b
|
||||
MISC metadata.xml 444 BLAKE2B 005df2e1ee3656e09b801e581b388f7f0b26ed555bf6f12185a1ddc109dd17fa67e8b9affcc62e702d4a6fb3728faba0736bf0c845b7f6078314eb64f5271911 SHA512 680a197a3b3172d09247b2e2d4ce1b53097f1451e08bc3651913bf80a71f0202f76fed11ea57cc98ee826130b18189a874f4580a901efc39151f4dede83f2b29
|
||||
MISC nautilus-dropbox-2024.04.17-r1.ebuild~ 1368 BLAKE2B 35eb694241f3fec19c23ff700ab4dc0d58a9740b726e1472a543eeb490a1e05c5ea995ee241c18519b279b13e9e6890293a38a07abe6f7005632cc72b8af06ea SHA512 edaff11a0b729970d6eb8249ede5b51ef1ef04a150507a9face394977d48b3410ee710e673de82c42d93947d0df8e22a62cb6f7eea85a526ca87bf369453c744
|
|
@ -0,0 +1,13 @@
|
|||
Index: nautilus-dropbox-0.7.0/configure.ac
|
||||
===================================================================
|
||||
--- nautilus-dropbox-0.7.0.orig/configure.ac
|
||||
+++ nautilus-dropbox-0.7.0/configure.ac
|
||||
@@ -31,7 +31,7 @@ PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLI
|
||||
|
||||
AC_PATH_PROG([PYTHON], [python])
|
||||
|
||||
-AC_PATH_PROG([RST2MAN], [rst2man], [python3 rst2man.py])
|
||||
+AC_PATH_PROG([RST2MAN], [rst2man.py], [python rst2man.py])
|
||||
AC_SUBST(RST2MAN)
|
||||
|
||||
# define module checking macro
|
11
gnome-extra/nautilus-dropbox/metadata.xml
Normal file
11
gnome-extra/nautilus-dropbox/metadata.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">dropbox/nautilus-dropbox</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
A extension of nautilus to display the sync state of an Dropbox folder and add a right click menu to mange files in the Dropbox folder.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
|
@ -0,0 +1,65 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_13 )
|
||||
|
||||
inherit autotools python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="Dropbox Nautilus Extension"
|
||||
HOMEPAGE="https://github.com/dropbox/nautilus-dropbox"
|
||||
SRC_URI="https://linux.dropboxstatic.com/packages/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3 CC-BY-ND-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]' )
|
||||
dev-libs/glib:2
|
||||
gui-libs/gtk:4
|
||||
>=gnome-base/nautilus-43
|
||||
net-misc/dropbox
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
$(python_gen_cond_dep 'dev-python/docutils[${PYTHON_USEDEP}]' )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# use system rst2man
|
||||
PATCHES=(
|
||||
# use system rst2man
|
||||
"${FILESDIR}/${PN}-2019-system-rst2man.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# use system dropbox
|
||||
sed \
|
||||
-e "s|~/[.]dropbox-dist|${EPREFIX}/opt/dropbox|" \
|
||||
-e "s|\(DROPBOXD_PATH = \).*|\1\"${EPREFIX}/opt/dropbox/dropboxd\"|" \
|
||||
-i dropbox.in || die
|
||||
AT_NOELIBTOOLIZE=yes eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# removes files which conflicts with system dropbox
|
||||
rm -r "${ED}"/usr/share/applications || die
|
||||
rm -r "${ED}"/usr/bin || die
|
||||
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
BDEPEND=python_single_target_python3_13? ( dev-python/docutils[python_targets_python3_13(-)] ) virtual/pkgconfig sys-devel/gnuconfig >=app-portage/elt-patches-20250306 || ( >=dev-build/automake-1.17-r1:1.17 >=dev-build/automake-1.16.5:1.16 ) || ( >=dev-build/autoconf-2.72-r1:2.72 ) >=dev-build/libtool-2.4.7-r3
|
||||
DEFINED_PHASES=configure install postinst postrm preinst prepare setup
|
||||
DEPEND=python_single_target_python3_13? ( dev-lang/python:3.13 ) python_single_target_python3_13? ( dev-python/pygobject:3[python_targets_python3_13(-)] ) dev-libs/glib:2 gui-libs/gtk:4 >=gnome-base/nautilus-43 net-misc/dropbox
|
||||
DESCRIPTION=Dropbox Nautilus Extension
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/dropbox/nautilus-dropbox
|
||||
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
INHERIT=autotools python-single-r1 xdg
|
||||
IUSE=debug +python_single_target_python3_13
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-3 CC-BY-ND-3.0
|
||||
RDEPEND=python_single_target_python3_13? ( dev-lang/python:3.13 ) python_single_target_python3_13? ( dev-python/pygobject:3[python_targets_python3_13(-)] ) dev-libs/glib:2 gui-libs/gtk:4 >=gnome-base/nautilus-43 net-misc/dropbox
|
||||
REQUIRED_USE=^^ ( python_single_target_python3_13 )
|
||||
SLOT=0
|
||||
SRC_URI=https://linux.dropboxstatic.com/packages/nautilus-dropbox-2024.04.17.tar.bz2
|
||||
_eclasses_=gnuconfig ddeb9f8caff1b5f71a09c75b7534df79 toolchain-funcs f9d71a6efe9d083aec750dd13968e169 libtool c81bd096be5f4c82f4e8f156ef112402 autotools 35f9bf6198bb538e28dcdea5fda274f2 multiprocessing 1e32df7deee68372153dca65f4a7c21f python-utils-r1 de71d9571aa267f353b9e8ab4666732e python-single-r1 47d8ac9be330c9366112b78fd4f8ce57 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 xdg 3ef49a87c52c8b77c476351195dfe575
|
||||
_md5_=8d292d4129ea8a9a705668dbf72d4434
|
Loading…
Add table
Add a link
Reference in a new issue