commit:     4c32d36f4fb592e7369c858d54bdb83a4286f69d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 08:20:26 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 20 08:28:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c32d36f

dev-python/pushbullet-py: Use pypi.eclass

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

 dev-python/pushbullet-py/pushbullet-py-0.12.0-r1.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/dev-python/pushbullet-py/pushbullet-py-0.12.0-r1.ebuild 
b/dev-python/pushbullet-py/pushbullet-py-0.12.0-r1.ebuild
index 4557f22d66b9..b03c718d55d6 100644
--- a/dev-python/pushbullet-py/pushbullet-py-0.12.0-r1.ebuild
+++ b/dev-python/pushbullet-py/pushbullet-py-0.12.0-r1.ebuild
@@ -4,15 +4,17 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN/-/.}
 PYTHON_COMPAT=( pypy3 python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
-MY_PN=${PN/-/.}
 DESCRIPTION="A simple python client for pushbullet.com"
-HOMEPAGE="https://github.com/randomchars/pushbullet.py";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
+HOMEPAGE="
+       https://github.com/randomchars/pushbullet.py/
+       https://pypi.org/project/pushbullet.py/
+"
 
 LICENSE="MIT"
 SLOT="0"

Reply via email to