diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/pyzotero/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pyzotero/pyzotero-1.6.11.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index 46e7ebdbfc16..e5b2bf45b1f3 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1 +1,2 @@ DIST pyzotero-1.6.10.tar.gz 552327 BLAKE2B a716c476f5e2f6f5505e32c2b7837b2e5cb70dac480a3f012999eaa9302e608e3745b7ad9fcb88dfd0f39863949062fd05baf0ca01919e6f85c20fdfa2267258 SHA512 e0f550eff328b8d99a10c5caf6f2d79e1842313f9deaa87ab0b9caeafd10e82d4c48537213a55a4178191783131a202a12f00198a76e222cd4ca5ed1830e92a1 +DIST pyzotero-1.6.11.tar.gz 552337 BLAKE2B 64487fb2316e3e20ec962218972ea77de922df4421c85dd9f910e10aba77154c5dbba1cdb47acf9b8707b21b4bd682a3133e9f13fb052f5c9b0f33ec4c73f480 SHA512 b90b67467ea80a6825857fd5ce159e6de495b554b4fe83800c2c5814e91b85803e107647da36fcd70660e0b6b409c348e3958a45890d127b53d90146826b5755 diff --git a/dev-python/pyzotero/pyzotero-1.6.11.ebuild b/dev-python/pyzotero/pyzotero-1.6.11.ebuild new file mode 100644 index 000000000000..c54b7e8de03b --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.6.11.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A Python client for the Zotero API" +HOMEPAGE=" + https://github.com/urschrei/pyzotero/ + https://pypi.org/project/pyzotero/ +" + +LICENSE="BlueOak-1.0.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-text/zotero-bin + dev-python/bibtexparser[${PYTHON_USEDEP}] + >=dev-python/feedparser-6.0.11[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/trove-classifiers-2024.7.2[${PYTHON_USEDEP}] + test? ( + dev-python/httpretty[${PYTHON_USEDEP}] + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx doc \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} |
