A package for ansible and its depends #53

Merged
PeterSurda merged 5 commits from lee.miller/openwrt:python into main 2023-10-25 09:36:14 +02:00
2 changed files with 42 additions and 1 deletions
Showing only changes of commit 96883344fe - Show all commits

View File

@ -37,6 +37,7 @@ make package/kmod-nvme/compile
make package/kmod-i2c-mux-pinctrl/compile make package/kmod-i2c-mux-pinctrl/compile
make package/kmod-rtc-pcf85063/compile make package/kmod-rtc-pcf85063/compile
make package/nvme-cli/compile make package/nvme-cli/compile
make package/ansible-core/compile
make package/asterisk-chan-quectel/compile make package/asterisk-chan-quectel/compile
make package/collectd/compile make package/collectd/compile
@ -93,7 +94,8 @@ PACKAGES="kmod-i2c-bcm2835 kmod-i2c-mux kmod-i2c-mux-pinctrl \
luci-app-mwan3 luci-app-upnp \ luci-app-mwan3 luci-app-upnp \
luci-proto-wireguard \ luci-proto-wireguard \
luci-ssl-nginx luci-app-acme \ luci-ssl-nginx luci-app-acme \
python3-packages python3-yaml \ python3-ansible-core \
python3-yaml \
openssh-sftp-server tcpdump \ openssh-sftp-server tcpdump \
iptables-nft ip6tables-nft \ iptables-nft ip6tables-nft \
wireguard-tools wget-ssl \ wireguard-tools wget-ssl \

View File

@ -0,0 +1,39 @@
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ansible-core
PKG_VERSION:=2.14.2
PKG_RELEASE:=$(AUTORELEASE)
PYPI_NAME:=$(PKG_NAME)
PKG_HASH:=47f0d4b4125b58edba6435a47f37cbe6a18da54594d18f812958bb0cb58d4e65
PKG_MAINTAINER:=Lee Miller <lee.miller@tutanota.com>
PKG_LICENSE:=GPL-3.0-or-later
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
define Package/python3-$(PKG_NAME)
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Radically simple IT automation
URL:=https://ansible.com/
DEPENDS:=+python3 +python3-logging +python3-setuptools +python3-cryptography \
+python3-jinja2 +python3-yaml +python3-packaging
endef
define Package/python3-$(PKG_NAME)/description
Ansible is a radically simple IT automation system. It handles configuration
management, application deployment, cloud provisioning, ad-hoc task
execution, network automation, and multi-node orchestration. Ansible makes
complex changes like zero-downtime rolling updates with load balancers easy.
endef
$(eval $(call Py3Package,python3-$(PKG_NAME)))
$(eval $(call BuildPackage,python3-$(PKG_NAME)))
$(eval $(call BuildPackage,python3-$(PKG_NAME)-src))