From 32d7c173ad2773d76a44ac8f69102cee687d0d4e Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sat, 20 May 2023 15:11:24 +0300 Subject: [PATCH] dev-python/*: mirror//:pypi -> pypi.eclass Signed-off-by: Alfred Wingate --- dev-python/FVS/FVS-0.3.4.ebuild | 6 +++--- dev-python/aspectlib/aspectlib-1.5.2-r1.ebuild | 5 ++--- dev-python/janus/janus-1.0.0.ebuild | 6 ++---- .../sphinx-py3doc-enhanced-theme-2.4.0.ebuild | 6 +++--- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/dev-python/FVS/FVS-0.3.4.ebuild b/dev-python/FVS/FVS-0.3.4.ebuild index 0179a06..6cfc07c 100644 --- a/dev-python/FVS/FVS-0.3.4.ebuild +++ b/dev-python/FVS/FVS-0.3.4.ebuild @@ -1,18 +1,18 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="File Versioning System with hash comparison" HOMEPAGE=" https://github.com/mirkobrombin/FVS https://pypi.org/project/fvs/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN}" "${PV}")" LICENSE="MIT" SLOT="0" diff --git a/dev-python/aspectlib/aspectlib-1.5.2-r1.ebuild b/dev-python/aspectlib/aspectlib-1.5.2-r1.ebuild index 77f7b81..c18e7a3 100644 --- a/dev-python/aspectlib/aspectlib-1.5.2-r1.ebuild +++ b/dev-python/aspectlib/aspectlib-1.5.2-r1.ebuild @@ -1,15 +1,14 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517="setuptools" PYTHON_COMPAT=( python3_{8..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="An aspect-oriented programming, monkey-patch and decorators library." HOMEPAGE="https://github.com/ionelmc/python-aspectlib" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" diff --git a/dev-python/janus/janus-1.0.0.ebuild b/dev-python/janus/janus-1.0.0.ebuild index 15977e0..6e81513 100644 --- a/dev-python/janus/janus-1.0.0.ebuild +++ b/dev-python/janus/janus-1.0.0.ebuild @@ -1,16 +1,14 @@ -# Copyright 1999-2022 Gentoo Authors +# 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_{9..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Thread-safe asyncio-aware queue for Python" HOMEPAGE="https://github.com/aio-libs/janus" -#SRC_URI="https://github.com/aio-libs/janus/archive/refs/tags/v1.0.0.tar.gz -> ${P}.gh.tar.gz" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" diff --git a/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0.ebuild b/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0.ebuild index 48eaea6..c11d668 100644 --- a/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0.ebuild +++ b/dev-python/sphinx-py3doc-enhanced-theme/sphinx-py3doc-enhanced-theme-2.4.0.ebuild @@ -1,14 +1,14 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="A theme based on the theme of https://docs.python.org/3/." HOMEPAGE="https://github.com/ionelmc/sphinx-py3doc-enhanced-theme" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN}" "${PV}")" LICENSE="BSD-2" SLOT="0"