summaryrefslogtreecommitdiff
path: root/lang/python/python-decorator/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2019-02-04 13:51:46 +0100
committerKarel Kočí <karel.koci@nic.cz>2019-03-11 17:21:31 +0100
commit0361b3962859b2443ca14756e325137f0b4c6921 (patch)
tree151bb093b973b9ff1f9ead807cc4b3c9356208f0 /lang/python/python-decorator/Makefile
parentd0e3345acaddc9d2adf0a4715b4e06e9ea239955 (diff)
python-decorator: add package
Signed-off-by: Karel Kočí <karel.koci@nic.cz>
Diffstat (limited to 'lang/python/python-decorator/Makefile')
-rw-r--r--lang/python/python-decorator/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/lang/python/python-decorator/Makefile b/lang/python/python-decorator/Makefile
new file mode 100644
index 000000000..2d4416e72
--- /dev/null
+++ b/lang/python/python-decorator/Makefile
@@ -0,0 +1,32 @@
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-decorator
+PKG_VERSION:=4.3.2
+PKG_RELEASE:=1
+PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
+
+PKG_SOURCE_URL:=https://codeload.github.com/micheles/decorator/tar.gz/$(PKG_VERSION)?
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_HASH:=c053ec881270608a5aef624a45a7700ec76ceca9d96689506411e1f319085380
+PKG_BUILD_DIR:=$(BUILD_DIR)/decorator-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-decorator
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ URL:=https://github.com/micheles/decorator
+ TITLE:=python3-decodator
+ DEPENDS:=+python3-light
+ VARIANT:=python3
+endef
+
+$(eval $(call Py3Package,python3-decorator))
+$(eval $(call BuildPackage,python3-decorator))
+$(eval $(call BuildPackage,python3-decorator-src))