diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2020-05-21 14:28:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-21 14:28:27 +0300 |
| commit | e10a32d9b1f1cac04a1fd8e4fc8159b8e2dd3fc0 (patch) | |
| tree | 083d3b3b8df201e5b9e27b0a9d45d77289cb04c3 /lang/python | |
| parent | d6c66721cb7d2cb0380f8bb07542a3d361ca178d (diff) | |
| parent | f350b5620bf3db3efe06a2aa62527ca4799fcaeb (diff) | |
Merge pull request #12244 from jefferyto/seafile-server-7.1.4
seafile-server: Update to 7.1.4
Diffstat (limited to 'lang/python')
| -rw-r--r-- | lang/python/django-jsonfield2/Makefile | 49 | ||||
| -rw-r--r-- | lang/python/django-postoffice/Makefile | 9 |
2 files changed, 54 insertions, 4 deletions
diff --git a/lang/python/django-jsonfield2/Makefile b/lang/python/django-jsonfield2/Makefile new file mode 100644 index 000000000..961d3453e --- /dev/null +++ b/lang/python/django-jsonfield2/Makefile @@ -0,0 +1,49 @@ +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +# Please do not update: 3.0.3 is the last version compatible with Django 1.11 +PKG_NAME:=django-jsonfield2 +PKG_VERSION:=3.0.3 +PKG_RELEASE:=1 + +# Source for 3.0.3 is not available from PyPI +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/rpkilby/jsonfield2/tar.gz/$(PKG_VERSION)? +PKG_HASH:=4b79ac28738671fe27cadbd537d50130c35a286207d31d8320c7b48b6cda36ca + +PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE + +PKG_BUILD_DIR:=$(BUILD_DIR)/jsonfield2-$(PKG_VERSION) +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-django-jsonfield2 + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=A reusable Django field to store validated JSON in models + URL:=https://github.com/rpkilby/jsonfield2 + DEPENDS:=+python3-light +python3-decimal +django + CONFLICTS:=python3-django-jsonfield +endef + +define Package/python3-django-jsonfield2/description + A modern fork of django-jsonfield, compatible with the latest versions + of Django. + + jsonfield2 is a reusable model field that allows you to store + validated JSON, automatically handling serialization to and from the + database. +endef + +$(eval $(call Py3Package,python3-django-jsonfield2)) +$(eval $(call BuildPackage,python3-django-jsonfield2)) +$(eval $(call BuildPackage,python3-django-jsonfield2-src)) diff --git a/lang/python/django-postoffice/Makefile b/lang/python/django-postoffice/Makefile index f617b4ecf..7e2336cb0 100644 --- a/lang/python/django-postoffice/Makefile +++ b/lang/python/django-postoffice/Makefile @@ -7,13 +7,14 @@ include $(TOPDIR)/rules.mk +# Please do not update: 3.3.0 is the last version compatible with Django 1.11 PKG_NAME:=django-postoffice -PKG_VERSION:=3.2.1 -PKG_RELEASE:=2 +PKG_VERSION:=3.3.0 +PKG_RELEASE:=1 PYPI_NAME:=django-post-office PYPI_SOURCE_NAME:=django-post_office -PKG_HASH:=e32427822f647719575094f790ca949ef9f9827ec0e8378cb021f01f3834b2a4 +PKG_HASH:=b06514da601c22e955bd93a4ac6dd6b2218c571ca67c193e62bd1f22cec7536f PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com> PKG_LICENSE:=MIT @@ -32,7 +33,7 @@ define Package/python3-django-postoffice DEPENDS:= \ +python3 \ +python3-django1 \ - +python3-django-jsonfield + +python3-django-jsonfield2 endef define Package/python3-django-postoffice/description |
