summaryrefslogtreecommitdiff
path: root/dev-python/pooch
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-01-05 12:46:39 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-01-05 12:46:39 +0000
commitea0160e07a2653be911a4387b5723a6adbd72e93 (patch)
tree6cdb27c0fe87cf526736dfb7e862afd42fa81ef1 /dev-python/pooch
parent3a306f4246ea94a8373b36de41d8a7bb285e68ff (diff)
downloadbaldeagleos-repo-ea0160e07a2653be911a4387b5723a6adbd72e93.tar.gz
baldeagleos-repo-ea0160e07a2653be911a4387b5723a6adbd72e93.tar.xz
baldeagleos-repo-ea0160e07a2653be911a4387b5723a6adbd72e93.zip
Adding metadata
Diffstat (limited to 'dev-python/pooch')
-rw-r--r--dev-python/pooch/pooch-1.6.0.ebuild22
1 files changed, 18 insertions, 4 deletions
diff --git a/dev-python/pooch/pooch-1.6.0.ebuild b/dev-python/pooch/pooch-1.6.0.ebuild
index 477f8bf3c1a2..0daef0a8451d 100644
--- a/dev-python/pooch/pooch-1.6.0.ebuild
+++ b/dev-python/pooch/pooch-1.6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-RESTRICT="test"
-PROPERTIES="test_network"
RDEPEND="
dev-python/appdirs[${PYTHON_USEDEP}]
@@ -28,7 +26,19 @@ BDEPEND="
dev-python/paramiko[${PYTHON_USEDEP}]
dev-python/pytest-localftpserver[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
- )"
+ )
+"
+
+EPYTEST_DESELECT=(
+ # Needs network
+ "pooch/tests/test_core.py::test_check_availability_on_ftp"
+ "pooch/tests/test_downloaders.py::test_invalid_doi_repository"
+ "pooch/tests/test_downloaders.py::test_doi_url_not_found"
+ "pooch/tests/test_downloaders.py::test_figshare_url_file_not_found[figshare]"
+ "pooch/tests/test_downloaders.py::test_figshare_url_file_not_found[zenodo]"
+ "pooch/tests/test_downloaders.py::test_doi_downloader[figshare]"
+ "pooch/tests/test_downloaders.py::test_doi_downloader[zenodo]"
+)
### docs no included in pypi tarball
# distutils_enable_sphinx doc \
@@ -36,3 +46,7 @@ BDEPEND="
distutils_enable_tests pytest
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+python_test() {
+ epytest -k "not network"
+}