From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 74BC61584AD for ; Sat, 26 Apr 2025 01:54:24 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 56FB7342FAD for ; Sat, 26 Apr 2025 01:54:24 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 58EE01104B7; Sat, 26 Apr 2025 01:54:23 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 4E0561104B7 for ; Sat, 26 Apr 2025 01:54:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 07CBE342FAD for ; Sat, 26 Apr 2025 01:54:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 697CEFB9 for ; Sat, 26 Apr 2025 01:54:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1745631973.ca5b666a37b5a4f4fe2785526723f4b89504b2fb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pelican/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/pelican/Manifest app-text/pelican/pelican-4.11.0.ebuild X-VCS-Directories: app-text/pelican/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ca5b666a37b5a4f4fe2785526723f4b89504b2fb X-VCS-Branch: master Date: Sat, 26 Apr 2025 01:54:21 +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: 1e3c9c8f-2e6d-43a9-87e8-b31240f6912e X-Archives-Hash: 7eaca6a88c5850024c09974f73eaddfb commit: ca5b666a37b5a4f4fe2785526723f4b89504b2fb Author: Dennis Eisele dennis-eisele de> AuthorDate: Fri Apr 25 00:44:27 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 26 01:46:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca5b666a app-text/pelican: add 4.11.0 Closes: https://bugs.gentoo.org/952847 Signed-off-by: Dennis Eisele dennis-eisele.de> Part-of: https://github.com/gentoo/gentoo/pull/41744 Closes: https://github.com/gentoo/gentoo/pull/41744 Signed-off-by: Sam James gentoo.org> app-text/pelican/Manifest | 1 + app-text/pelican/pelican-4.11.0.ebuild | 85 ++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-text/pelican/Manifest b/app-text/pelican/Manifest index 89244bd59cf3..0c956b6bb208 100644 --- a/app-text/pelican/Manifest +++ b/app-text/pelican/Manifest @@ -1,2 +1,3 @@ +DIST pelican-4.11.0.gh.tar.gz 1573316 BLAKE2B 492b6444de43ab38caa768eb3389af28985380c82d25dc860b53d7bd858e9bd9c5ff82a5994b56e47d4bf631ea6cc05eebda9470b88244737989bd8fc599407b SHA512 6ccbaa473a7fc441f9033657c99310673950e460f8bf4d27c90cec4f8e8a122b162efb226d8d62ade96e8dfd2f8fb0b16c86097cb8ba8f5273078a8239088521 DIST pelican-4.8.0.gh.tar.gz 1401791 BLAKE2B 889c9054659c9f98cca571fa0f3ea9ee7752aa65c3feb71278570bad74095f521d3838aa1a32dc3ae331ba86149cdd10be9c31c7ed5bc6e06348edf3eb3bb081 SHA512 2e94eb88a836bcb430026463c0e7e906b7f065507e0d873b6e0fc980e271e6a8f2e62b22af4b61c963d90ef61d57787de20656fe7497b0ae14e93eff2d364f3b DIST pelican-4.9.1.gh.tar.gz 1374443 BLAKE2B d9dfa234b0f19cd02ccc8867e5b4f6e0444300692d69001baf23943230f27f8a7bc91e98e5c4c3cd194abadf8fb140c0e1a0c3beb39e5d288113ecc4e487c6a6 SHA512 70b7efd7a38dc2069b1eb9141647fa80bf959de36936ad7b4d38407be7e029fc788ef9b9f297d99e5dc6cad67d58fe6ff97f9b542db7e0a9c23e2907d4604e21 diff --git a/app-text/pelican/pelican-4.11.0.ebuild b/app-text/pelican/pelican-4.11.0.ebuild new file mode 100644 index 000000000000..2d600849fd46 --- /dev/null +++ b/app-text/pelican/pelican-4.11.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A tool to generate a static blog, with restructured text or markdown input files" +HOMEPAGE=" + https://getpelican.com/ + https://pypi.org/project/pelican/ +" +SRC_URI=" + https://github.com/getpelican/pelican/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="doc examples markdown" + +RDEPEND=" + >=dev-python/docutils-0.20.1[${PYTHON_USEDEP}] + >=dev-python/blinker-1.7.0[${PYTHON_USEDEP}] + >=dev-python/feedgenerator-2.1.0[${PYTHON_USEDEP}] + >=dev-python/jinja2-3.1.2[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.16.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.2[${PYTHON_USEDEP}] + >=dev-python/pytz-2020.1[${PYTHON_USEDEP}] + >=dev-python/rich-13.6.0[${PYTHON_USEDEP}] + >=dev-python/unidecode-1.3.7[${PYTHON_USEDEP}] + >=dev-python/watchfiles-0.21.0[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + markdown? ( >=dev-python/markdown-3.1[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + >=dev-python/markdown-3.1[${PYTHON_USEDEP}] + dev-python/typogrify[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + )" + +DOCS=( README.rst ) + +# For musl, bug 863962 +PATCHES=( "${FILESDIR}/${PN}-4.9.1-no-locales-for-tests.patch" ) + +EPYTEST_DESELECT=( + # Needs investigation, we weren't running tests at all before + pelican/tests/test_testsuite.py::TestSuiteTest::test_error_on_warning + pelican/tests/test_pelican.py::TestPelican::test_basic_generation_works + pelican/tests/test_pelican.py::TestPelican::test_custom_generation_works + + # For musl, bug 863962 + # Per Alpine https://git.alpinelinux.org/aports/tree/testing/py3-pelican/APKBUILD + pelican/tests/test_contents.py::TestPage::test_datetime +) + +distutils_enable_tests pytest + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + + if use examples; then + docinto /usr/share/doc/${PF} + docompress -x /usr/share/doc/${PF}/samples + dodoc -r samples + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Typographical enhancements (alternative to markdown)" dev-python/typogrify +}