diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/Manifest.gz | bin | 13117 -> 13119 bytes | |||
-rw-r--r-- | www-apps/nikola/Manifest | 7 | ||||
-rw-r--r-- | www-apps/nikola/files/nikola-8.2.4-yapsy.patch | 45 | ||||
-rw-r--r-- | www-apps/nikola/nikola-8.2.4-r1.ebuild | 69 | ||||
-rw-r--r-- | www-apps/nikola/nikola-8.3.0.ebuild | 67 | ||||
-rw-r--r-- | www-apps/nikola/nikola-8.3.1.ebuild | 2 |
6 files changed, 2 insertions, 188 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz Binary files differindex 0eed3122604a..bd2a28c08181 100644 --- a/www-apps/Manifest.gz +++ b/www-apps/Manifest.gz diff --git a/www-apps/nikola/Manifest b/www-apps/nikola/Manifest index 1f491eaf804c..c82ac543927c 100644 --- a/www-apps/nikola/Manifest +++ b/www-apps/nikola/Manifest @@ -1,8 +1,3 @@ -AUX nikola-8.2.4-yapsy.patch 2083 BLAKE2B 31e741eddf3ba31fb9f99ceb5dc7fc58fcdf796dd02b08cf92ff2bfee57898416990ad755a91b73e5ba0cd964acf775790b8a303da2a06edd82359e56e2d9f87 SHA512 90873bfa502216b0cef68e9dd3fdf3c970e8620cb04c104576f001589007bc76637721a1c8960cff51a1c3658636dbede0085efff0778dd6ea21ebf9395976ba -DIST Nikola-8.2.4.tar.gz 5635965 BLAKE2B 94421a278718fd9ae9f8978854954f2120bab005d10a52294b120d619a67455417eed94bb9e99cc9d01eca4e1d3da210980caef1ad7ff4ca5d25299a39d8eb19 SHA512 2bcea53181a5371fc1ce7d6d96e5db1ae0ab7c4bc8fe8947ed0d5427e71a469b0f522f1e6f20a47e51a3325730a9646156a8a57bab127785f220c65eb9f891ea -DIST Nikola-8.3.0.tar.gz 4557992 BLAKE2B 67ab76c670fd00d992e6359bcaa11c59dfc904c78c935d1739e6ed7118e38c8f1c4590782a75e85c722f4fcb2c23efc032cb5d58d0c1587069b80920f3bd20fa SHA512 9b25eb90fa560b45e8cd0b03f24523859548353f2a4d2ac91b23b05bfb614d20456bb71f1aaa5702b6d6ab7980696aeb2f5ccc3c00ebc648cfcad49619481247 DIST Nikola-8.3.1.tar.gz 4559433 BLAKE2B 32bffeaf5f490f6c7bdf48b1c3b1906e4fb9a94fb196ecba8f0c2f074489b05e57c4278ae6ec8a6d91838772d19ddb0444166e05caa4d0d3055bd388b9b8cc63 SHA512 cbf4e099e2e1ee22ab16c8a3d3984617097721cb24cf03cf9673fc89d051fa712a05cbbfb522f85d6808155a0fa8835b1630096691a33c25aee8cf24564df050 -EBUILD nikola-8.2.4-r1.ebuild 2405 BLAKE2B bef2230b32d9010a0b7956b7236d67371d2087a4ed142b6d460cae9f7664e25dd6b37aa8086e7573a9c43ad50c42599e86029569925b5540a8dd8c6a350a2477 SHA512 001169eb6907c2473707095569b046655bfafdfe42633d91e4166113436f2a137645314530de3f1b18dcc4291307accdc923c128556843c6c0c87a50f2126a8f -EBUILD nikola-8.3.0.ebuild 2364 BLAKE2B 9c9c0020dc791bbcf641783c033780c0d80fe0ef3be0c5b763d7efdea9a454c48cb0a816dfa37e0eaff36998e050c501445b78fee5f58605a696b3a4f4ffcc2f SHA512 6c692315f2e86336a70c4e81abc1271247faf3fc570f484e03acc6df8f80d1b7f23d319d78ffa1524ec5ba1a19bd5fa780719a546e12ae3095fc206765a9a28a -EBUILD nikola-8.3.1.ebuild 2365 BLAKE2B 82a1294e21344ddba748c90e974629ca5deae9bfc69ca508349e2591baa51e523a4753bf47664cf79d30c859dc119433ae94d8006cb40c2958e63fb14b39e0cc SHA512 fa19482aad56d7ef2d3d2264e0af41ec0031549b919238c2b9a8fbf8d7f815c8c8caf94321c99bf2722ae44c35e76065d5d317051f221f72c663159c29ce7907 +EBUILD nikola-8.3.1.ebuild 2364 BLAKE2B b018a8cf8260d263fbdaf0c69ccd93ce13ec9247fcd8af8ef5577f59e8b43f72fba8198fe9babb5b652fa10965850b7a8b3ca40a0fe230732be381bf589d28e8 SHA512 42c9d8f47676440ff07b46cf8b9d9a3f1cdd89df348474971cbee03cf85c57def4c5fca7c3ce95d171feb817dc8a77df8f21bf5b48cf5b97a6ac51a8dec2a9c9 MISC metadata.xml 292 BLAKE2B 0042bf60cec1af73f2d8e977e53c42adf5c7e4500f02ee08e3673b25962a86905d1d07783fb519a3bf40a12ab64229879e5fb217d1bde97195573fc6faa69f66 SHA512 a8e6a37da4e290629b38ccb4f9087682de58a0e4e4a377b85c3f3bb06eba426e3689cab575f528511fde9ed308e12a2e79a318e4dc55c6f85c3d8e16e22b3d01 diff --git a/www-apps/nikola/files/nikola-8.2.4-yapsy.patch b/www-apps/nikola/files/nikola-8.2.4-yapsy.patch deleted file mode 100644 index 563b92609879..000000000000 --- a/www-apps/nikola/files/nikola-8.2.4-yapsy.patch +++ /dev/null @@ -1,45 +0,0 @@ -https://bugs.gentoo.org/916872 -https://github.com/getnikola/nikola/issues/3700 -Patch from upstream. - -commit 4f51e2e0a0b1c0de375d15d06cfacd703ab03040 -Author: Adam Williamson <awilliam@redhat.com> -Date: Sat, 15 Jul 2023 09:34:30 -0700 - - Handle change to plugin loading in recent yapsy (#3700) (#3701) - ---- a/nikola/plugin_categories.py -+++ b/nikola/plugin_categories.py -@@ -75,8 +75,31 @@ def set_site(self, site): - def inject_templates(self): - """Inject 'templates/<engine>' (if exists) very early in the theme chain.""" - try: -+ mod_candidate = None -+ # since https://github.com/tibonihoo/yapsy/pull/11 , -+ # yapsy only adds each imported plugin to sys.modules -+ # under its modified, "unique" name (see early in -+ # PluginManager.loadPlugins), so we recreate the -+ # modified name here to find it. we fudge the serial -+ # number here, assuming that if a plugin is loaded -+ # under the same name multiple times, the location -+ # will also be the same, so we can just use 0. -+ possible_names = ( -+ self.__class__.__module__, -+ "yapsy_loaded_plugin_" + self.__class__.__module__ + "_0", -+ "yapsy_loaded_plugin_" + self.name + "_0", -+ ) -+ for possible_name in possible_names: -+ mod_candidate = sys.modules.get(possible_name) -+ if mod_candidate: -+ break -+ if not mod_candidate: -+ # well, we tried. we wind up here for the dummy -+ # plugins; honestly I'm not sure exactly why/how, -+ # but they don't have templates, so it's okay -+ return - # Sorry, found no other way to get this -- mod_path = sys.modules[self.__class__.__module__].__file__ -+ mod_path = mod_candidate.__file__ - mod_dir = os.path.dirname(mod_path) - tmpl_dir = os.path.join( - mod_dir, 'templates', self.site.template_system.name diff --git a/www-apps/nikola/nikola-8.2.4-r1.ebuild b/www-apps/nikola/nikola-8.2.4-r1.ebuild deleted file mode 100644 index af508414a102..000000000000 --- a/www-apps/nikola/nikola-8.2.4-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{10,11} ) -DISTUTILS_USE_PEP517=setuptools - -inherit bash-completion-r1 distutils-r1 optfeature pypi - -DESCRIPTION="A static website and blog generator" -HOMEPAGE="https://getnikola.com/" -SRC_URI="$(pypi_sdist_url --no-normalize ${PN^} ${PV})" -S="${WORKDIR}/${P^}" - -LICENSE="MIT Apache-2.0 CC0-1.0 public-domain" -SLOT="0" -KEYWORDS="amd64 ~riscv" -RESTRICT="test" # needs coveralls - -BDEPEND=">=dev-python/docutils-0.13[${PYTHON_USEDEP}]" # needs rst2man to build manpage -RDEPEND="${BDEPEND} - >=dev-python/babel-2.6.0[${PYTHON_USEDEP}] - >=dev-python/blinker-1.3[${PYTHON_USEDEP}] - >=dev-python/doit-0.32[${PYTHON_USEDEP}] - >=dev-python/lxml-3.3.5[${PYTHON_USEDEP}] - >=dev-python/mako-1.0[${PYTHON_USEDEP}] - >=dev-python/markdown-3.0.0[${PYTHON_USEDEP}] - >=dev-python/natsort-3.5.2[${PYTHON_USEDEP}] - >=dev-python/piexif-1.0.3[${PYTHON_USEDEP}] - >=dev-python/pygments-1.6[${PYTHON_USEDEP}] - >=dev-python/pyrss2gen-1.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.2.0[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.2.0[${PYTHON_USEDEP}] - >=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}]" - -PATCHES=( "${FILESDIR}"/${P}-yapsy.patch ) - -python_compile_all() { - nikola tabcompletion --shell=bash > ${PN}.bashcomp || die - nikola tabcompletion --shell=zsh > ${PN}.zshcomp || die -} - -src_install() { - distutils-r1_src_install - - # hackish way to remove docs that ended up in the wrong place - rm -r "${ED}/usr/share/doc/${PN}" || die - - dodoc AUTHORS.txt CHANGES.txt README.rst docs/*.rst - gunzip "${ED}/usr/share/man/man1/${PN}.1.gz" || die - - newbashcomp ${PN}.bashcomp ${PN} - insinto /usr/share/zsh/site-functions - newins ${PN}.zshcomp _${PN} -} - -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/jinja2 - 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 -} diff --git a/www-apps/nikola/nikola-8.3.0.ebuild b/www-apps/nikola/nikola-8.3.0.ebuild deleted file mode 100644 index 3d28257ecfe2..000000000000 --- a/www-apps/nikola/nikola-8.3.0.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{10,11,12} ) -DISTUTILS_USE_PEP517=setuptools - -inherit bash-completion-r1 distutils-r1 optfeature pypi - -DESCRIPTION="A static website and blog generator" -HOMEPAGE="https://getnikola.com/" -SRC_URI="$(pypi_sdist_url --no-normalize ${PN^} ${PV})" -S="${WORKDIR}/${P^}" - -LICENSE="MIT Apache-2.0 CC0-1.0 public-domain" -SLOT="0" -KEYWORDS="amd64 ~riscv" -RESTRICT="test" # needs coveralls - -BDEPEND=">=dev-python/docutils-0.13[${PYTHON_USEDEP}]" # needs rst2man to build manpage -RDEPEND="${BDEPEND} - >=dev-python/babel-2.6.0[${PYTHON_USEDEP}] - >=dev-python/blinker-1.3[${PYTHON_USEDEP}] - >=dev-python/doit-0.32[${PYTHON_USEDEP}] - >=dev-python/lxml-3.3.5[${PYTHON_USEDEP}] - >=dev-python/mako-1.0[${PYTHON_USEDEP}] - >=dev-python/markdown-3.0.0[${PYTHON_USEDEP}] - >=dev-python/natsort-3.5.2[${PYTHON_USEDEP}] - >=dev-python/piexif-1.0.3[${PYTHON_USEDEP}] - >=dev-python/pygments-1.6[${PYTHON_USEDEP}] - >=dev-python/pyrss2gen-1.1[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-2.6.0[${PYTHON_USEDEP}] - >=dev-python/requests-2.2.0[${PYTHON_USEDEP}] - >=dev-python/setuptools-67.2.0[${PYTHON_USEDEP}] - >=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}]" - -python_compile_all() { - nikola tabcompletion --shell=bash > ${PN}.bashcomp || die - nikola tabcompletion --shell=zsh > ${PN}.zshcomp || die -} - -src_install() { - distutils-r1_src_install - - # hackish way to remove docs that ended up in the wrong place - rm -r "${ED}/usr/share/doc/${PN}" || die - - dodoc AUTHORS.txt CHANGES.txt README.rst docs/*.rst - gunzip "${ED}/usr/share/man/man1/${PN}.1.gz" || die - - newbashcomp ${PN}.bashcomp ${PN} - insinto /usr/share/zsh/site-functions - newins ${PN}.zshcomp _${PN} -} - -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/jinja2 - 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 -} diff --git a/www-apps/nikola/nikola-8.3.1.ebuild b/www-apps/nikola/nikola-8.3.1.ebuild index 506e9eb20887..c6f4a23a0f67 100644 --- a/www-apps/nikola/nikola-8.3.1.ebuild +++ b/www-apps/nikola/nikola-8.3.1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${P^}" LICENSE="MIT Apache-2.0 CC0-1.0 public-domain" SLOT="0" -KEYWORDS="~amd64 ~riscv" +KEYWORDS="amd64 ~riscv" RESTRICT="test" # needs coveralls BDEPEND=">=dev-python/docutils-0.13[${PYTHON_USEDEP}]" # needs rst2man to build manpage |