mirror of
https://github.com/openwrt/packages.git
synced 2025-12-25 01:48:22 +04:00
Need to also provide python-setuptools/host as build dep for host and target build. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
#
|
|
# Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-babel
|
|
PKG_VERSION:=2.17.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=babel
|
|
PKG_HASH:=0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_BUILD_DEPENDS:=python3/host python-setuptools/host
|
|
HOST_BUILD_DEPENDS:= \
|
|
python3/host \
|
|
python-setuptools/host \
|
|
python-build/host \
|
|
python-installer/host \
|
|
python-wheel/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
include ../python3-package.mk
|
|
include ../python3-host-build.mk
|
|
|
|
define Package/python3-babel
|
|
SUBMENU:=Python
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=Internationalization utilities
|
|
URL:=https://babel.pocoo.org/
|
|
DEPENDS:= \
|
|
+python3-decimal \
|
|
+python3-distutils \
|
|
+python3-email \
|
|
+python3-light \
|
|
+python3-logging \
|
|
+python3-urllib
|
|
endef
|
|
|
|
define Package/python3-babel/description
|
|
Babel is an integrated collection of utilities that assist in
|
|
internationalizing and localizing Python applications
|
|
with an emphasis on web-based applications.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-babel))
|
|
$(eval $(call BuildPackage,python3-babel))
|
|
$(eval $(call BuildPackage,python3-babel-src))
|
|
$(eval $(call HostBuild))
|