python-augeas: add new package

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
Co-authored-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jan Pavlinec
2019-11-14 12:48:05 +01:00
parent 7fc497dd67
commit 519dd79c73
2 changed files with 137 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
#
# Copyright (C) 2020 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-augeas
PKG_VERSION:=1.1.0
PKG_RELEASE:=1
PYPI_NAME:=python-augeas
PKG_HASH:=5194a49e86b40ffc57055f73d833f87e39dce6fce934683e7d0d5bbb8eff3b8c
PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
PKG_LICENSE:=LGPL-2.1-or-later
PKG_LICENSE_FILES:=COPYING
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=cffi # cffi>=1.0.0
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-augeas
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Python bindings for Augeas
URL:=http://augeas.net
DEPENDS:=+python3-light +python3-cffi +augeas
endef
define Package/python3-augeas/description
Pure python bindings for Augeas.
endef
$(eval $(call Py3Package,python3-augeas))
$(eval $(call BuildPackage,python3-augeas))
$(eval $(call BuildPackage,python3-augeas-src))