commit: ed338e9962134072b1c7243a5543fb5a7cb16b56 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Feb 19 06:42:58 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Feb 19 07:56:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed338e99
dev-python/pyzotero: Bump to 1.6.9 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pyzotero/Manifest | 1 + dev-python/pyzotero/pyzotero-1.6.9.ebuild | 46 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest index a251e777d257..20a92ca0cb8f 100644 --- a/dev-python/pyzotero/Manifest +++ b/dev-python/pyzotero/Manifest @@ -1 +1,2 @@ DIST pyzotero-1.6.8.tar.gz 543598 BLAKE2B 86a4d770c16eabb07959cd9653980e12628d3dbf78ceebd724f83b1f54489b6c800a1fd65f2711c2d1e344ebd1bb2ac61e8d7dbe1091eca30ec3672df82409fd SHA512 34dd7a9f6bf8ed5ec2ee7ca4a9c533efbc20454439da4a9e59b3ab793f26074cb683fd0bebf66f819aa5c03e2dbdfabb3043ab3772beb35264ce9640a6e8752d +DIST pyzotero-1.6.9.tar.gz 552275 BLAKE2B 6f27ac6be25147e88d0fd3e8f3825185c348ebf17e8402ffcce7195ff336dd068d1d5f165c00c96968eaee0e0e05c77f4bcf2e567e18db162e67b634501c1726 SHA512 3d333442716b47771526fc1916ec8aa78cdbd6ddbfb4728712ff68c11b22028a2ff901fd74dace97d951972d6d4d8a7142e9756c0c6df2ac50e5558b5c5f8c95 diff --git a/dev-python/pyzotero/pyzotero-1.6.9.ebuild b/dev-python/pyzotero/pyzotero-1.6.9.ebuild new file mode 100644 index 000000000000..c54b7e8de03b --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.6.9.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 +}