From: "Horea Christian" <horea.christ@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-vcs/dandi-cli/, dev-vcs/dandi-cli/files/
Date: Mon, 2 May 2022 07:54:03 +0000 (UTC) [thread overview]
Message-ID: <1651478038.1cfaf223c60f41b79d7db71c61d96e2e6f07cf23.chymera@gentoo> (raw)
commit: 1cfaf223c60f41b79d7db71c61d96e2e6f07cf23
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Mon May 2 07:53:58 2022 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Mon May 2 07:53:58 2022 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1cfaf223
dev-vcs/dandi-cli: dropped old version
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-vcs/dandi-cli/dandi-cli-0.35.0.ebuild | 83 ----------------------
.../files/dandi-cli-0.34.1-pip-versioncheck.patch | 13 ----
.../files/dandi-cli-0.35.0-test_nonetwork.patch | 21 ------
3 files changed, 117 deletions(-)
diff --git a/dev-vcs/dandi-cli/dandi-cli-0.35.0.ebuild b/dev-vcs/dandi-cli/dandi-cli-0.35.0.ebuild
deleted file mode 100644
index e59f3ca7f..000000000
--- a/dev-vcs/dandi-cli/dandi-cli-0.35.0.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-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 etelemetry"
-
-RDEPEND="
- dev-python/appdirs[${PYTHON_USEDEP}]
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/click-didyoumean[${PYTHON_USEDEP}]
- =dev-python/dandischema-0.5*[${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/pycryptodome[${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}]
-"
-
-DEPEND="
- test? (
- dev-python/anys[${PYTHON_USEDEP}]
- dev-python/responses[${PYTHON_USEDEP}]
- dev-python/pyfakefs[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
- )
-"
-
-# Some tests require deep copy with git history
-# https://github.com/dandi/dandi-cli/issues/878#issuecomment-1021720299
-EPYTEST_DESELECT=(
- "dandi/tests/test_utils.py::test_get_instance_dandi_with_api"
- "dandi/tests/test_utils.py::test_get_instance_url"
- "dandi/tests/test_utils.py::test_get_instance_cli_version_too_old"
- "dandi/tests/test_utils.py::test_get_instance_bad_cli_version"
-)
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.34.1-pip-versioncheck.patch"
- "${FILESDIR}/${PN}-0.35.0-test_nonetwork.patch"
-)
-
-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
-}
diff --git a/dev-vcs/dandi-cli/files/dandi-cli-0.34.1-pip-versioncheck.patch b/dev-vcs/dandi-cli/files/dandi-cli-0.34.1-pip-versioncheck.patch
deleted file mode 100644
index 4595390b3..000000000
--- a/dev-vcs/dandi-cli/files/dandi-cli-0.34.1-pip-versioncheck.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/setup.cfg 2021-10-06 11:44:40.549337707 -0400
-+++ b/dsetup.cfg 2021-10-06 11:45:10.236935245 -0400
-@@ -30,8 +30,8 @@
- appdirs
- click
- click-didyoumean
-- dandischema ~= 0.5.1
-- etelemetry >= 0.2.2
-+ dandischema
-+ etelemetry
- fasteners
- fscacher
- # Specifying != might be what causes pip 19.3.1 first to install hdmf 1.5.1
diff --git a/dev-vcs/dandi-cli/files/dandi-cli-0.35.0-test_nonetwork.patch b/dev-vcs/dandi-cli/files/dandi-cli-0.35.0-test_nonetwork.patch
deleted file mode 100644
index 89b48b21d..000000000
--- a/dev-vcs/dandi-cli/files/dandi-cli-0.35.0-test_nonetwork.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From e5a6dd4bdc4db828ea1de2a48e96cbdb80465e86 Mon Sep 17 00:00:00 2001
-From: "John T. Wodder II" <git@varonathe.org>
-Date: Tue, 25 Jan 2022 18:53:53 -0500
-Subject: [PATCH] Mark a test with missing `skipif_no_network` marker
-
----
- dandi/tests/test_metadata.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/dandi/tests/test_metadata.py b/dandi/tests/test_metadata.py
-index 5896e6ef..a0a6bce1 100644
---- a/dandi/tests/test_metadata.py
-+++ b/dandi/tests/test_metadata.py
-@@ -351,6 +351,7 @@ def test_parseobourl(url, value):
- assert parse_purlobourl(url) == value
-
-
-+@mark.skipif_no_network
- def test_species():
- m = {"species": "http://purl.obolibrary.org/obo/NCBITaxon_28584"}
- assert extract_species(m).json_dict() == {
next reply other threads:[~2022-05-02 7:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-02 7:54 Horea Christian [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-04 21:01 [gentoo-commits] proj/sci:master commit in: dev-vcs/dandi-cli/, dev-vcs/dandi-cli/files/ Horea Christian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1651478038.1cfaf223c60f41b79d7db71c61d96e2e6f07cf23.chymera@gentoo \
--to=horea.christ@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox