diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-07-07 20:29:21 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-07 20:29:21 +0300 |
| commit | 5a27e1c4cd86d94ed152187da40fdb3a7d7995bb (patch) | |
| tree | 25d21875f860f68f05777bf43fc1c6e80e4ccdf6 /lang/python | |
| parent | 0545484f882713531389c045363854d43e873917 (diff) | |
| parent | 06dbce29e39cabc4f72a91f23fb261ffa2499870 (diff) | |
Merge pull request #6202 from cotequeiroz/seafile_openssl-1.1
seafile: upgrade to 6.3.0
Diffstat (limited to 'lang/python')
| -rw-r--r-- | lang/python/django-formtools/Makefile | 48 | ||||
| -rw-r--r-- | lang/python/django-ranged-response/Makefile | 47 | ||||
| -rw-r--r-- | lang/python/django-simple-captcha/Makefile | 48 | ||||
| -rw-r--r-- | lang/python/django-webpack-loader/Makefile | 47 | ||||
| -rw-r--r-- | lang/python/pyjwt/Makefile | 48 | ||||
| -rw-r--r-- | lang/python/python-certifi/Makefile | 49 | ||||
| -rw-r--r-- | lang/python/python-oauthlib/Makefile | 48 | ||||
| -rw-r--r-- | lang/python/python-qrcode/Makefile | 48 | ||||
| -rw-r--r-- | lang/python/python-requests-oauthlib/Makefile | 48 | ||||
| -rw-r--r-- | lang/python/python-requests/Makefile | 48 |
10 files changed, 479 insertions, 0 deletions
diff --git a/lang/python/django-formtools/Makefile b/lang/python/django-formtools/Makefile new file mode 100644 index 000000000..d6bcc252f --- /dev/null +++ b/lang/python/django-formtools/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=django-formtools +PKG_VERSION:=2.1 +PKG_RELEASE:=1 +PKG_LICENSE:=BSD-3-Clause + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/4a/86/ccbb8225dec0621f99f7e19f3dea0a629f1e41bd99fd58ac3e2f388e028f +PKG_HASH:=7703793f1675aa6e871f9fed147e8563816d7a5b9affdc5e3459899596217f7c + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/django-formtools + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=A set of high-level abstractions for Django forms + URL:=https://django-formtools.readthedocs.io/en/latest/ + DEPENDS:=+python +django +endef + +define Package/django-formtools/description + Django "formtools" is a set of high-level abstractions for Django forms. + Currently for form previews and multi-step forms. +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/django-formtools/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,django-formtools)) diff --git a/lang/python/django-ranged-response/Makefile b/lang/python/django-ranged-response/Makefile new file mode 100644 index 000000000..34c32ae60 --- /dev/null +++ b/lang/python/django-ranged-response/Makefile @@ -0,0 +1,47 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=django-ranged-response +PKG_VERSION:=0.2.0 +PKG_RELEASE:=1 +PKG_LICENSE:=MIT + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/70/e3/9372fcdca8e9c3205e7979528ccd1a14354a9a24d38efff11c1846ff8bf1 +PKG_HASH:=f71fff352a37316b9bead717fc76e4ddd6c9b99c4680cdf4783b9755af1cf985 + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/django-ranged-response + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=Modified Django FileResponse that adds Content-Range headers. + URL:=https://github.com/wearespindle/django-ranged-fileresponse + DEPENDS:=+python +django +endef + +define Package/django-ranged-response/description + Modified Django FileResponse that adds Content-Range headers. +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/django-ranged-response/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,django-ranged-response)) diff --git a/lang/python/django-simple-captcha/Makefile b/lang/python/django-simple-captcha/Makefile new file mode 100644 index 000000000..f9b04520c --- /dev/null +++ b/lang/python/django-simple-captcha/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=django-simple-captcha +PKG_VERSION:=0.5.9 +PKG_RELEASE:=1 +PKG_LICENSE:=MIT + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/d7/f4/ea95b04ed3abc7bf225716f17e35c5a185f6100db4d7541a46696ce40351 +PKG_HASH:=0c30a14f02502119fd1a4d308dd5d2b899d0f4284825a396bbb010afd904754a + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/django-simple-captcha + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=A very simple, yet powerful, Django captcha application + URL:=https://github.com/mbi/django-simple-captcha + DEPENDS:=+python +python-six +django +pillow +django-ranged-response +endef + +define Package/django-simple-captcha/description + Django Simple Captcha is an extremely simple, yet highly customizable Django + application to add captcha images to any Django form. +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/django-simple-captcha/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,django-simple-captcha)) diff --git a/lang/python/django-webpack-loader/Makefile b/lang/python/django-webpack-loader/Makefile new file mode 100644 index 000000000..0b15ccf69 --- /dev/null +++ b/lang/python/django-webpack-loader/Makefile @@ -0,0 +1,47 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=django-webpack-loader +PKG_VERSION:=0.6.0 +PKG_RELEASE:=1 +PKG_LICENSE:=MIT + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/ff/0f/e812908c5dcc7c8cac5beba2cddd14bbfe045496117b3d306a71b19fc828 +PKG_HASH:=60bab6b9a037a5346fad12d2a70a6bc046afb33154cf75ed640b93d3ebd5f520 + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/django-webpack-loader + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=Transparently use webpack with django + URL:=https://github.com/owais/django-webpack-loader + DEPENDS:=+python +django +endef + +define Package/django-webpack-loader/description + Use webpack to generate your static bundles without django’s staticfiles or opaque wrappers. +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/django-webpack-loader/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,django-webpack-loader)) diff --git a/lang/python/pyjwt/Makefile b/lang/python/pyjwt/Makefile new file mode 100644 index 000000000..d2f7f4182 --- /dev/null +++ b/lang/python/pyjwt/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=pyjwt +PKG_VERSION:=1.6.4 +PKG_RELEASE:=1 +PKG_LICENSE:=MIT + +PKG_SOURCE:=PyJWT-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/00/5e/b358c9bb24421e6155799d995b4aa3aa3307ffc7ecae4ad9d29fd7e07a73 +PKG_HASH:=4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176 +PKG_BUILD_DIR:=$(BUILD_DIR)/PyJWT-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/pyjwt + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=JSON Web Token implementation in Python + URL:=http://github.com/jpadilla/pyjwt + DEPENDS:=+python +endef + +define Package/pyjwt/description + A Python implementation of RFC 7519. +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/pyjwt/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,pyjwt)) diff --git a/lang/python/python-certifi/Makefile b/lang/python/python-certifi/Makefile new file mode 100644 index 000000000..28d2bd0dc --- /dev/null +++ b/lang/python/python-certifi/Makefile @@ -0,0 +1,49 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-certifi +PKG_VERSION:=2018.4.16 +PKG_RELEASE:=1 +PKG_LICENSE:=MPL-2.0 + +PKG_SOURCE:=certifi-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/4d/9c/46e950a6f4d6b4be571ddcae21e7bc846fcbb88f1de3eff0f6dd0a6be55d +PKG_HASH:=13e698f54293db9f89122b0581843a782ad0934a4fe0172d2a980ba77fc61bb7 +PKG_BUILD_DIR:=$(BUILD_DIR)/certifi-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/python-certifi + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=Python package for providing Mozilla's CA Bundle. + URL:=http://certifi.io/ + DEPENDS:=+python +endef + +define Package/python-certifi/description + Certifi is a carefully curated collection of Root Certificates for validating the + trustworthiness of SSL certificates while verifying the identity of TLS hosts. +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/python-certifi/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-certifi)) diff --git a/lang/python/python-oauthlib/Makefile b/lang/python/python-oauthlib/Makefile new file mode 100644 index 000000000..ac5ef5a20 --- /dev/null +++ b/lang/python/python-oauthlib/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-oauthlib +PKG_VERSION:=2.1.0 +PKG_RELEASE:=1 +PKG_LICENSE:=BSD-3-Clause + +PKG_SOURCE:=oauthlib-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/df/5f/3f4aae7b28db87ddef18afed3b71921e531ca288dc604eb981e9ec9f8853 +PKG_HASH:=ac35665a61c1685c56336bda97d5eefa246f1202618a1d6f34fccb1bdd404162 +PKG_BUILD_DIR:=$(BUILD_DIR)/oauthlib-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/python-oauthlib + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=A generic, spec-compliant, thorough implementation of the OAuth request-signing logic + URL:=https://github.com/oauthlib/oauthlib + DEPENDS:=+python +endef + +define Package/python-oauthlib/description + A generic, spec-compliant, thorough implementation of the OAuth request-signing logic for Python +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/python-oauthlib/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-oauthlib)) diff --git a/lang/python/python-qrcode/Makefile b/lang/python/python-qrcode/Makefile new file mode 100644 index 000000000..cb026a702 --- /dev/null +++ b/lang/python/python-qrcode/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-qrcode +PKG_VERSION:=6.0 +PKG_RELEASE:=1 +PKG_LICENSE:=BSD-3-Clause + +PKG_SOURCE:=qrcode-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/8d/b6/beed3d50e1047a2aa6437d3a653e5f31feb7f4de8bc054299dc205682e41 +PKG_HASH:=037b0db4c93f44586e37f84c3da3f763874fcac85b2974a69a98e399ac78e1bf +PKG_BUILD_DIR:=$(BUILD_DIR)/qrcode-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/python-qrcode + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=QR Code image generator + URL:=https://github.com/lincolnloop/python-qrcode + DEPENDS:=+python +python-six +endef + +define Package/python-qrcode/description + Pure python QR Code generator +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/python-qrcode/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-qrcode)) diff --git a/lang/python/python-requests-oauthlib/Makefile b/lang/python/python-requests-oauthlib/Makefile new file mode 100644 index 000000000..618925faf --- /dev/null +++ b/lang/python/python-requests-oauthlib/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-requests-oauthlib +PKG_VERSION:=1.0.0 +PKG_RELEASE:=1 +PKG_LICENSE:=ISC + +PKG_SOURCE:=requests-oauthlib-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/95/be/072464f05b70e4142cb37151e215a2037b08b1400f8a56f2538b76ca6205 +PKG_HASH:=8886bfec5ad7afb391ed5443b1f697c6f4ae98d0e5620839d8b4499c032ada3f +PKG_BUILD_DIR:=$(BUILD_DIR)/requests-oauthlib-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/python-requests-oauthlib + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=OAuthlib authentication support for Requests. + URL:=https://github.com/requests/requests-oauthlib + DEPENDS:=+python +python-requests +python-oauthlib +python-cryptography +pyjwt +endef + +define Package/python-requests-oauthlib/description + This project provides first-class OAuth library support for Requests. +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/python-requests-oauthlib/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-requests-oauthlib)) diff --git a/lang/python/python-requests/Makefile b/lang/python/python-requests/Makefile new file mode 100644 index 000000000..e48271d02 --- /dev/null +++ b/lang/python/python-requests/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=python-requests +PKG_VERSION:=2.19.1 +PKG_RELEASE:=1 +PKG_LICENSE:=Apache-2.0 + +PKG_SOURCE:=requests-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/54/1f/782a5734931ddf2e1494e4cd615a51ff98e1879cbe9eecbdfeaf09aa75e9 +PKG_HASH:=ec22d826a36ed72a7358ff3fe56cbd4ba69dd7a6718ffd450ff0e9df7a47ce6a +PKG_BUILD_DIR:=$(BUILD_DIR)/requests-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk +include ../python-package.mk + +define Package/python-requests + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com> + TITLE:=HTTP library for Python + URL:=http://python-requests.org/ + DEPENDS:=+python +chardet +python-idna +python-urllib3 +python-certifi +endef + +define Package/python-requests/description + Requests is the only Non-GMO HTTP library for Python, safe for human consumption. +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR)) +endef + +define Package/python-requests/install + $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) + $(CP) \ + $(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \ + $(1)$(PYTHON_PKG_DIR) +endef + +$(eval $(call BuildPackage,python-requests)) |
