From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF851158094 for ; Thu, 23 Jun 2022 09:46:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0875DE0798; Thu, 23 Jun 2022 09:46:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF2ACE0798 for ; Thu, 23 Jun 2022 09:45:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A6791341562 for ; Thu, 23 Jun 2022 09:45:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02358105 for ; Thu, 23 Jun 2022 09:45:57 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1655977540.bcb9d02f1093c3bc00ff90dfbc3c46e8a6126549.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nikola/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/nikola/metadata.xml www-apps/nikola/nikola-8.2.2-r1.ebuild www-apps/nikola/nikola-8.2.2.ebuild X-VCS-Directories: www-apps/nikola/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: bcb9d02f1093c3bc00ff90dfbc3c46e8a6126549 X-VCS-Branch: master Date: Thu, 23 Jun 2022 09:45:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8cfed961-1a19-4c74-8d8d-e2f04d48af41 X-Archives-Hash: 93e2a0e4e7e6c626e760f9e2134c261d commit: bcb9d02f1093c3bc00ff90dfbc3c46e8a6126549 Author: Ulrich Müller gentoo org> AuthorDate: Thu Jun 23 09:44:35 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Jun 23 09:45:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb9d02f www-apps/nikola: Replace optional runtime dependencies by optfeature Signed-off-by: Ulrich Müller gentoo.org> www-apps/nikola/metadata.xml | 25 ---------------------- ...{nikola-8.2.2.ebuild => nikola-8.2.2-r1.ebuild} | 23 ++++++++++---------- 2 files changed, 12 insertions(+), 36 deletions(-) diff --git a/www-apps/nikola/metadata.xml b/www-apps/nikola/metadata.xml index f3793128d66f..d03a91b8243b 100644 --- a/www-apps/nikola/metadata.xml +++ b/www-apps/nikola/metadata.xml @@ -4,31 +4,6 @@ ulm@gentoo.org - - - Support chart generation through dev-python/pygal - - - Add hyphenation support through dev-python/pyphen - - - Add IPython notebook compilation and LESS support - - - Add support for dev-python/jinja as alternative templating - engine to Mako - - - Enable support for built-in web server using dev-python/aiohttp - - - Use dev-python/watchdog to monitor file system events - - - Use dev-python/micawber to extract metadata from web media - links - - Nikola diff --git a/www-apps/nikola/nikola-8.2.2.ebuild b/www-apps/nikola/nikola-8.2.2-r1.ebuild similarity index 72% rename from www-apps/nikola/nikola-8.2.2.ebuild rename to www-apps/nikola/nikola-8.2.2-r1.ebuild index 75f7358c791b..efa4bce006ed 100644 --- a/www-apps/nikola/nikola-8.2.2.ebuild +++ b/www-apps/nikola/nikola-8.2.2-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8,9,10} ) DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 +inherit distutils-r1 optfeature MY_PN="Nikola" MY_P="${MY_PN}-${PV}" @@ -18,8 +18,6 @@ S="${WORKDIR}/${MY_P}" LICENSE="MIT Apache-2.0 CC0-1.0 public-domain" SLOT="0" KEYWORDS="amd64 ~riscv" -IUSE="charts hyphenation ipython jinja server watchdog webmedia" -REQUIRED_USE="server? ( watchdog )" RESTRICT="test" # needs coveralls DEPEND=">=dev-python/docutils-0.13[${PYTHON_USEDEP}]" # needs rst2man to build manpage @@ -39,14 +37,7 @@ RDEPEND="${DEPEND} >=dev-python/unidecode-0.04.16[${PYTHON_USEDEP}] >=dev-python/yapsy-1.11.223[${PYTHON_USEDEP}] dev-python/pillow[jpeg,${PYTHON_USEDEP}] - dev-python/cloudpickle[${PYTHON_USEDEP}] - charts? ( >=dev-python/pygal-2.0.1[${PYTHON_USEDEP}] ) - hyphenation? ( >=dev-python/pyphen-0.9.1[${PYTHON_USEDEP}] ) - ipython? ( >=dev-python/ipython-2.0.0[notebook,${PYTHON_USEDEP}] ) - jinja? ( >=dev-python/jinja-2.7.2[${PYTHON_USEDEP}] ) - server? ( dev-python/aiohttp[${PYTHON_USEDEP}] ) - watchdog? ( >=dev-python/watchdog-0.8.3[${PYTHON_USEDEP}] ) - webmedia? ( >=dev-python/micawber-0.3.0[${PYTHON_USEDEP}] )" + dev-python/cloudpickle[${PYTHON_USEDEP}]" src_install() { distutils-r1_src_install @@ -57,3 +48,13 @@ src_install() { dodoc AUTHORS.txt CHANGES.txt README.rst docs/*.rst gunzip "${ED}/usr/share/man/man1/${PN}.1.gz" || die } + +pkg_postinst() { + optfeature "chart generation" dev-python/pygal + optfeature "hyphenation support" dev-python/pyphen + optfeature "notebook compilation and LESS support" dev-python/ipython + optfeature "alternative templating engine to Mako" dev-python/jinja + optfeature "built-in web server support" dev-python/aiohttp + optfeature "monitoring file system events" dev-python/watchdog + optfeature "extracting metadata from web media links" dev-python/micawber +}