From 3d1032e614c35ff6957e10e795b15fc5a9347074 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Thu, 2 Mar 2023 23:14:06 +0100 Subject: [PATCH] app-containers/podman-compose: Migrate to pypi.eclass Signed-off-by: Nils Freydank --- .../podman-compose/podman-compose-1.0.3-r3.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app-containers/podman-compose/podman-compose-1.0.3-r3.ebuild b/app-containers/podman-compose/podman-compose-1.0.3-r3.ebuild index c8a405d..1a27d49 100644 --- a/app-containers/podman-compose/podman-compose-1.0.3-r3.ebuild +++ b/app-containers/podman-compose/podman-compose-1.0.3-r3.ebuild @@ -6,12 +6,15 @@ EAPI="8" COMMIT_ID="" DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 PYTHON_COMPAT=( python3_{10..11} ) -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="Run docker-compose files without root with podman" -HOMEPAGE="https://pypi.org/project/podman-compose/ https://github.com/containers/podman-compose" - +HOMEPAGE=" + https://github.com/containers/podman-compose + https://pypi.org/project/podman-compose/ +" if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://github.com/containers/podman-compose.git" inherit git-r3 @@ -19,8 +22,6 @@ else if [[ ${PV} == *_p* ]]; then SRC_URI="https://github.com/containers/podman-compose/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/podman-compose-${COMMIT_ID}" - else - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" fi fi KEYWORDS="~amd64"