From 96883344fe52864a2183db383b98d0da000700a5 Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Wed, 15 Feb 2023 05:55:45 +0200 Subject: [PATCH] Add a package for ansible-core --- .buildbot/openwrt/build.sh | 4 +++- feed/ansible-core/Makefile | 39 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 feed/ansible-core/Makefile diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index fa56bf0..ac95db7 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -37,6 +37,7 @@ make package/kmod-nvme/compile make package/kmod-i2c-mux-pinctrl/compile make package/kmod-rtc-pcf85063/compile make package/nvme-cli/compile +make package/ansible-core/compile make package/asterisk-chan-quectel/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-proto-wireguard \ luci-ssl-nginx luci-app-acme \ - python3-packages python3-yaml \ + python3-ansible-core \ + python3-yaml \ openssh-sftp-server tcpdump \ iptables-nft ip6tables-nft \ wireguard-tools wget-ssl \ diff --git a/feed/ansible-core/Makefile b/feed/ansible-core/Makefile new file mode 100644 index 0000000..89c9c5b --- /dev/null +++ b/feed/ansible-core/Makefile @@ -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 +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))