aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb')
-rw-r--r--meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb9
1 files changed, 2 insertions, 7 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb b/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb
index 4bdb706f..c546c855 100644
--- a/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-django-compressor_2.1.bb
@@ -4,17 +4,12 @@ SECTION = "devel/python"
LICENSE = "MIT & BSD-3-Clause & BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=021598d037fd39ab02e53249e1fe4b6f"
-SRCNAME = "django_compressor"
-
-SRC_URI = "https://pypi.io/packages/source/d/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
-"
+PYPI_PACKAGE = "django_compressor"
SRC_URI[md5sum] = "21ecfe4e8615eae64f7068a5599df9af"
SRC_URI[sha256sum] = "ae0051bc0c7a0660c93434e68d617553fccdd573293dfd15aa33f78d2b4954ef"
-S = "${WORKDIR}/${SRCNAME}-${PV}"
-
-inherit setuptools
+inherit setuptools pypi
RDEPENDS_${PN} += " \
python-django-appconf \