commit:     a9c44ac79d03faa7d3dd7841c6ea96b7017830f5
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu Feb 22 07:57:40 2024 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Feb 22 07:57:40 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a9c44ac7

dev-vcs/datalad: Using pypi archives

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-vcs/datalad/datalad-0.18.0.ebuild | 74 -----------------------------------
 dev-vcs/datalad/datalad-0.19.6.ebuild |  4 +-
 dev-vcs/datalad/metadata.xml          |  1 +
 3 files changed, 3 insertions(+), 76 deletions(-)

diff --git a/dev-vcs/datalad/datalad-0.18.0.ebuild 
b/dev-vcs/datalad/datalad-0.18.0.ebuild
deleted file mode 100644
index cd90c1db2..000000000
--- a/dev-vcs/datalad/datalad-0.18.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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..11} )
-inherit distutils-r1
-
-DESCRIPTION="Keep code, data, containers under control with git and git-annex"
-HOMEPAGE="https://github.com/datalad/datalad";
-SRC_URI="https://github.com/datalad/datalad/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test +downloaders +metadata +publish misc"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
-       app-arch/p7zip
-       app-arch/patool[${PYTHON_USEDEP}]
-       dev-python/annexremote[${PYTHON_USEDEP}]
-       dev-python/distro[${PYTHON_USEDEP}]
-       dev-python/fasteners[${PYTHON_USEDEP}]
-       dev-python/humanize[${PYTHON_USEDEP}]
-       dev-python/iso8601[${PYTHON_USEDEP}]
-       dev-python/looseversion[${PYTHON_USEDEP}]
-       dev-python/platformdirs[${PYTHON_USEDEP}]
-       dev-python/tqdm[${PYTHON_USEDEP}]
-       dev-python/wraps[${PYTHON_USEDEP}]
-       dev-vcs/git-annex
-       downloaders? (
-               dev-python/boto[${PYTHON_USEDEP}]
-               dev-python/keyring[${PYTHON_USEDEP}]
-               dev-python/keyrings-alt[${PYTHON_USEDEP}]
-               dev-python/msgpack[${PYTHON_USEDEP}]
-               dev-python/requests[${PYTHON_USEDEP}]
-       )
-       metadata? (
-               dev-python/simplejson[${PYTHON_USEDEP}]
-               dev-python/whoosh[${PYTHON_USEDEP}]
-       )
-       misc? (
-               dev-python/argcomplete[${PYTHON_USEDEP}]
-               dev-python/pyperclip[${PYTHON_USEDEP}]
-               dev-python/python-dateutil[${PYTHON_USEDEP}]
-       )
-       publish? (
-               dev-vcs/python-gitlab[${PYTHON_USEDEP}]
-       )
-"
-BDEPEND="
-       dev-python/packaging[${PYTHON_USEDEP}]
-       test? (
-               ${RDEPEND}
-               dev-python/beautifulsoup4[${PYTHON_USEDEP}]
-               dev-python/httpretty[${PYTHON_USEDEP}]
-               dev-python/mypy[${PYTHON_USEDEP}]
-               dev-python/vcrpy[${PYTHON_USEDEP}]
-       )
-"
-# Also wants test dep:
-# dev-python/types-requests
-# dev-python/types-python-dateutil
-
-distutils_enable_tests pytest
-
-python_test() {
-       local -x DATALAD_TESTS_NONETWORK=1
-       # see test groups in "tox.ini"
-       epytest -k "not turtle and not slow and not usecase"
-}

diff --git a/dev-vcs/datalad/datalad-0.19.6.ebuild 
b/dev-vcs/datalad/datalad-0.19.6.ebuild
index cd90c1db2..3416c0485 100644
--- a/dev-vcs/datalad/datalad-0.19.6.ebuild
+++ b/dev-vcs/datalad/datalad-0.19.6.ebuild
@@ -5,11 +5,11 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Keep code, data, containers under control with git and git-annex"
 HOMEPAGE="https://github.com/datalad/datalad";
-SRC_URI="https://github.com/datalad/datalad/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+#SRC_URI="https://github.com/datalad/datalad/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/dev-vcs/datalad/metadata.xml b/dev-vcs/datalad/metadata.xml
index 8a6c00a2d..9c40d4f36 100644
--- a/dev-vcs/datalad/metadata.xml
+++ b/dev-vcs/datalad/metadata.xml
@@ -26,5 +26,6 @@
        </use>
        <upstream>
                <remote-id type="github">datalad/datalad</remote-id>
+               <remote-id type="pypi">datalad</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to