diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-05-22 14:14:06 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-05-22 14:17:34 +0200 |
commit | a6d28b05383efe747deaf53517b53176de851447 (patch) | |
tree | a8104319559b260d8924afd353bc96e225e79af9 /dev-python/pyzotero | |
parent | app-text/zotero-bin: import from ::sci (diff) | |
download | gentoo-a6d28b05383efe747deaf53517b53176de851447.tar.gz gentoo-a6d28b05383efe747deaf53517b53176de851447.tar.bz2 gentoo-a6d28b05383efe747deaf53517b53176de851447.zip |
dev-python/pyzotero: import from ::sci
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/pyzotero')
-rw-r--r-- | dev-python/pyzotero/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyzotero/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pyzotero/pyzotero-1.4.22.ebuild | 39 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pyzotero/Manifest b/dev-python/pyzotero/Manifest new file mode 100644 index 000000000000..7a45509b1593 --- /dev/null +++ b/dev-python/pyzotero/Manifest @@ -0,0 +1 @@ +DIST pyzotero-1.4.22.tar.gz 521386 BLAKE2B 3f5cc943aa108b771675955fcf7acaea62bbed360f7b9a4de4127d086c0c11679090df1e02820c0c937057cb77923c7d48ff95b06d92a6494d2db3b70fa65a27 SHA512 c9438474c30405d54194315ee007ae53527963460621c0e74b8286baa98f324601fbc99d342183ae643919890b70f08cc0ae431836b03e3d9028e62302ec63f8 diff --git a/dev-python/pyzotero/metadata.xml b/dev-python/pyzotero/metadata.xml new file mode 100644 index 000000000000..7f3fa8e65c96 --- /dev/null +++ b/dev-python/pyzotero/metadata.xml @@ -0,0 +1,12 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <upstream> + <remote-id type="github">urschrei/pyzotero</remote-id> + <remote-id type="pypi">Pyzotero</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyzotero/pyzotero-1.4.22.ebuild b/dev-python/pyzotero/pyzotero-1.4.22.ebuild new file mode 100644 index 000000000000..42fc9f4f0e23 --- /dev/null +++ b/dev-python/pyzotero/pyzotero-1.4.22.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..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/pathlib2[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( + 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 +} |