From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/hydrus/
Date: Thu, 31 Mar 2022 13:36:28 +0000 (UTC) [thread overview]
Message-ID: <1648733786.8cfeb9d38290bd94e74dab35cb8617d28b115eee.juippis@gentoo> (raw)
commit: 8cfeb9d38290bd94e74dab35cb8617d28b115eee
Author: Ekaterina Vaartis <vaartis <AT> kotobank <DOT> ch>
AuthorDate: Sat Mar 26 13:32:52 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 13:36:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cfeb9d3
media-gfx/hydrus: Drop 472, add 478
The program now depends on cbor2
Signed-off-by: Ekaterina Vaartis <vaartis <AT> kotobank.ch>
Closes: https://github.com/gentoo/gentoo/pull/24759
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-gfx/hydrus/Manifest | 2 +-
.../{hydrus-472.ebuild => hydrus-478.ebuild} | 28 ++++++++++++++--------
2 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/media-gfx/hydrus/Manifest b/media-gfx/hydrus/Manifest
index 6feab9e3d28c..112b857a11bf 100644
--- a/media-gfx/hydrus/Manifest
+++ b/media-gfx/hydrus/Manifest
@@ -1,4 +1,4 @@
-DIST hydrus-472.tar.gz 39421962 BLAKE2B 2e7ac5d5169aed1d9437434514d878ce175bfe13116f8972b2a21532e0058ce09d9a55744e17b71d1755ebc8436d6f2ff4995dd81c9a49844aff42e60cd2564f SHA512 5b3eecf724fd2e6dede39bbf33665607294d7f345baf052fe379a241d6ee157550ca390d32bb1b256c1fee2224190b54ba9d7d0718ec10b147580eb1f5216b34
DIST hydrus-473.tar.gz 40044270 BLAKE2B 1aecc84aa60318fadffcf3ad3d8358fa4f537ca1ca55ae7ce02aade0e44b266f42ae94c423854874c471e1d8dc0988e232d19f2e5dd4e2d12834055b75814e9a SHA512 372e813deaef82fe02686e4d7fe5f9ab15476a954b53da8b3560a4cf45ad44209b22b727c32510714ff937b0e6116dae403b3a69954e51c5e62b67bea4eda808
DIST hydrus-474.tar.gz 40052948 BLAKE2B 7d323caf6dee2dc8a1dcf792a5c3383b395374d0e5a8fd88489b08a5b4ad295317cd5ae1da95d5435fb44ea8d4bbe4038d821c037c156e11d8b8c8a8582d67be SHA512 b73f5823ff84cf84710dd1fd9f9bfedffb6ce9ffaba8e4b23a7eda4a6a206aeaa8993632858fab9a5934f4c279fc23955cf045cd38af7ccf78b1eb73a0940bdb
DIST hydrus-476.tar.gz 40139397 BLAKE2B 68a3f31a8f250b2c129a9f2562624ec98994e338112eba4f0953aa96dd95abdb97fc60f6a8f28efb5a660f543f596a344a13fe234b3ffb11e6a158b795b0a11c SHA512 5aa59cc2e4d72219d24de10eaeb99ad5b13c0de3af8d9c7e55e3ccea3b897077596401d4d034aac05c018a969f84507618f95ef70d422ac57075bf2d64a692c5
+DIST hydrus-478.tar.gz 40150962 BLAKE2B d654d2c12de8c8af6212679ed719892bcb6172d0b2120718e1bca7159ea3ab0f509dd01bf7c6f57f7da4d5e711c7b85cd0ce467ebc5fe0b08214085e3ca13cc5 SHA512 eb92071e0c9a0c3d04ef72336feaa55e47d28c523916484090220f30fa137c7d6b09b1d97e214fd191212a54e5d653eba08cfa1fe3f242a488d22cc331279e9b
diff --git a/media-gfx/hydrus/hydrus-472.ebuild b/media-gfx/hydrus/hydrus-478.ebuild
similarity index 81%
rename from media-gfx/hydrus/hydrus-472.ebuild
rename to media-gfx/hydrus/hydrus-478.ebuild
index aa080605c68f..eeb2fa504f8a 100644
--- a/media-gfx/hydrus/hydrus-472.ebuild
+++ b/media-gfx/hydrus/hydrus-478.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -6,7 +6,10 @@ EAPI=7
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_REQ_USE="sqlite"
-inherit python-single-r1 desktop optfeature
+DOCS_BUILDER=mkdocs
+DOCS_DEPEND="dev-python/mkdocs-material"
+
+inherit python-single-r1 desktop docs optfeature
DESCRIPTION="A booru-like media organizer for the desktop"
HOMEPAGE="https://hydrusnetwork.github.io/hydrus/ https://github.com/hydrusnetwork/hydrus"
@@ -36,6 +39,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
+ dev-python/cbor2[${PYTHON_USEDEP}]
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/cloudscraper[${PYTHON_USEDEP}]
dev-python/html5lib[${PYTHON_USEDEP}]
@@ -82,14 +86,13 @@ src_prepare() {
rm -r bin/ || die
# Build files used for CI, not actually needed
rm -r static/build_files || die
- # Duplicate license file, not needed
- rm license.txt || die
# Python requirements files, not needed
rm requirements_*.txt || die
}
src_compile() {
python_optimize "${S}"
+ docs_compile
}
src_test() {
@@ -107,18 +110,23 @@ src_install() {
mv "help my client will not boot.txt" "help_my_client_will_not_boot.txt" || die
- local DOCS=(COPYING README.md Readme.txt help_my_client_will_not_boot.txt db/)
- local HTML_DOCS=("${S}"/help/)
+ local DOCS=(COPYING README.md help_my_client_will_not_boot.txt db/)
einstalldocs
# Files only needed for testing
rm test.py hydrus/hydrus_test.py || die
rm -r hydrus/test/ static/testing/ || die
- # These files are copied into doc
- rm -r "${DOCS[@]}" "${HTML_DOCS[@]}" || die
- # The program expects to find documentation here, so add a symlink to doc
- dosym "${doc}/html/help" /opt/hydrus/help
+ # ${DOCS[@]} files are copied into doc
+ # ${S}/docs/ is the markdown source code for documentation
+ # .gitignore/.github files aren't needed for the program to work, same with mkdocs files
+ rm -r "${DOCS[@]}" "${S}/docs/" .gitignore .github/ mkdocs.yml mkdocs-gh-pages.yml || die
+ if use doc; then
+ # ${S}/_build = ${DOCS_OUTDIR}/.. , these have already been copied, remove before installation
+ rm -r "${S}/_build" || die
+ # The program expects to find documentation here, so add a symlink to doc
+ dosym "${doc}/html" /opt/hydrus/help
+ fi
insinto /opt/hydrus
doins -r "${S}"/.
next reply other threads:[~2022-03-31 13:36 UTC|newest]
Thread overview: 105+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-31 13:36 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-20 16:33 [gentoo-commits] repo/gentoo:master commit in: media-gfx/hydrus/ Nowa Ammerlaan
2024-06-02 0:41 Sam James
2024-03-12 9:54 Joonas Niilola
2024-03-12 9:54 Joonas Niilola
2024-03-12 9:54 Joonas Niilola
2024-03-12 9:54 Joonas Niilola
2023-09-18 16:39 Joonas Niilola
2023-09-18 16:39 Joonas Niilola
2023-09-18 16:39 Joonas Niilola
2023-07-26 3:02 Sam James
2023-07-26 3:02 Sam James
2023-06-18 12:08 Joonas Niilola
2023-06-18 12:08 Joonas Niilola
2023-06-18 12:08 Joonas Niilola
2023-05-20 6:28 Sam James
2023-05-20 6:28 Sam James
2023-05-20 6:28 Sam James
2023-04-10 8:37 Joonas Niilola
2023-04-10 8:37 Joonas Niilola
2023-03-11 17:15 Sam James
2023-03-11 17:15 Sam James
2023-02-26 4:01 Michał Górny
2023-02-26 4:01 Michał Górny
2023-02-13 4:48 Sam James
2023-02-13 4:48 Sam James
2023-02-05 9:13 Joonas Niilola
2023-02-05 9:13 Joonas Niilola
2023-01-07 16:49 Joonas Niilola
2023-01-07 16:49 Joonas Niilola
2023-01-07 16:49 Joonas Niilola
2023-01-07 16:49 Joonas Niilola
2023-01-07 16:49 Joonas Niilola
2023-01-07 16:49 Joonas Niilola
2023-01-07 16:49 Joonas Niilola
2023-01-07 16:49 Joonas Niilola
2022-12-03 8:53 Joonas Niilola
2022-12-03 8:53 Joonas Niilola
2022-12-03 8:53 Joonas Niilola
2022-11-07 19:30 Ionen Wolkens
2022-11-02 14:24 Joonas Niilola
2022-08-27 11:47 Sam James
2022-08-27 11:47 Sam James
2022-08-27 11:47 Sam James
2022-07-29 3:18 Sam James
2022-07-29 3:16 Sam James
2022-07-15 1:47 Sam James
2022-07-02 17:35 Joonas Niilola
2022-05-13 20:12 Sam James
2022-04-21 10:33 Joonas Niilola
2022-04-14 11:51 Joonas Niilola
2022-03-11 14:37 Joonas Niilola
2022-03-10 22:26 Sam James
2022-02-23 4:05 Sam James
2022-02-18 2:44 Sam James
2022-02-18 2:44 Sam James
2022-02-03 2:19 Sam James
2022-01-17 1:57 Sam James
2022-01-17 1:57 Sam James
2022-01-09 1:42 Sam James
2022-01-09 1:42 Sam James
2021-12-24 8:13 Sam James
2021-12-24 8:13 Sam James
2021-12-24 4:47 Sam James
2021-12-01 21:30 Sam James
2021-11-22 10:11 Sam James
2021-11-22 10:11 Sam James
2021-11-12 1:36 Sam James
2021-11-12 1:36 Sam James
2021-10-29 19:17 Sam James
2021-10-29 19:17 Sam James
2021-10-20 2:42 Sam James
2021-10-20 2:42 Sam James
2021-10-20 2:42 Sam James
2021-10-20 2:42 Sam James
2021-10-05 4:29 Sam James
2021-09-10 7:22 Joonas Niilola
2021-09-10 7:22 Joonas Niilola
2021-09-10 7:22 Joonas Niilola
2021-09-04 11:50 Joonas Niilola
2021-09-04 11:50 Joonas Niilola
2021-08-28 16:50 Sam James
2021-08-28 16:50 Sam James
2021-08-24 8:50 Joonas Niilola
2021-08-24 8:50 Joonas Niilola
2021-08-15 17:17 Joonas Niilola
2021-08-15 17:17 Joonas Niilola
2021-08-09 16:40 Joonas Niilola
2021-08-09 16:40 Joonas Niilola
2021-08-09 16:40 Joonas Niilola
2021-08-02 3:34 Sam James
2021-08-02 3:34 Sam James
2021-07-16 1:34 Sam James
2021-07-16 1:34 Sam James
2021-07-13 4:22 Sam James
2021-07-13 4:22 Sam James
2021-07-05 13:29 Michał Górny
2021-07-01 8:54 Sam James
2021-07-01 8:54 Sam James
2021-07-01 8:54 Sam James
2021-07-01 8:54 Sam James
2021-06-29 4:40 Sam James
2021-06-11 21:29 Sam James
2021-06-11 21:29 Sam James
2021-06-02 19:47 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1648733786.8cfeb9d38290bd94e74dab35cb8617d28b115eee.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox