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: Sat, 26 Feb 2022 17:21:45
Message-Id: 1645896098.bdb2ee5655016b28956cb601193ae95eab5e3161.mgorny@gentoo
1 commit: bdb2ee5655016b28956cb601193ae95eab5e3161
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 17:20:24 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 17:21:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdb2ee56
7
8 dev-python/pyzotero: Migrate to PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyzotero/pyzotero-1.5.1-r1.ebuild | 35 ++++++++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/dev-python/pyzotero/pyzotero-1.5.1-r1.ebuild b/dev-python/pyzotero/pyzotero-1.5.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..df8d3658adae
18 --- /dev/null
19 +++ b/dev-python/pyzotero/pyzotero-1.5.1-r1.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="A Python client for the Zotero API"
32 +HOMEPAGE="https://github.com/urschrei/pyzotero"
33 +SRC_URI="https://github.com/urschrei/pyzotero/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64"
38 +
39 +RDEPEND="
40 + app-text/zotero-bin
41 + dev-python/bibtexparser[${PYTHON_USEDEP}]
42 + dev-python/feedparser[${PYTHON_USEDEP}]
43 + dev-python/pytz[${PYTHON_USEDEP}]
44 + dev-python/requests[${PYTHON_USEDEP}]
45 +"
46 +
47 +BDEPEND="
48 + test? (
49 + dev-python/python-dateutil[${PYTHON_USEDEP}]
50 + dev-python/httpretty[${PYTHON_USEDEP}]
51 + )
52 +"
53 +
54 +distutils_enable_sphinx doc --no-autodoc
55 +distutils_enable_tests pytest