commit:     cbd0dc8c500eb6aebb80cedf6c25c53e344b25f8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 11 06:50:22 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 11 07:06:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbd0dc8c

dev-python/pyzotero: Bump to 1.4.25

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyzotero/Manifest               |  1 +
 dev-python/pyzotero/pyzotero-1.4.25.ebuild | 39 ++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest
index e28cd4dd12c..7247873b4ce 100644
--- a/dev-python/pyzotero/Manifest
+++ b/dev-python/pyzotero/Manifest
@@ -1 +1,2 @@
 DIST pyzotero-1.4.24.tar.gz 521403 BLAKE2B 
225c881f85be6b04d54975b40d4254588214ee84974103dfe2cd64db01f586e93379e21ca537f1356c798125e149b15b326832abe172f029e8841d879650df84
 SHA512 
f2a1ac00c331efbfe32e00d8281d36cdf8112f68a5c3851cb34625090bfe8dec81d1afec86e4af9ae477df6855eb42ced75e942b18589564f9d04351117f0d05
+DIST pyzotero-1.4.25.tar.gz 521569 BLAKE2B 
ce4e3587667078d295c0d2b7d0695aba0b9da22d40caa3aff405a6ed88b3061693d0d9d0db5bfdde074a3003b088705ed5c9443f3fa0f156d803114b25288b2b
 SHA512 
d00d30da57d7f988b9e301d496a26bd983933567ffeb87d6d494dd7c93290315ad7fda8e791c4be382bedfda51ab5928ed37230f6649f60ce731f6b2f8ddfd39

diff --git a/dev-python/pyzotero/pyzotero-1.4.25.ebuild 
b/dev-python/pyzotero/pyzotero-1.4.25.ebuild
new file mode 100644
index 00000000000..9a0a80f1c02
--- /dev/null
+++ b/dev-python/pyzotero/pyzotero-1.4.25.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..9} )
+inherit distutils-r1
+
+DESCRIPTION="A Python client for the Zotero API"
+HOMEPAGE="https://github.com/urschrei/pyzotero";
+SRC_URI="https://github.com/urschrei/pyzotero/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       app-text/zotero-bin
+       dev-python/bibtexparser[${PYTHON_USEDEP}]
+       <dev-python/feedparser-6[${PYTHON_USEDEP}]
+       dev-python/pytz[${PYTHON_USEDEP}]
+       dev-python/requests[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               dev-python/python-dateutil[${PYTHON_USEDEP}]
+               dev-python/httpretty[${PYTHON_USEDEP}]
+       )"
+
+distutils_enable_sphinx doc --no-autodoc
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # do not install tests
+       sed -i "s/find_packages(),/find_packages(exclude=('test*')),/g" 
setup.py || die
+
+       distutils-r1_python_prepare_all
+}

Reply via email to