Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyzotero/
Date: Thu, 10 Jun 2021 16:47:21
Message-Id: 1623343625.8380c2257e8556b09943d415daf7d0aed5bf0a3e.mgorny@gentoo
1 commit: 8380c2257e8556b09943d415daf7d0aed5bf0a3e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 10 15:45:39 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 10 16:47:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8380c225
7
8 dev-python/pyzotero: Bump to 1.4.23
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyzotero/Manifest | 1 +
13 dev-python/pyzotero/pyzotero-1.4.23.ebuild | 41 ++++++++++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest
17 index 7a45509b159..5632c1ab2a9 100644
18 --- a/dev-python/pyzotero/Manifest
19 +++ b/dev-python/pyzotero/Manifest
20 @@ -1 +1,2 @@
21 DIST pyzotero-1.4.22.tar.gz 521386 BLAKE2B 3f5cc943aa108b771675955fcf7acaea62bbed360f7b9a4de4127d086c0c11679090df1e02820c0c937057cb77923c7d48ff95b06d92a6494d2db3b70fa65a27 SHA512 c9438474c30405d54194315ee007ae53527963460621c0e74b8286baa98f324601fbc99d342183ae643919890b70f08cc0ae431836b03e3d9028e62302ec63f8
22 +DIST pyzotero-1.4.23.tar.gz 521386 BLAKE2B 4d66adc8c66c21c5ec3a21d7c0b2316bb9d983f3e31efdb11cb8840a8f94415b6e7e792d5870a33530fe877215855f7b2bc244fa05987cff0edf48ea850be54c SHA512 383809cf7a5ab950871c47101397e3a073f53d41f723acbcbe91d5c62d56c0618a70433a5ae3332d25195d4bce207c57b7f26b7c4c851621282b994f1afbf4b3
23
24 diff --git a/dev-python/pyzotero/pyzotero-1.4.23.ebuild b/dev-python/pyzotero/pyzotero-1.4.23.ebuild
25 new file mode 100644
26 index 00000000000..4fd1f87128e
27 --- /dev/null
28 +++ b/dev-python/pyzotero/pyzotero-1.4.23.ebuild
29 @@ -0,0 +1,41 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="A Python client for the Zotero API"
40 +HOMEPAGE="https://github.com/urschrei/pyzotero"
41 +SRC_URI="https://github.com/urschrei/pyzotero/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +RDEPEND="
48 + app-text/zotero-bin
49 + dev-python/bibtexparser[${PYTHON_USEDEP}]
50 + <dev-python/feedparser-6[${PYTHON_USEDEP}]
51 + dev-python/pathlib2[${PYTHON_USEDEP}]
52 + dev-python/pytz[${PYTHON_USEDEP}]
53 + dev-python/requests[${PYTHON_USEDEP}]
54 +"
55 +
56 +BDEPEND="
57 + test? (
58 + dev-python/python-dateutil[${PYTHON_USEDEP}]
59 + dev-python/httpretty[${PYTHON_USEDEP}]
60 + )"
61 +
62 +distutils_enable_sphinx doc --no-autodoc
63 +distutils_enable_tests pytest
64 +
65 +python_prepare_all() {
66 + # do not install tests
67 + sed -i "s/find_packages(),/find_packages(exclude=('test*')),/g" setup.py || die
68 +
69 + distutils-r1_python_prepare_all
70 +}