python3-docopt: add a new package
authorJavier Marcet <javier@marcet.info>
Mon, 17 Feb 2020 13:49:13 +0000 (14:49 +0100)
committerJavier Marcet <javier@marcet.info>
Mon, 8 Jun 2020 11:48:40 +0000 (13:48 +0200)
Signed-off-by: Javier Marcet <javier@marcet.info>
lang/python/python-docopt/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-docopt/Makefile b/lang/python/python-docopt/Makefile
new file mode 100644 (file)
index 0000000..f4c96c5
--- /dev/null
@@ -0,0 +1,36 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-docopt
+PKG_VERSION:=0.6.2
+PKG_RELEASE:=1
+
+PYPI_NAME:=docopt
+PKG_HASH:=49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491
+
+PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE-MIT
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+PYTHON3_PKG_SETUP_ARGS:=
+
+define Package/python3-docopt
+  SECTION:=lang
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=Pythonic argument parser, that will make you smile
+  URL:=http://docopt.org/
+  DEPENDS:=+python3-light
+  VARIANT:=python3
+endef
+
+define Package/python3-docopt/description
+  Pythonic argument parser, that will make you smile
+endef
+
+$(eval $(call Py3Package,python3-docopt))
+$(eval $(call BuildPackage,python3-docopt))
+$(eval $(call BuildPackage,python3-docopt-src))