summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-14 08:50:38 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-14 09:18:57 +0200
commit5b002034d7873e2149b98078fd5e1a024a6aeacc (patch)
tree3cfac39101c45a224200433f53a73b6e25b034b7 /dev-python/duecredit
parentdev-python/google-api-python-client: Bump to 2.2.0 (diff)
downloadgentoo-5b002034d7873e2149b98078fd5e1a024a6aeacc.tar.gz
gentoo-5b002034d7873e2149b98078fd5e1a024a6aeacc.tar.bz2
gentoo-5b002034d7873e2149b98078fd5e1a024a6aeacc.zip
dev-python/duecredit: Bump to 0.9.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/duecredit')
-rw-r--r--dev-python/duecredit/Manifest1
-rw-r--r--dev-python/duecredit/duecredit-0.9.1.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/duecredit/Manifest b/dev-python/duecredit/Manifest
index 178d06d501bb..235a8d4d69fc 100644
--- a/dev-python/duecredit/Manifest
+++ b/dev-python/duecredit/Manifest
@@ -1,2 +1,3 @@
DIST duecredit-0.7.0.tar.gz 66131 BLAKE2B 3f32c1a4e62d4650d6914f4e124907170a50d63900fbb009b870b3f9c9eace27b76500e655cb74caea0ce22cfadd62f81a84a438c1cb82092502661f1d4e0c03 SHA512 a32ead3e0710323d5ab3283a3b2d1cb03e03bf925f78fdb3b5182079851127b8b674492bd402667e57ec113d1ec05f9c3490642f8d0fba6a8f3ddfd706a052c1
DIST duecredit-0.8.0.tar.gz 68211 BLAKE2B 4c25bf2284d8be5f92c3f7589b6a787c97618476f60cf4a9dc7a063c2f85208b8d6da84630d63fdc7a3920cf6639940184b6e516eb76a692be72b91bd484001b SHA512 1924c626003f0a97652ff24c29822b872e66ae8cbaeaf93877319c76bd7c2b2a5a85ba659a9485460d56c41bc25ae0e14230e0a30bd028402cb7d814b4aeeea3
+DIST duecredit-0.9.1.tar.gz 81528 BLAKE2B f07eb552682c0d9c8c0763ad3bd9447a1ffd8c4187a26249062db34d42c184d461b3102af30c2f5712175692e18f73e70e75dd047ac728071f409f7e92e42635 SHA512 39b5800545b51b1e4fe5cb3b25162c9398b97f58df1651e4b518db48eca84faf0c4c70806334a619bad1a4ddb0f203a3eac849655a1a6c6e0b070889ec75ea19
diff --git a/dev-python/duecredit/duecredit-0.9.1.ebuild b/dev-python/duecredit/duecredit-0.9.1.ebuild
new file mode 100644
index 000000000000..da81018c7a20
--- /dev/null
+++ b/dev-python/duecredit/duecredit-0.9.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Publications (and donations) tracer"
+HOMEPAGE="https://github.com/duecredit/duecredit"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/citeproc-py-0.4[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/importlib_metadata[${PYTHON_USEDEP}]
+ ' python3_7)
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local deselect=(
+ # internet?
+ 'duecredit/tests/test_api.py::test_noincorrect_import_if_no_lxml_numpy[kwargs1-env2]'
+ )
+
+ epytest ${deselect[@]/#/--deselect }
+}