summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-01-16 10:14:40 +0000
committeradam <adam@pkgsrc.org>2021-01-16 10:14:40 +0000
commitb15be667d7d0beb27654d98ec10f748d8f59d4f8 (patch)
tree820985333ee4e5a6861cef0f94059cd994bcba4c /www
parentcc525f8e15cc187e2de4efa34c8f80cf6c391603 (diff)
downloadpkgsrc-b15be667d7d0beb27654d98ec10f748d8f59d4f8.tar.gz
py-djangocms-video: 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 Added setting DJANGOCMS_VIDEO_YOUTUBE_EMBED_URL to allow overriding the default canonical YouTube URL
Diffstat (limited to 'www')
-rw-r--r--www/py-djangocms-video/Makefile14
-rw-r--r--www/py-djangocms-video/distinfo11
-rw-r--r--www/py-djangocms-video/patches/patch-setup.py15
3 files changed, 28 insertions, 12 deletions
diff --git a/www/py-djangocms-video/Makefile b/www/py-djangocms-video/Makefile
index 0583d5980a6..6980b65b893 100644
--- a/www/py-djangocms-video/Makefile
+++ b/www/py-djangocms-video/Makefile
@@ -1,22 +1,22 @@
-# $NetBSD: Makefile,v 1.8 2020/02/19 12:01:20 adam Exp $
+# $NetBSD: Makefile,v 1.9 2021/01/16 10:14:40 adam Exp $
-DISTNAME= djangocms-video-2.3.0
+DISTNAME= djangocms-video-3.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/djangocms-video/}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://github.com/divio/djangocms-video
-COMMENT= Flash plugin for django CMS
+COMMENT= Django CMS plugin that allow you to publish video content
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-django-cms>=3.4.5:../../www/py-django-cms
-DEPENDS+= ${PYPKGPREFIX}-django-filer>=1.2.4:../../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
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-video/distinfo b/www/py-djangocms-video/distinfo
index a2aec70ef5b..157e8659938 100644
--- a/www/py-djangocms-video/distinfo
+++ b/www/py-djangocms-video/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2020/02/19 12:01:20 adam Exp $
+$NetBSD: distinfo,v 1.7 2021/01/16 10:14:40 adam Exp $
-SHA1 (djangocms-video-2.3.0.tar.gz) = f56009b905a95cd4ec70efb51709b2f7bdfadc4f
-RMD160 (djangocms-video-2.3.0.tar.gz) = d2a8b86be678e9a3614bee9c14299154d8fa435f
-SHA512 (djangocms-video-2.3.0.tar.gz) = a25cf07cdcc3a9df12ef4190704683c11d4c38b8e8a448183ad5f49d41f864aefa78cf028995bd10362d285c50a6ef5dce32c00c589842180abcb7b7c27ef0bf
-Size (djangocms-video-2.3.0.tar.gz) = 29272 bytes
+SHA1 (djangocms-video-3.0.0.tar.gz) = e29f9baaa7e45d2f9be4c0b0e9cfe2a8e2083a86
+RMD160 (djangocms-video-3.0.0.tar.gz) = 68016fed7f14a1dec73fa842953213dcf059d774
+SHA512 (djangocms-video-3.0.0.tar.gz) = 35a3fba62e05f92191c3cd0c88b5463c874fe68afb79b24903d8f5ab4fa70c1a3825680d4cfa0bdc55500b3b88d47c62b8ff8768f2ee6342f7a8cc7c7eefc365
+Size (djangocms-video-3.0.0.tar.gz) = 39655 bytes
+SHA1 (patch-setup.py) = c315fb3b8dc13eea17a300832e6bf6d8487d50ac
diff --git a/www/py-djangocms-video/patches/patch-setup.py b/www/py-djangocms-video/patches/patch-setup.py
new file mode 100644
index 00000000000..94e6ce797e8
--- /dev/null
+++ b/www/py-djangocms-video/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.3 2021/01/16 10:14:40 adam Exp $
+
+Do not install tests.
+
+--- setup.py.orig 2021-01-16 10:10:12.000000000 +0000
++++ setup.py
+@@ -46,7 +46,7 @@ setup(
+ license='BSD-3-Clause',
+ description='Adds video 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,