Skip to contentSkip to conversation

python-pyephem: update recipe to use the pypi class

PATCH New Derek Straka 1 participant 1 message Jun 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pyephem: update recipe to use the pypi class

---
 .../recipes-extended/python-pyephem/python-pyephem_3.7.6.0.bb        | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-python/recipes-extended/python-pyephem/python-pyephem_3.7.6.0.bb +2 -3
index b7af687..2e97013 100644
@@ -4,11 +4,10 @@ HOMEPAGE = "http://rhodesmill.org/pyephem/"
 LICENSE = "LGPL-3.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f288303760f6e5ceaafe3aaa32186ab1"
 
-SRC_URI = "https://pypi.python.org/packages/source/e/ephem/ephem-${PV}.tar.gz"
 SRC_URI[md5sum] = "405a109f3017251ecd8c2890d850f649"
 SRC_URI[sha256sum] = "7a4c82b1def2893e02aec0394f108d24adb17bd7b0ca6f4bc78eb7120c0212ac"
 
-S = "${WORKDIR}/ephem-${PV}"
+PYPI_PACKAGE = "ephem"
 
-inherit setuptools
+inherit pypi setuptools
 
Signature · 1 line
1.9.1