From dca142cb6853157455ce2489b86dba3f66ad080e Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Thu, 23 Feb 2023 02:37:18 +0200 Subject: [PATCH] Add also GitPython package and its depends --- feed/ansible-core/Makefile | 2 +- feed/gitdb/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ feed/gitpython/Makefile | 36 ++++++++++++++++++++++++++++++++++++ feed/smmap/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 feed/gitdb/Makefile create mode 100644 feed/gitpython/Makefile create mode 100644 feed/smmap/Makefile diff --git a/feed/ansible-core/Makefile b/feed/ansible-core/Makefile index 3c4473a..50e0af7 100644 --- a/feed/ansible-core/Makefile +++ b/feed/ansible-core/Makefile @@ -25,7 +25,7 @@ define Package/python3-$(PKG_NAME) URL:=https://ansible.com/ DEPENDS:=+python3 +python3-logging +python3-setuptools +python3-cryptography \ +python3-jinja2 +python3-yaml +python3-packaging \ - +python3-resolvelib + +python3-git +python3-resolvelib endef define Package/python3-$(PKG_NAME)/description diff --git a/feed/gitdb/Makefile b/feed/gitdb/Makefile new file mode 100644 index 0000000..390472e --- /dev/null +++ b/feed/gitdb/Makefile @@ -0,0 +1,38 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=gitdb +PKG_VERSION:=4.0.10 +PKG_RELEASE:=$(AUTORELEASE) + +PYPI_NAME:=$(PKG_NAME) +PKG_HASH:=6eb990b69df4e15bad899ea868dc46572c3f75339735663b81de79b06f17eb9a +PKG_MAINTAINER:=Lee Miller +PKG_LICENSE:=BSD + +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:=Git Object Database + URL:=https://github.com/gitpython-developers/gitdb + DEPENDS:=+python3 +python3-setuptools +python3-smmap +endef + +define Package/python3-$(PKG_NAME)/description + GitDB allows you to access bare git repositories for reading and writing. + It aims at allowing full access to loose objects as well as packs with + performance and scalability in mind. It operates exclusively on streams, + allowing to handle large objects with a small memory footprint. +endef + +$(eval $(call Py3Package,python3-$(PKG_NAME))) +$(eval $(call BuildPackage,python3-$(PKG_NAME))) +$(eval $(call BuildPackage,python3-$(PKG_NAME)-src)) diff --git a/feed/gitpython/Makefile b/feed/gitpython/Makefile new file mode 100644 index 0000000..f43f000 --- /dev/null +++ b/feed/gitpython/Makefile @@ -0,0 +1,36 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=git +PKG_VERSION:=3.1.31 +PKG_RELEASE:=$(AUTORELEASE) + +PYPI_NAME:=GitPython +PKG_HASH:=8ce3bcf69adfdf7c7d503e78fd3b1c492af782d58893b650adb2ac8912ddd573 +PKG_MAINTAINER:=Lee Miller +PKG_LICENSE:=BSD-3-Clause + +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:=GitPython is a Python library used to interact with Git repositories + URL:=https://github.com/gitpython-developers/GitPython + DEPENDS:=+python3 +python3-setuptools +python3-gitdb +endef + +define Package/python3-$(PKG_NAME)/description + GitPython is a python library used to interact with git repositories, + high-level like git-porcelain, or low-level like git-plumbing. +endef + +$(eval $(call Py3Package,python3-$(PKG_NAME))) +$(eval $(call BuildPackage,python3-$(PKG_NAME))) +$(eval $(call BuildPackage,python3-$(PKG_NAME)-src)) diff --git a/feed/smmap/Makefile b/feed/smmap/Makefile new file mode 100644 index 0000000..aaeb8b3 --- /dev/null +++ b/feed/smmap/Makefile @@ -0,0 +1,38 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=smmap +PKG_VERSION:=5.0.0 +PKG_RELEASE:=$(AUTORELEASE) + +PYPI_NAME:=$(PKG_NAME) +PKG_HASH:=c840e62059cd3be204b0c9c9f74be2c09d5648eddd4580d9314c3ecde0b30936 +PKG_MAINTAINER:=Lee Miller +PKG_LICENSE:=BSD-3-Clause + +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:=A pure Python implementation of a sliding window memory map manager + URL:=https://github.com/gitpython-developers/smmap + DEPENDS:=+python3 +python3-setuptools +endef + +define Package/python3-$(PKG_NAME)/description + Smmap wraps an interface around mmap and tracks the mapped files as well + as the amount of clients who use it. If the system runs out of resources, + or if a memory limit is reached, it will automatically unload unused maps + to allow continued operation. +endef + +$(eval $(call Py3Package,python3-$(PKG_NAME))) +$(eval $(call BuildPackage,python3-$(PKG_NAME))) +$(eval $(call BuildPackage,python3-$(PKG_NAME)-src))