summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-01-16 09:59:07 +0000
committeradam <adam@pkgsrc.org>2021-01-16 09:59:07 +0000
commite898d53f3fc14041276514ec2d3c5ef1a11d893e (patch)
tree3d2cccaef4dea426e107cf0c858c7f69b32d1422 /www
parent999bc5f788932818a85875ecfda2c7c31d26856c (diff)
downloadpkgsrc-e898d53f3fc14041276514ec2d3c5ef1a11d893e.tar.gz
py-djangocms-picture: updated to 3.0.0
3.0.0: Added support for Django 3.1 Dropped support for Python 2.7 and Python 3.4 Dropped support for Django < 2.2 Fixed an issue with external images where internal or external links were not taken into account
Diffstat (limited to 'www')
-rw-r--r--www/py-djangocms-picture/Makefile14
-rw-r--r--www/py-djangocms-picture/distinfo11
-rw-r--r--www/py-djangocms-picture/patches/patch-setup.py15
3 files changed, 28 insertions, 12 deletions
diff --git a/www/py-djangocms-picture/Makefile b/www/py-djangocms-picture/Makefile
index f9ed6805a47..9e3366c5669 100644
--- a/www/py-djangocms-picture/Makefile
+++ b/www/py-djangocms-picture/Makefile
@@ -1,23 +1,23 @@
-# $NetBSD: Makefile,v 1.9 2020/02/19 11:13:05 adam Exp $
+# $NetBSD: Makefile,v 1.10 2021/01/16 09:59:07 adam Exp $
-DISTNAME= djangocms-picture-2.4.0
+DISTNAME= djangocms-picture-3.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/djangocms-picture/}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://github.com/divio/djangocms-picture
-COMMENT= Flash plugin for django CMS
+COMMENT= Django CMS plugin that allows you to add images
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-django-cms>=3.4.5:../../www/py-django-cms
-DEPENDS+= ${PYPKGPREFIX}-django-filer>=1.5.0:../../www/py-django-filer
-DEPENDS+= ${PYPKGPREFIX}-djangocms-attributes-field>=0.4.0:../../www/py-djangocms-attributes-field
+DEPENDS+= ${PYPKGPREFIX}-django-cms>=3.7:../../www/py-django-cms
+DEPENDS+= ${PYPKGPREFIX}-django-filer>=1.7:../../www/py-django-filer
+DEPENDS+= ${PYPKGPREFIX}-djangocms-attributes-field>=1.0:../../www/py-djangocms-attributes-field
DEPENDS+= ${PYPKGPREFIX}-easy-thumbnails-[0-9]*:../../www/py-easy-thumbnails
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-django-mptt
+PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-djangocms-picture/distinfo b/www/py-djangocms-picture/distinfo
index da534ffa25a..d7037f0567f 100644
--- a/www/py-djangocms-picture/distinfo
+++ b/www/py-djangocms-picture/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2020/02/19 11:13:05 adam Exp $
+$NetBSD: distinfo,v 1.7 2021/01/16 09:59:07 adam Exp $
-SHA1 (djangocms-picture-2.4.0.tar.gz) = ce6f37078030e4a3e4b37424e6b15006c5653d9f
-RMD160 (djangocms-picture-2.4.0.tar.gz) = 24f3b507b70aa257760817d013a72bc4d3248b0f
-SHA512 (djangocms-picture-2.4.0.tar.gz) = 37b9892a3d12f38af212b5ad154ad98ee2fb00e574fd80909ac2971e74247457256c80992f6f105b17639ad44f0c5110ca999843cc25331c8e3b92ff339d1c86
-Size (djangocms-picture-2.4.0.tar.gz) = 38062 bytes
+SHA1 (djangocms-picture-3.0.0.tar.gz) = 6cbe9cd0f5b86233da6a1aad71571b2f70921dc3
+RMD160 (djangocms-picture-3.0.0.tar.gz) = dbffb4ed9386ce10ebfbee52da780e594538582c
+SHA512 (djangocms-picture-3.0.0.tar.gz) = a78ed53b7b126a397b40cf5337a1059c62937ec90ddc0ea25d08f2a05e19cc62fc8be0bf8fc212c4fb4ed70134a42feecf8cc76ff3ab7e228d2be3d5d9bd93b2
+Size (djangocms-picture-3.0.0.tar.gz) = 47782 bytes
+SHA1 (patch-setup.py) = 29fd976b8784b8f8bca1573d84a8ddf8b7052a9a
diff --git a/www/py-djangocms-picture/patches/patch-setup.py b/www/py-djangocms-picture/patches/patch-setup.py
new file mode 100644
index 00000000000..ac9643d16cf
--- /dev/null
+++ b/www/py-djangocms-picture/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.3 2021/01/16 09:59:07 adam Exp $
+
+Do not install tests.
+
+--- setup.py.orig 2021-01-16 09:55:16.000000000 +0000
++++ setup.py
+@@ -47,7 +47,7 @@ setup(
+ license='BSD-3-Clause',
+ description='Adds an image plugin to django CMS',
+ long_description=open('README.rst').read(),
+- packages=find_packages(),
++ packages=find_packages(exclude=['tests']),
+ include_package_data=True,
+ zip_safe=False,
+ install_requires=REQUIREMENTS,