From b180dd3da9abdbf9b7f8de11c1524f9bd3a058a3 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Mon, 27 Sep 2021 07:08:47 -0400 Subject: [PATCH] dev-vcs/dandi-cli: new package (DANDI stack) tests fail Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Horea Christian --- dev-vcs/dandi-cli/ChangeLog | 4 ++ dev-vcs/dandi-cli/Manifest | 1 + dev-vcs/dandi-cli/dandi-cli-0.27.2.ebuild | 61 +++++++++++++++++++++++ dev-vcs/dandi-cli/metadata.xml | 19 +++++++ 4 files changed, 85 insertions(+) create mode 100644 dev-vcs/dandi-cli/ChangeLog create mode 100644 dev-vcs/dandi-cli/Manifest create mode 100644 dev-vcs/dandi-cli/dandi-cli-0.27.2.ebuild create mode 100644 dev-vcs/dandi-cli/metadata.xml diff --git a/dev-vcs/dandi-cli/ChangeLog b/dev-vcs/dandi-cli/ChangeLog new file mode 100644 index 0000000..dc66481 --- /dev/null +++ b/dev-vcs/dandi-cli/ChangeLog @@ -0,0 +1,4 @@ +*dandi-cli-0.27.2 (27 Sep 2021) + + 27 Sep 2021; +dandi-cli-0.27.2.ebuild, +metadata.xml: + dev-vcs/dandi-cli: new package (DANDI stack) tests fail diff --git a/dev-vcs/dandi-cli/Manifest b/dev-vcs/dandi-cli/Manifest new file mode 100644 index 0000000..91cfd75 --- /dev/null +++ b/dev-vcs/dandi-cli/Manifest @@ -0,0 +1 @@ +DIST dandi-cli-0.27.2.tar.gz 172781 SHA256 179bbe77be65272932f6e1fc133b043eb94449847155fde3c45455c30b6cbdcc SHA512 00c522a1f5c922e6a38e257defbb02a03480156d61bcf80de3326131533a5cc332771ea05e2a995d7ace71b0ba551151d4ec3d3f4456197cb358133d3aa3fe89 WHIRLPOOL bf059cad4f8a9988a783d0001a68ebec8d480f3188f756af720aa5f0e32002e8301a3f98b2e0c492bb3be07f39959839e8b67c5544c0a3e18e757332a6bdb70c diff --git a/dev-vcs/dandi-cli/dandi-cli-0.27.2.ebuild b/dev-vcs/dandi-cli/dandi-cli-0.27.2.ebuild new file mode 100644 index 0000000..501c7c7 --- /dev/null +++ b/dev-vcs/dandi-cli/dandi-cli-0.27.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="DANDI command line client to facilitate common operations" +HOMEPAGE="https://github.com/dandi/dandi-cli" +SRC_URI="https://github.com/dandi/dandi-cli/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="test" +# Test fail during collection, reported upstream: https://github.com/dandi/dandi-cli/issues/774 + +RDEPEND=" + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] + dev-python/dandischema[${PYTHON_USEDEP}] + dev-python/fasteners[${PYTHON_USEDEP}] + dev-python/fscacher[${PYTHON_USEDEP}] + dev-python/humanize[${PYTHON_USEDEP}] + dev-python/joblib[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/keyrings_alt[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pynwb[${PYTHON_USEDEP}] + dev-python/pyout[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/semantic_version[${PYTHON_USEDEP}] + dev-python/tenacity[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] +" +# also needs: +# etelemetry + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/anys[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +#python_install_all() { +# distutils-r1_python_install_all +# dodoc README.md +#} diff --git a/dev-vcs/dandi-cli/metadata.xml b/dev-vcs/dandi-cli/metadata.xml new file mode 100644 index 0000000..5561b18 --- /dev/null +++ b/dev-vcs/dandi-cli/metadata.xml @@ -0,0 +1,19 @@ + + + + + gentoo@chymera.eu + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + This package provides a dandi command line utility with a basic interface + which should assist you in preparing and uploading your data to and/or + obtaining data from the http://dandiarchive.org . Each of the commands + has a set of options to alter their behavior. Please run + `dandi COMMAND --help` to get more information + +