commit:     46fb8b0e95ab487d1cb53d5f8248693665bbfde4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 11 07:29:55 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 10:46:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46fb8b0e

dev-python/PyICU: Prepare 2.6 for rename

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/PyICU/PyICU-2.6.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-python/PyICU/PyICU-2.6.ebuild 
b/dev-python/PyICU/PyICU-2.6.ebuild
index ad41288bda9..8b50556d8dc 100644
--- a/dev-python/PyICU/PyICU-2.6.ebuild
+++ b/dev-python/PyICU/PyICU-2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,9 +7,12 @@ PYTHON_COMPAT=( python3_{7..9} )
 
 inherit distutils-r1
 
+MY_PN=PyICU
+MY_P=${MY_PN}-${PV}
 DESCRIPTION="Python bindings for dev-libs/icu"
 HOMEPAGE="https://github.com/ovalhub/pyicu";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

Reply via email to