diff options
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/Manifest.gz | bin | 49750 -> 49755 bytes | |||
-rw-r--r-- | app-misc/ranger/Manifest | 6 | ||||
-rw-r--r-- | app-misc/ranger/metadata.xml | 20 | ||||
-rw-r--r-- | app-misc/ranger/ranger-1.9.3-r1.ebuild | 41 | ||||
-rw-r--r-- | app-misc/ranger/ranger-9999.ebuild | 38 |
5 files changed, 79 insertions, 26 deletions
diff --git a/app-misc/Manifest.gz b/app-misc/Manifest.gz Binary files differindex 63614f3d1a7f..0e3f3b95a8e6 100644 --- a/app-misc/Manifest.gz +++ b/app-misc/Manifest.gz diff --git a/app-misc/ranger/Manifest b/app-misc/ranger/Manifest index ac62a43aaa74..4895a7be4843 100644 --- a/app-misc/ranger/Manifest +++ b/app-misc/ranger/Manifest @@ -1,4 +1,6 @@ +DIST ranger-1.9.3.gh.tar.gz 280363 BLAKE2B 2698f82773aae0224e7385413a1f939cdd4b3374eddad496781a42b054e26a8d7e5944bf19bc846736a9171df317c0dbc3c8bdf83c6ca9bdb95de17f9229809e SHA512 5cd7bea714a6542d0a5445f5f0cf929b2df4377df3ef710f3786c6c46dd58b017a8060cde3969076637bfaac03c13297d3020fd82f4574dc49546ca223c0e8d3 DIST ranger-1.9.3.tar.gz 280363 BLAKE2B 2698f82773aae0224e7385413a1f939cdd4b3374eddad496781a42b054e26a8d7e5944bf19bc846736a9171df317c0dbc3c8bdf83c6ca9bdb95de17f9229809e SHA512 5cd7bea714a6542d0a5445f5f0cf929b2df4377df3ef710f3786c6c46dd58b017a8060cde3969076637bfaac03c13297d3020fd82f4574dc49546ca223c0e8d3 +EBUILD ranger-1.9.3-r1.ebuild 989 BLAKE2B e6763dbef34f6332a18a6439ed892f08209e030dee4a45319b360ae8d2f55c33c642cbc4181de4f5851e00554b207bcc4c5d2350454fc36a595b30a4fd9c43a5 SHA512 2562e079d67390e701f33004e2ff776b34d98ffb9b53322b5d75e57b90da85aef195e964a40c242bafbcd577be11a60a26584011708cb297e8176b58041282ea EBUILD ranger-1.9.3.ebuild 965 BLAKE2B 3af75ea9430f89f073795a6601d1a51df7075414121518997f004ae01c42fa647871f6aecd1ed59e3ee21c4980bfc43c3464ffb8c14f8e538d10dd5865771283 SHA512 6541f765f51bebd5d8dcbafc6f6d82bc3e8ccd4e4f534b3330870ef467d937636698e20b42a8e393cc36a84921367227e5c5aa8d02589a548b7b0736e312f627 -EBUILD ranger-9999.ebuild 960 BLAKE2B c731be31b563ac78e6e169b0b42fa7f5fb322cc31da4ccfd357e1b559c3374000801be0e371a3df9acc5a008fed7254f542aaa512a3cc1cd9d587bddfef69039 SHA512 f8f482af53baa85412cef9d53869119e26ab3f31ed14568d3ef97372b23268f7fbfd41e4a4b830f761c82d7d45c2c791b748e4c98bb6dd65023257897f29254e -MISC metadata.xml 616 BLAKE2B 8a5f915058db671b006133a4ff3d7ae9c769ce5a198503037bd5fb711d77026e3d229b59b8ce795768d47172fa2e3f9f92f371f299c5fc2762d517630550a406 SHA512 618cbf5326aa110cfe48f963ef764f1e179a9cf870adc9e7f2e108eb684b1f50f9ee9dd2277376109f4ed5179f4e7a8ad9f4133cb910cc39b415195bbe928823 +EBUILD ranger-9999.ebuild 1023 BLAKE2B f2a4fd993106e61cc8b9d03c0df8b29286839372ed059c75de3f6074dbf30991aa65c65aab27b68f2aeae9c2e194777a624aee30cd8d2004bb71d28a7de88e8c SHA512 84c36cc03357cc29031aca3c521f75638151965e074966fe3bb4a0fc84a9452a2d827dc44127a80c7a5dbabc54c605ae5f0b590408fa1864a6e68cc44b209be2 +MISC metadata.xml 762 BLAKE2B 1b697fe8928780b65dc7a56f3ab494e405edf64f9e467ed02e4cbdc860db4f28ebd1842d5e27b512686649fc0717ac4ca7cb353f2edbeb25b0fd7f512f1c5d62 SHA512 26f3e1a0ae158cbdff8f0a4a4ae0b88a2bda95e53ee2c7f8838a4edc9dbd4d76c5f56d0eea337146dc5d3933e8dbd6ca9399e8b459dd5e7214b2328d9ee80cb5 diff --git a/app-misc/ranger/metadata.xml b/app-misc/ranger/metadata.xml index 95a700aaa70b..ff6abe0ce768 100644 --- a/app-misc/ranger/metadata.xml +++ b/app-misc/ranger/metadata.xml @@ -1,15 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <longdescription lang="en"> - Ranger is a console file manager that gives you greater flexibility and a - good overview of your files without having to leave your console. It - visualizes the directory tree in two dimensions: the directory hierarchy on - one, lists of files on the other, with a preview to the right so you know - where you'll be going. + <maintainer type="person"> + <email>ionen@gentoo.org</email> + <name>Ionen Wolkens</name> + </maintainer> + <stabilize-allarches/> + <longdescription> + Ranger is a console file manager that gives you greater + flexibility and a good overview of your files without + having to leave your console. It visualizes the directory + tree in two dimensions: the directory hierarchy on one, + lists of files on the other, with a preview to the right + so you know where you'll be going. </longdescription> <upstream> <remote-id type="github">ranger/ranger</remote-id> + <remote-id type="pypi">ranger-fm</remote-id> </upstream> </pkgmetadata> diff --git a/app-misc/ranger/ranger-1.9.3-r1.ebuild b/app-misc/ranger/ranger-1.9.3-r1.ebuild new file mode 100644 index 000000000000..7343792b5712 --- /dev/null +++ b/app-misc/ranger/ranger-1.9.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ncurses" +inherit distutils-r1 xdg + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/ranger/ranger.git" +else + SRC_URI="https://github.com/ranger/ranger/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~ppc ~riscv ~x86" +fi + +DESCRIPTION="Vim-inspired file manager for the console" +HOMEPAGE="https://ranger.github.io/" + +LICENSE="GPL-3" +SLOT="0" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die +} + +pkg_postinst() { + xdg_pkg_postinst + + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "${PN^} has many optional dependencies to support enhanced file previews." + elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for more details." + fi +} diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild index dc221309a87d..c39995cbb730 100644 --- a/app-misc/ranger/ranger-9999.ebuild +++ b/app-misc/ranger/ranger-9999.ebuild @@ -1,41 +1,45 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -PYTHON_COMPAT=( python3_{8..11} ) -PYTHON_REQ_USE="ncurses" +EAPI=8 +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_REQ_USE="ncurses" inherit distutils-r1 xdg -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/ranger/ranger.git" +if [[ ${PV} == 9999 ]]; then inherit git-r3 + EGIT_REPO_URI="https://github.com/ranger/ranger.git" else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~x86" + SRC_URI="https://github.com/ranger/ranger/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~ppc ~riscv ~x86" fi -DESCRIPTION="A vim-inspired file manager for the console" +DESCRIPTION="Vim-inspired file manager for the console" HOMEPAGE="https://ranger.github.io/" + LICENSE="GPL-3" SLOT="0" -RDEPEND="virtual/pager" - distutils_enable_tests pytest -src_prepare() { - # use versioned doc path - sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die +EPYTEST_IGNORE=( + tests/pylint +) +src_prepare() { distutils-r1_src_prepare + + sed -i "s|share/doc/ranger|share/doc/${PF}|" setup.py doc/ranger.1 || die } pkg_postinst() { xdg_pkg_postinst - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "Ranger has many optional dependencies to support enhanced file previews." - elog "See the README or homepage for more details." + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "${PN^} has many optional dependencies to support enhanced file previews." + elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for more details." fi } |