Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyzotero/
Date: Wed, 05 Jan 2022 17:18:40
Message-Id: 1641403059.db52532303412420650fe4e065ec7a31fec493d6.arthurzam@gentoo
1 commit: db52532303412420650fe4e065ec7a31fec493d6
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 5 17:17:20 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 5 17:17:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db525323
7
8 dev-python/pyzotero: add 1.5
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pyzotero/Manifest | 1 +
13 dev-python/pyzotero/pyzotero-1.5.ebuild | 32 ++++++++++++++++++++++++++++++++
14 2 files changed, 33 insertions(+)
15
16 diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest
17 index 103f0f963eaf..5fcc9c6a0857 100644
18 --- a/dev-python/pyzotero/Manifest
19 +++ b/dev-python/pyzotero/Manifest
20 @@ -1 +1,2 @@
21 DIST pyzotero-1.4.26.tar.gz 520629 BLAKE2B 7ddcd55a1c21d6dcc4b610a9a29bc86ff002afdf2e2a90513219b9fd13b3d5b504736e122850fc81acf7a4bbca0b8c5da3a92c8eb3a6f07392e3d17a9dc7d73c SHA512 a0b0bf92458746b0dd0c01511efb05dd8fb471434c9e813c9d6dab7741a2eb1a10af2b9c5f68daa4c681353ba8c93cab140ec2da5962d06c76e8a229d4742009
22 +DIST pyzotero-1.5.gh.tar.gz 520234 BLAKE2B 0bb64710d7cb4701006884417b46d1fe6a76ae8bdcfbd3b30cc413c8cd3ab7ba024318a28cb8c49a1bf280bf3098ece3267a3580a4ecc55af48f47a436476d8b SHA512 9a2080e1e9886c8e4a2410dc7687637d844a2614d40e38403b408bf584f0b1e5d5a4e517bdcba2f4e0602e5a7a3f2a3c9195cfde20242cc9d1da2ca5d3aa8f4c
23
24 diff --git a/dev-python/pyzotero/pyzotero-1.5.ebuild b/dev-python/pyzotero/pyzotero-1.5.ebuild
25 new file mode 100644
26 index 000000000000..00400f165dfc
27 --- /dev/null
28 +++ b/dev-python/pyzotero/pyzotero-1.5.ebuild
29 @@ -0,0 +1,32 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="A Python client for the Zotero API"
39 +HOMEPAGE="https://github.com/urschrei/pyzotero"
40 +SRC_URI="https://github.com/urschrei/pyzotero/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +
46 +RDEPEND="
47 + app-text/zotero-bin
48 + dev-python/bibtexparser[${PYTHON_USEDEP}]
49 + dev-python/feedparser[${PYTHON_USEDEP}]
50 + dev-python/pytz[${PYTHON_USEDEP}]
51 + dev-python/requests[${PYTHON_USEDEP}]
52 +"
53 +
54 +BDEPEND="
55 + test? (
56 + dev-python/python-dateutil[${PYTHON_USEDEP}]
57 + dev-python/httpretty[${PYTHON_USEDEP}]
58 + )"
59 +
60 +distutils_enable_sphinx doc --no-autodoc
61 +distutils_enable_tests pytest