@ -9,11 +9,11 @@ include $(TOPDIR)/rules.mk
PKG_NAME := django-ranged-response
PKG_NAME := django-ranged-response
PKG_VERSION := 0.2.0
PKG_VERSION := 0.2.0
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_LICENSE := MIT
PKG_LICENSE := MIT
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://files.pythonhosted.org/packages/70/e3/9372fcdca8e9c3205e7979528ccd1a14354a9a24d38efff11c1846ff8bf1
PKG_SOURCE_URL := https://files.pythonhosted.org/packages/source/d/${ PKG_NAME }
PKG_HASH := f71fff352a37316b9bead717fc76e4ddd6c9b99c4680cdf4783b9755af1cf985
PKG_HASH := f71fff352a37316b9bead717fc76e4ddd6c9b99c4680cdf4783b9755af1cf985
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -27,21 +27,13 @@ define Package/django-ranged-response
TITLE:= Modified Django FileResponse that adds Content-Range headers.
TITLE:= Modified Django FileResponse that adds Content-Range headers.
URL:= https://github.com/wearespindle/django-ranged-fileresponse
URL:= https://github.com/wearespindle/django-ranged-fileresponse
DEPENDS:= +python +django
DEPENDS:= +python +django
VARIANT:= python
e n d e f
e n d e f
d e f i n e P a c k a g e / d j a n g o - r a n g e d - r e s p o n s e / d e s c r i p t i o n
d e f i n e P a c k a g e / d j a n g o - r a n g e d - r e s p o n s e / d e s c r i p t i o n
Modified Django FileResponse that adds Content-Range headers.
Modified Django FileResponse that adds Content-Range headers.
e n d e f
e n d e f
d e f i n e B u i l d / C o m p i l e
$( call Build/Compile/PyMod,,install --prefix= /usr --root= $( PKG_INSTALL_DIR) )
e n d e f
d e f i n e P a c k a g e / d j a n g o - r a n g e d - r e s p o n s e / i n s t a l l
$( INSTALL_DIR) $( 1) $( PYTHON_PKG_DIR)
$( CP) \
$( PKG_INSTALL_DIR) $( PYTHON_PKG_DIR) /* \
$( 1) $( PYTHON_PKG_DIR)
e n d e f
$( eval $ ( call PyPackage ,django -ranged -response ) )
$( eval $ ( call BuildPackage ,django -ranged -response ) )
$( eval $ ( call BuildPackage ,django -ranged -response ) )
$( eval $ ( call BuildPackage ,django -ranged -response -src ) )