diff options
author | Ulrich Müller <ulm@gentoo.org> | 2023-03-30 04:44:17 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2023-03-30 04:44:17 +0200 |
commit | c26459f3b5eaf6f7b47c125fc22ec5a202a68961 (patch) | |
tree | c8564dac9d8de381e275391be031422968b23fcf /www-apps/nikola | |
parent | dev-python/pychromecast: enable py3.11 (diff) | |
download | gentoo-c26459f3b5eaf6f7b47c125fc22ec5a202a68961.tar.gz gentoo-c26459f3b5eaf6f7b47c125fc22ec5a202a68961.tar.bz2 gentoo-c26459f3b5eaf6f7b47c125fc22ec5a202a68961.zip |
www-apps/nikola: drop 8.2.2-r2
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'www-apps/nikola')
-rw-r--r-- | www-apps/nikola/Manifest | 1 | ||||
-rw-r--r-- | www-apps/nikola/files/nikola-8.2.2-markdown-3.4.patch | 49 | ||||
-rw-r--r-- | www-apps/nikola/nikola-8.2.2-r2.ebuild | 62 |
3 files changed, 0 insertions, 112 deletions
diff --git a/www-apps/nikola/Manifest b/www-apps/nikola/Manifest index fc41693c7fdb..3438a0e6cd11 100644 --- a/www-apps/nikola/Manifest +++ b/www-apps/nikola/Manifest @@ -1,2 +1 @@ -DIST Nikola-8.2.2.tar.gz 5483145 BLAKE2B 78950e97016b7a87d41739684de102c548a5dfecfe9c1239a94c757a4d7d00f5d77bf679b6ed1a853aa46e1fcb78c27e7c2276e7aafeb874c0e21c1ae9f1cbb2 SHA512 f2bf38c81c2e01f6d6cb6a24d9b9ea95f047e9bd9987437df61cf1cb10c39c5f9259e8baa4c64dc24e4f69dc3b3e35e3553dced7d42c840645e024d6c21eb9ae DIST Nikola-8.2.3.tar.gz 5486641 BLAKE2B 690ea8584b9b11b1f26b768dc6daaded2f976b54a7be3b75f83d50cda3721f3f0051fd7ff7be3c38ed871ac905f604f891936e4ea72381b8f88a461f4d227587 SHA512 fbb107f975a4eeb369469eaa7a83e6fd342202530f91a0428c854f2eca28315268d6623983a078496943878a9f0548a5939184a2349d468cc0ac7152116b48b4 diff --git a/www-apps/nikola/files/nikola-8.2.2-markdown-3.4.patch b/www-apps/nikola/files/nikola-8.2.2-markdown-3.4.patch deleted file mode 100644 index a1f54773f65c..000000000000 --- a/www-apps/nikola/files/nikola-8.2.2-markdown-3.4.patch +++ /dev/null @@ -1,49 +0,0 @@ -https://bugs.gentoo.org/860087 - -Patch backported from upstream: - -commit 1be6e8b387bbebcc891b0afc53802cf69607cfcf -Author: Chris Warrick <kwpolska@gmail.com> -Date: Sun Jul 17 00:08:24 2022 +0200 - - Fix #3635 — fix compatibility of Markdown extensions with Markdown 3.4+ - ---- Nikola-8.2.2/nikola/plugins/compile/markdown/mdx_gist.py -+++ Nikola-8.2.2/nikola/plugins/compile/markdown/mdx_gist.py -@@ -76,6 +76,7 @@ - """ - - import requests -+import xml.etree.ElementTree as etree - - from nikola.plugin_categories import MarkdownExtension - from nikola.utils import get_logger -@@ -84,11 +85,10 @@ - from markdown.extensions import Extension - from markdown.inlinepatterns import Pattern - from markdown.util import AtomicString -- from markdown.util import etree - except ImportError: - # No need to catch this, if you try to use this without Markdown, - # the markdown compiler will fail first -- Extension = Pattern = object -+ Extension = Pattern = AtomicString = object - - - LOGGER = get_logger('compile_markdown.mdx_gist') ---- Nikola-8.2.2/nikola/plugins/compile/markdown/mdx_podcast.py -+++ Nikola-8.2.2/nikola/plugins/compile/markdown/mdx_podcast.py -@@ -36,11 +36,12 @@ - <p><audio controls=""><source src="https://archive.org/download/Rebeldes_Stereotipos/rs20120609_1.mp3" type="audio/mpeg"></source></audio></p> - """ - -+import xml.etree.ElementTree as etree -+ - from nikola.plugin_categories import MarkdownExtension - try: - from markdown.extensions import Extension - from markdown.inlinepatterns import Pattern -- from markdown.util import etree - except ImportError: - # No need to catch this, if you try to use this without Markdown, - # the markdown compiler will fail first diff --git a/www-apps/nikola/nikola-8.2.2-r2.ebuild b/www-apps/nikola/nikola-8.2.2-r2.ebuild deleted file mode 100644 index 4285f876880a..000000000000 --- a/www-apps/nikola/nikola-8.2.2-r2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -PYTHON_COMPAT=( python3_{9,10} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -inherit distutils-r1 optfeature - -MY_PN="Nikola" -MY_P="${MY_PN}-${PV}" - -DESCRIPTION="A static website and blog generator" -HOMEPAGE="https://getnikola.com/" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="MIT Apache-2.0 CC0-1.0 public-domain" -SLOT="0" -KEYWORDS="amd64 ~riscv" -RESTRICT="test" # needs coveralls - -DEPEND=">=dev-python/docutils-0.13[${PYTHON_USEDEP}]" # needs rst2man to build manpage -RDEPEND="${DEPEND} - >=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/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}-markdown-3.4.patch ) - -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 -} - -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 -} |