summaryrefslogtreecommitdiff
path: root/lang/python/python-decorator
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-03-11 18:57:07 +0200
committerGitHub <noreply@github.com>2019-03-11 18:57:07 +0200
commitc4e1e873fd18d24208ee8989f0dd5d4b0934a761 (patch)
tree96fc618d16a050d248b3e263090b005f490ceea8 /lang/python/python-decorator
parentc332e6420a886719c0e3cc650d420bb7500bb748 (diff)
parent37633c97d74494e81a7519cf2bfcdd0478936f1b (diff)
Merge pull request #8378 from Cynerd/python-new-packages-pull
New Python3 packages as dependencies for Bigclown
Diffstat (limited to 'lang/python/python-decorator')
-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))