@ -9,39 +9,55 @@ include $(TOPDIR)/rules.mk
PKG_NAME := python-dateutil
PKG_VERSION := 2.7.5
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_LICENSE := BSD-2-Clause
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://files.pythonhosted.org/packages/source/p/python-dateutil
PKG_HASH := 88f9287c0174266bb0d8cedd395cfba9c58e87e5ad86b2ce58859bc11be3cf02
PKG_BUILD_DIR := $( BUILD_DIR) /$( BUILD_VARIANT) -dateutil-$( PKG_VERSION)
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 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 t h o n - d a t e u t i l
PKG_UNPACK := $( HOST_TAR) -C $( PKG_BUILD_DIR) --strip-components= 1 -xzf $( DL_DIR) /$( PKG_SOURCE)
d e f i n e P a c k a g e / p y t h o n - d a t e u t i l / D e f a u l t
SUBMENU:= Python
SECTION:= lang
CATEGORY:= Languages
MAINTAINER:= Gergely Kiss <mail.gery@gmail.com>
TITLE:= Extensions to the standard Python datetime module
URL:= https://dateutil.readthedocs.org/
DEPENDS:= +python +python-six
e n d e f
d e f i n e P a c k a g e / p y t h o n - d a t e u t i l
$( call Package /python -dateutil /Default )
DEPENDS:= +PACKAGE_python-dateutil:python +PACKAGE_python-dateutil:python-six
VARIANT:= python
e n d e f
d e f i n e P a c k a g e / p y t h o n - d a t e u t i l / d e s c r i p t i o n
Extensions to the standard Python datetime module
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 - d a t e u t i l
$( call Package /python -dateutil /Default )
DEPENDS:= +PACKAGE_python3-dateutil:python3 +PACKAGE_python3-dateutil:python3-six
VARIANT:= python3
e n d e f
d e f i n e P a c k a g e / p y t h o n - d a t e u t i l / 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 3 - d a t e u t i l / d e s c r i p t i o n
$( call Package /python -dateutil /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 -dateutil ) )
$( eval $ ( call BuildPackage ,python -dateutil ) )
$( eval $ ( call BuildPackage ,python -dateutil -src ) )
$( eval $ ( call Py 3Package ,python 3-dateutil ) )
$( eval $ ( call BuildPackage ,python 3-dateutil ) )
$( eval $ ( call BuildPackage ,python 3-dateutil -src ) )