diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/Manifest.gz | bin | 48935 -> 48939 bytes | |||
-rw-r--r-- | app-text/pelican/Manifest | 2 | ||||
-rw-r--r-- | app-text/pelican/pelican-4.9.0.ebuild | 77 |
3 files changed, 79 insertions, 0 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz Binary files differindex 54215fa4b9df..ecd76da28c32 100644 --- a/app-text/Manifest.gz +++ b/app-text/Manifest.gz diff --git a/app-text/pelican/Manifest b/app-text/pelican/Manifest index 03389736eea7..7cd5d4fe9b0b 100644 --- a/app-text/pelican/Manifest +++ b/app-text/pelican/Manifest @@ -1,4 +1,6 @@ AUX pelican-4.8.0-sphinx-6.patch 636 BLAKE2B 7b18a9025d6443759737b7fb1b2ac0671fbd5bec8b94bc197dcb2015d927c2eb1f82ef8a71997b611eb7c1950ab0092c34e8dc3ca81a8d4b2f60058b29df7efc SHA512 e5a9a93e0eee19ced45fa2f48b1a6561cfccbded2902161fc1542a12fd5f406dcf59014cafeb55f919eef2c98100b2fdb803d097ca9a410a17b83d42eeb646fa DIST pelican-4.8.0.gh.tar.gz 1401791 BLAKE2B 889c9054659c9f98cca571fa0f3ea9ee7752aa65c3feb71278570bad74095f521d3838aa1a32dc3ae331ba86149cdd10be9c31c7ed5bc6e06348edf3eb3bb081 SHA512 2e94eb88a836bcb430026463c0e7e906b7f065507e0d873b6e0fc980e271e6a8f2e62b22af4b61c963d90ef61d57787de20656fe7497b0ae14e93eff2d364f3b +DIST pelican-4.9.0.gh.tar.gz 1374399 BLAKE2B 2fa91ff9b5ddacac1fd64d9325ccb1fadb9bbfaa9c6098920a43a576f3d8d7be31a98b5250b2ea10bee63993d8b9bb72fdebdf9d57d0518d1f4bddef705e2804 SHA512 a50d0fbad816fa4a73eb94d0aa15cf5f9321ed2bdb50addbebbf0024f2fc7fd73ab94b314b5821068d552dcd1b11a54ca6511117aac732340156f2361a7e832c EBUILD pelican-4.8.0.ebuild 2078 BLAKE2B 18476bebe9f5a437b871fb030c31484a276e0dd0e083ec2cb7566a9810977e15a1ecbd22ba02d23b5613aecf588f9efb746ba69beb7a6167719137721995afdf SHA512 f07d2b67daf06fc4ef78987244f4e95e84041105fb0248c26e65ebc218974ba1af18311324484dfc31b8f664c239af06cf7bc49f718a63190b0b527dbbe2dbab +EBUILD pelican-4.9.0.ebuild 2150 BLAKE2B 8c17aa61ed65f9d5f1525461d9966d7afc6d34e53cfc76575f76f423407d9d48a39b8a434fa3e855c572c4409721832d60499b57c50c0a0e134fbf23d92b0b62 SHA512 5c1f6bc09e7cb1e6977b2e49a165384b4ecbb9e01fc4a7d0b5dbf752f1b59f199ae780c9d1d3cd420d11a1bc8176462e9d7d897005a8be743b02b6f0283a2817 MISC metadata.xml 463 BLAKE2B 2f062e4ee585182b37fdd094c75fe58aa600c57a416c955da7abef66e0c42eb1cd1d1d2b38c3cb322a6e0f044ffabf3915aedd16dee147f6a94fb92205f0d196 SHA512 5bc95a863d0741b536c3b9d3c2f7f9181ec5a26be18f15a1df4f691c8cafa0498d6ed57db37563ea972f8ea025f92c8f92729d97967b044f885989b996646d12 diff --git a/app-text/pelican/pelican-4.9.0.ebuild b/app-text/pelican/pelican-4.9.0.ebuild new file mode 100644 index 000000000000..a8ec456458a6 --- /dev/null +++ b/app-text/pelican/pelican-4.9.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~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/jinja-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/pytest-xdist[${PYTHON_USEDEP}] + )" + +DOCS=( README.rst ) + +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 +) + +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 +} |