From e3325d08c8e682c10db517cdd703176380f80381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Sep 2018 11:41:47 +0200 Subject: Add python3-decorator --- python3-decorator/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 python3-decorator/Makefile (limited to 'python3-decorator/Makefile') diff --git a/python3-decorator/Makefile b/python3-decorator/Makefile new file mode 100644 index 0000000..49e9d80 --- /dev/null +++ b/python3-decorator/Makefile @@ -0,0 +1,24 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=python3-decorator +PKG_VERSION:=4.3.1 +PKG_RELEASE:=1 +PKG_SOURCE_URL:=https://github.com/micheles/decorator/archive/$(PKG_VERSION)/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_MDSUM:=b92084f8732267b9ea5bfe8887fbad14 +PKG_MAINTAINER:=Karel Kočí + +include $(INCLUDE_DIR)/package.mk +$(call include_mk, python3-package.mk) + +define Package/$(PKG_NAME) + TITLE:=Schema validation just got Pythonic + DEPENDS:=+python3 +endef + +define Build/Compile + $(call Build/Compile/Py3Mod,,install --prefix="/usr" --root=$(PKG_INSTALL_DIR)) +endef + +$(eval $(call Py3Package,$(PKG_NAME))) +$(eval $(call BuildPackage,$(PKG_NAME))) -- cgit v1.2.3 From 3827aa391d6efc91cc59f903fd29460a44ed908d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Sep 2018 11:44:00 +0200 Subject: python3-decorator: fix --- python3-decorator/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python3-decorator/Makefile') diff --git a/python3-decorator/Makefile b/python3-decorator/Makefile index 49e9d80..03d34a3 100644 --- a/python3-decorator/Makefile +++ b/python3-decorator/Makefile @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/package.mk $(call include_mk, python3-package.mk) define Package/$(PKG_NAME) - TITLE:=Schema validation just got Pythonic + TITLE:=Python3 decorators DEPENDS:=+python3 endef -- cgit v1.2.3 From eedc2cda3c3df22f882fee9c45f52a9dd24cc1b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Sep 2018 12:56:50 +0200 Subject: python3-decorator: fix build --- python3-decorator/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'python3-decorator/Makefile') diff --git a/python3-decorator/Makefile b/python3-decorator/Makefile index 03d34a3..aefd6d2 100644 --- a/python3-decorator/Makefile +++ b/python3-decorator/Makefile @@ -7,6 +7,7 @@ PKG_SOURCE_URL:=https://github.com/micheles/decorator/archive/$(PKG_VERSION)/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_MDSUM:=b92084f8732267b9ea5bfe8887fbad14 PKG_MAINTAINER:=Karel Kočí +PKG_BUILD_DIR:=$(BUILD_DIR)/decorator-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk $(call include_mk, python3-package.mk) -- cgit v1.2.3