diff options
Diffstat (limited to 'dev-python/nautilus-python')
-rw-r--r-- | dev-python/nautilus-python/Manifest | 2 | ||||
-rw-r--r-- | dev-python/nautilus-python/nautilus-python-4.0.1.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/nautilus-python/Manifest b/dev-python/nautilus-python/Manifest index 676a76370513..36dc1bd4589f 100644 --- a/dev-python/nautilus-python/Manifest +++ b/dev-python/nautilus-python/Manifest @@ -1,3 +1,5 @@ +DIST nautilus-python-4.0.1.tar.xz 32236 BLAKE2B 822812ac86bbfa9e3978468968ec9291cf2f95ab4954cffeebe62f4d297b5816ad1a59cf04bbc31a146c0858e45509a4b5988789f17e7b76c4221e9c6fb1e285 SHA512 24e64af1c1cb8c70a4ea53bb064baf681d8848b2e8b549f682913a4883260b3f2384f985285d17e03736e414503ab82ea79bade9bcbe482a2cbecbb0a8356cea DIST nautilus-python-4.0.tar.xz 32184 BLAKE2B cc910de82e54cd687d23541a0b283a70dc5a0626acebf8787110ae1b5a4c080741c0879968816e217a4da968a77169d79b6614dd055f1ae57999a9a49f2553cb SHA512 f70f825b821f266caafd1b347066de01462b8256ec126072042d09dd7fd6c9324847d5ddab65671589d0a411f8b8fed428dbc94806ac679d646861c66c3a0dd5 +EBUILD nautilus-python-4.0.1.ebuild 1208 BLAKE2B 6a55f3ed89d97345ab55b354fdd5c9265d0fff8ba629b0ff9dcf78845239a1e606a266fe989bb413313df0cd7370c1bfeec311dbe857626478f6f6cb87076e22 SHA512 23e38a109923177a31d670d2d51cf3dcd47d1c32155973506b0e799392e4c9b51e0233f79b048c03e44dddc1ec5e6328911b2f0442db0b073e648a1b4a2e4b30 EBUILD nautilus-python-4.0.ebuild 1181 BLAKE2B 5282e78bb133ec70bb9a44eaf1d1a4eac6a662614e70d788aa2f250d0252d7999f8dd6569f0cfc837dfe3725a1dd6360ed6124b44d82de13eed09444884f1dfb SHA512 8578c0fc78a2d7dd85842f6fbba080ad2b31a6982188fb10c464e18f5fc501c5301499a8cf559c5d86a96e941757abef9b59d0cec03ac535dc6fcff53bcdcc6c MISC metadata.xml 356 BLAKE2B faf70d4fbe0451757ccedb3d4c316fd8d4528adc79a559eabb3e8e55e026729d20bcef8113d35d3c0e6f4c17ba36eeae4230cff1876f5c8c2d4ce9a4ba0f9881 SHA512 a17c4dbc5f2f06617086a7b5a9c82eede6236cca667f5fe765ece5eaaba9a909aec03234bd93cab339c0449465df41aade9ac4176a70ab95218485fdf4705a72 diff --git a/dev-python/nautilus-python/nautilus-python-4.0.1.ebuild b/dev-python/nautilus-python/nautilus-python-4.0.1.ebuild new file mode 100644 index 000000000000..e0bbb753f23b --- /dev/null +++ b/dev-python/nautilus-python/nautilus-python-4.0.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit gnome2 meson python-single-r1 + +DESCRIPTION="Python bindings for the Nautilus file manager" +HOMEPAGE="https://projects.gnome.org/nautilus-python/" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="gtk-doc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# Require pygobject:3 and USE=introspection on nautilus for sanity, +# because no (user) plugins could work without them; meson.build +# requires pygobject:3 and >=nautilus-43.0 +RDEPEND=" + >=dev-libs/glib-2.44:2 + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + >=gnome-base/nautilus-43.0[introspection] + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" +BDEPEND=" + gtk-doc? ( dev-util/gtk-doc ) + >=dev-build/gtk-doc-am-1.14 + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_feature gtk-doc docs) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + mv "${ED}/usr/share/doc/${PN}/"* "${ED}/usr/share/doc/${P}" || die + rm -d "${ED}/usr/share/doc/${PN}" || die + + # Directory for systemwide extensions + keepdir /usr/share/nautilus-python/extensions +} |