diff options
Diffstat (limited to 'dev-python/pydata-sphinx-theme')
-rw-r--r-- | dev-python/pydata-sphinx-theme/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.15.1.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/pydata-sphinx-theme/Manifest b/dev-python/pydata-sphinx-theme/Manifest index 1759ef72ec2c..78839bb7bcd3 100644 --- a/dev-python/pydata-sphinx-theme/Manifest +++ b/dev-python/pydata-sphinx-theme/Manifest @@ -1,2 +1,4 @@ DIST pydata-sphinx-theme-0.14.4.gh.tar.gz 2404916 BLAKE2B fda8fbcecdc5e8b315383134b3cf95753fae5cb93abe57fa032e231f3143a774bd8b8fb7a98ff8cba6384660c4df328f83d234a0e2f8b25e13cce22d0b38f219 SHA512 348a7b30065baa1bced2118060412c08471faa8b3d31b610dde6eb5e00210f8527cee7cee173e909259af1a4c9e3704316924ab282a599c805ee54078d2030a7 +DIST pydata-sphinx-theme-0.15.1.gh.tar.gz 2408417 BLAKE2B ce5f21c2f9f2b94a7fc7d907c44527459e46c735e3c7bf39966b2402acf94948d9f91941962598d61b992f33b8fde2381e8c5649e9593386572ee79712160f4f SHA512 34eccf49c69e55999e6af2797c0c861f49c43c0d014f05b200ee40cfd703abaecd90be9aaf52409556b9d5acff6238ce09040959a7a07f4dc285a6d40ecfc912 DIST pydata_sphinx_theme-0.14.4-py3-none-any.whl 4682140 BLAKE2B 29db5217021e4f240174269fe9baa0d0f0b1e1b04213a6639d5491a002bff65e4db1468bed1de850fe0f4a8549e564db91f098fb41c4d2981b88a2fed373659c SHA512 962756e901e90f7c490905dd94703a172fb4de2628f7dc38731de75299e77a5915e93103219562a4291ad37942eee48c888faa523409e149ea31fc10dbcfdf2c +DIST pydata_sphinx_theme-0.15.1-py3-none-any.whl 4521543 BLAKE2B c5e20e42ce2fd32a46b39037fe680c2ec6a420cc76a02dc1c391f633e3a164de28d107834add9b427e5f27afde0a86e8d32287084c10959cf444f5580a3fb231 SHA512 13ebf72548c963fa850aa2da9d73863cc4c771c7db5a5d90a18af3408f2cf3d75d908aa40c16dfe098941ec5128a0117e5c29aab3e3119715207af28e3a6f8d5 diff --git a/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.15.1.ebuild b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.15.1.ebuild new file mode 100644 index 000000000000..5436ae77e57a --- /dev/null +++ b/dev-python/pydata-sphinx-theme/pydata-sphinx-theme-0.15.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Bootstrap-based Sphinx theme from the PyData community" +HOMEPAGE=" + https://github.com/pydata/pydata-sphinx-theme/ + https://pypi.org/project/pydata-sphinx-theme/ +" +SRC_URI=" + https://github.com/pydata/pydata-sphinx-theme/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + $(pypi_wheel_url) +" + +LICENSE="BSD-with-disclosure" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/accessible-pygments[${PYTHON_USEDEP}] + dev-python/Babel[${PYTHON_USEDEP}] + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + >=dev-python/sphinx-5[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-regressions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/$(pypi_wheel_name)" +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)/pydata_sphinx_theme" || die + epytest "${S}"/tests +} |