summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-20 10:20:26 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-20 10:28:13 +0200
commit4c32d36f4fb592e7369c858d54bdb83a4286f69d (patch)
tree95183fa07b63112334caf26e8e7b21272c668ee2 /dev-python
parentdev-python/pushbullet-py: Remove old (diff)
downloadgentoo-4c32d36f4fb592e7369c858d54bdb83a4286f69d.tar.gz
gentoo-4c32d36f4fb592e7369c858d54bdb83a4286f69d.tar.bz2
gentoo-4c32d36f4fb592e7369c858d54bdb83a4286f69d.zip
dev-python/pushbullet-py: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pushbullet-py/pushbullet-py-0.12.0-r1.ebuild12
1 files 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"