diff options
author | Horea Christian <chr@chymera.eu> | 2023-03-21 18:33:00 -0400 |
---|---|---|
committer | Horea Christian <chr@chymera.eu> | 2023-03-21 18:33:00 -0400 |
commit | ad172c919240a2eb49fdcc591bd68b99775e2d53 (patch) | |
tree | 07e1b65396cd50a7bba6e5f762c134e741c3278c /dev-vcs | |
parent | dev-python/dandi-schema: update SRC_URI (diff) | |
download | sci-ad172c919240a2eb49fdcc591bd68b99775e2d53.tar.gz sci-ad172c919240a2eb49fdcc591bd68b99775e2d53.tar.bz2 sci-ad172c919240a2eb49fdcc591bd68b99775e2d53.zip |
dev-vcs/dandi-cli: add 0.51.0
Signed-off-by: Horea Christian <chr@chymera.eu>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/dandi-cli/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/dandi-cli/dandi-cli-0.51.0.ebuild | 80 |
2 files changed, 81 insertions, 0 deletions
diff --git a/dev-vcs/dandi-cli/Manifest b/dev-vcs/dandi-cli/Manifest index beddd8179..a9f6d958f 100644 --- a/dev-vcs/dandi-cli/Manifest +++ b/dev-vcs/dandi-cli/Manifest @@ -2,3 +2,4 @@ DIST dandi-0.46.6.tar.gz 218868 BLAKE2B 7900c153172aa9669d0eae6bc2293ef51d1640b2 DIST dandi-0.48.0.tar.gz 228206 BLAKE2B 5cef713220839751b873170223bead06effddedf4b0d98d7de134fb87d64a4cc49521dd26d6a90777d331e77649c271466af9e30fd2511d72a3e505b5a904fbe SHA512 2e6686169105299f39f66d32542ce0e2d9d9fd9035f306c537771218ef8ced9832e6ea7911259623112604d83675aa52322410078eb7d00b6f83ec77a2cbc2c6 DIST dandi-0.49.0.tar.gz 227445 BLAKE2B d698327fa12fa4dc1d3b1816181c8eb99eed1ac57a8ea9d5fddf96b9b8267313993053f39deeddfc3f4f3123a609d82b79dba69bb4decf30a2cd9903daa1effd SHA512 f3174a16fe1ddea894fad3ed8fdafca3b7664bdb110b5a8e3e3305f08705afa1ef985729aafea95ffdd59b1073fa9bb284ae00856291f4bd80bc9afd8e7f1bc8 DIST dandi-0.50.0.tar.gz 236960 BLAKE2B b36f890e7d7de77ed2202d54516c897fb293ca5b360849199a0cd5fbe61ff07056b328eb3454f72b974a53ddef24ede5180c7f32b32b663c4bbe77f513301fa3 SHA512 91beb1b2330ab425a7cb4f744e2f11c3e5ab5f631903b05b676be898dba4ca16c42c2f9abb21b45858b50bb00c181fab341303846c9ccf416ddcd88c19136ffa +DIST dandi-0.51.0.tar.gz 233955 BLAKE2B 500a6290cba32f413610879357c0ee525d877575c4ad520818a556ae7f58f90c2aec88387dbb0ca78e7906b48673c2c2d3c9c457833727fb312e5ca6d75ce088 SHA512 e77fa803dd2707df8cab2318377a71c28abb8bdc6e2d086cb43daf24512f361e533d249dabd88bfc6c0de06e6332606ac2f3c57482ae9717fedb66da4e2e8d89 diff --git a/dev-vcs/dandi-cli/dandi-cli-0.51.0.ebuild b/dev-vcs/dandi-cli/dandi-cli-0.51.0.ebuild new file mode 100644 index 000000000..cb9948939 --- /dev/null +++ b/dev-vcs/dandi-cli/dandi-cli-0.51.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..10} ) + +inherit distutils-r1 + +MY_PN="dandi" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="DANDI command line client to facilitate common operations" +HOMEPAGE="https://github.com/dandi/dandi-cli" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test etelemetry" + +RDEPEND=" + =dev-python/dandi-schema-0.8*[${PYTHON_USEDEP}] + >=dev-python/pydantic-1.9.0[${PYTHON_USEDEP}] + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/click-didyoumean[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/fasteners[${PYTHON_USEDEP}] + dev-python/fscacher[${PYTHON_USEDEP}] + dev-python/humanize[${PYTHON_USEDEP}] + dev-python/interleave[${PYTHON_USEDEP}] + dev-python/joblib[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + dev-python/keyrings-alt[${PYTHON_USEDEP}] + dev-python/nwbinspector[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pycryptodome[${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/wheel[${PYTHON_USEDEP}] + dev-python/zarr[${PYTHON_USEDEP}] + dev-python/zarr_checksum[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/anys[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/pyfakefs[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + media-libs/opencv[ffmpeg,${PYTHON_USEDEP}] + ) +" +# Upstream might be amenable to dropping opencv: +# https://github.com/dandi/dandi-cli/issues/944 + +S="${WORKDIR}/${MY_P}" + +distutils_enable_tests pytest + +src_prepare() { + if use etelemetry; then + default + else + eapply "${FILESDIR}/${PN}-0.28.0-no-etelemetry.patch" + default + sed -i "/etelemetry/d" setup.cfg + fi +} + +python_test() { + export DANDI_TESTS_NONETWORK=1 + epytest +} |