@ -8,41 +8,55 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := pyjwt
PKG_NAME := pyjwt
PKG_VERSION := 1.6.4
PKG_VERSION := 1.7.0
PKG_RELEASE := 1
PKG_RELEASE := 1
PKG_LICENSE := MIT
PKG_LICENSE := MIT
PKG_SOURCE := PyJWT-$( PKG_VERSION) .tar.gz
PKG_SOURCE := PyJWT-$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://files.pythonhosted.org/packages/00/5e/b358c9bb24421e6155799d995b4aa3aa3307ffc7ecae4ad9d29fd7e07a73
PKG_HASH := 4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176
PKG_BUILD_DIR := $( BUILD_DIR) /PyJWT-$( PKG_VERSION)
PKG_SOURCE_URL := https://files.pythonhosted.org/packages/source/P/PyJWT
PKG_HASH := ddec8409c57e9d371c6006e388f91daf3b0b43bdf9fcbf99451fb7cf5ce0a86d
PKG_BUILD_DIR := $( BUILD_DIR) /$( BUILD_VARIANT) -PyJWT-$( PKG_VERSION)
PKG_UNPACK = $( HOST_TAR) -C $( PKG_BUILD_DIR) --strip-components= 1 -xzf $( DL_DIR) /$( PKG_SOURCE)
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
i n c l u d e . . / p y t h o n - p a c k a g e . m k
i n c l u d e . . / p y t h o n - p a c k a g e . m k
i n c l u d e . . / p y t h o n 3 - p a c k a g e . m k
d e f i n e P a c k a g e / p y j w t
d e f i n e P a c k a g e / p y t h o n - p y j w t / D e f a u l t
SUBMENU:= Python
SUBMENU:= Python
SECTION:= lang
SECTION:= lang
CATEGORY:= Languages
CATEGORY:= Languages
MAINTAINER:= Eneas U de Queiroz <cote2004-github@yahoo.com>
MAINTAINER:= Eneas U de Queiroz <cote2004-github@yahoo.com>
TITLE:= JSON Web Token implementation in Python
TITLE:= JSON Web Token implementation in Python
URL:= http://github.com/jpadilla/pyjwt
URL:= http://github.com/jpadilla/pyjwt
DEPENDS:= +python
e n d e f
e n d e f
d e f i n e P a c k a g e / p y j w t / d e s c r i p t i o n
A Python implementation of RFC 7519.
d e f i n e P a c k a g e / p y t h o n - p y j w t
$( call Package/python-pyjwt/Default)
DEPENDS:= +PACKAGE_python-pyjwt:python
VARIANT:= python
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) )
d e f i n e P a c k a g e / p y t h o n 3 - p y j w t
$( call Package/python-pyjwt/Default)
DEPENDS:= +PACKAGE_python3-pyjwt:python3
VARIANT:= python3
e n d e f
e n d e f
d e f i n e P a c k a g e / p y j w t / i n s t a l l
$( INSTALL_DIR) $( 1) $( PYTHON_PKG_DIR)
$( CP) \
$( PKG_INSTALL_DIR) $( PYTHON_PKG_DIR) /* \
$( 1) $( PYTHON_PKG_DIR)
d e f i n e P a c k a g e / p y t h o n - p y j w t / d e s c r i p t i o n
A Python implementation of RFC 7519.
e n d e f
e n d e f
$( eval $ ( call BuildPackage ,pyjwt ) )
d e f i n e P a c k a g e / p y t h o n 3 - p y j w t / d e s c r i p t i o n
$( call Package /python -pyjwt /description )
.
( V a r i a n t f o r P y t h o n 3 )
e n d e f
$( eval $ ( call PyPackage ,python -pyjwt ) )
$( eval $ ( call BuildPackage ,python -pyjwt ) )
$( eval $ ( call BuildPackage ,python -pyjwt -src ) )
$( eval $ ( call Py 3Package ,python 3-pyjwt ) )
$( eval $ ( call BuildPackage ,python 3-pyjwt ) )
$( eval $ ( call BuildPackage ,python 3-pyjwt -src ) )