commit: cb9cf36f389d2b7cda3149392d80591692ee4ccc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 14 15:44:06 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 16:23:08 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9cf36f
dev-python/python-zeroconf: Add MY_P prior to rename
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/python-zeroconf/python-zeroconf-0.39.4.ebuild | 8 +++++---
dev-python/python-zeroconf/python-zeroconf-0.47.1.ebuild | 4 +++-
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/dev-python/python-zeroconf/python-zeroconf-0.39.4.ebuild
b/dev-python/python-zeroconf/python-zeroconf-0.39.4.ebuild
index 232f9b9569c4..a83c8ce4d736 100644
--- a/dev-python/python-zeroconf/python-zeroconf-0.39.4.ebuild
+++ b/dev-python/python-zeroconf/python-zeroconf-0.39.4.ebuild
@@ -8,15 +8,17 @@ PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
+MY_P=python-zeroconf-${PV}
DESCRIPTION="Pure Python Multicast DNS Service Discovery Library
(Bonjour/Avahi compatible)"
HOMEPAGE="
- https://github.com/jstasiak/python-zeroconf/
+ https://github.com/python-zeroconf/python-zeroconf/
https://pypi.org/project/zeroconf/
"
SRC_URI="
- https://github.com/jstasiak/python-zeroconf/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
+ https://github.com/python-zeroconf/python-zeroconf/archive/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
"
+S=${WORKDIR}/${MY_P}
LICENSE="LGPL-2.1"
SLOT="0"
diff --git a/dev-python/python-zeroconf/python-zeroconf-0.47.1.ebuild
b/dev-python/python-zeroconf/python-zeroconf-0.47.1.ebuild
index 37d55e82c63c..09501c2c741f 100644
--- a/dev-python/python-zeroconf/python-zeroconf-0.47.1.ebuild
+++ b/dev-python/python-zeroconf/python-zeroconf-0.47.1.ebuild
@@ -8,6 +8,7 @@ PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
+MY_P=python-zeroconf-${PV}
DESCRIPTION="Pure Python Multicast DNS Service Discovery Library
(Bonjour/Avahi compatible)"
HOMEPAGE="
https://github.com/python-zeroconf/python-zeroconf/
@@ -15,8 +16,9 @@ HOMEPAGE="
"
SRC_URI="
https://github.com/python-zeroconf/python-zeroconf/archive/${PV}.tar.gz
- -> ${P}.gh.tar.gz
+ -> ${MY_P}.gh.tar.gz
"
+S=${WORKDIR}/${MY_P}
LICENSE="LGPL-2.1"
SLOT="0"