pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-django-filer
Module Name: pkgsrc
Committed By: adam
Date: Sat Jan 16 09:41:58 UTC 2021
Modified Files:
pkgsrc/www/py-django-filer: Makefile PLIST distinfo
Added Files:
pkgsrc/www/py-django-filer/patches: patch-setup.py
Log Message:
py-django-filer: updated to 2.0.2
2.0.2
Fix 1214: serve() missing 1 required positional argument: filer_file.
Fix 1211: On upload MIME-type is not set correctly.
2.0.1
Fixed NotNullViolation: null value in column "mime_type" in migration filer.0012_file_mime_type.py.
2.0.0
Added support for Django 3.1
Dropped support for Python 2.7 and Python 3.4
Dropped support for Django < 2.2
Changed the preferred way to do model registration via model inheritance and mptt.AlreadyRegistered, which is deprecated since django-mptt 0.4
Use dashed name for django-polymorphic dependency in setup.py
In models.File, add field mime_type to store the Content-Type as set by the browser during file upload
For extended Django Filer models, adopt the classmethod matches_file_type to its new signature, this is a breaking change
Add attribute download to the download link in order to offer the file under its original name
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-django-filer/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-django-filer/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-django-filer/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-django-filer/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-django-filer/Makefile
diff -u pkgsrc/www/py-django-filer/Makefile:1.8 pkgsrc/www/py-django-filer/Makefile:1.9
--- pkgsrc/www/py-django-filer/Makefile:1.8 Fri Jun 19 12:04:33 2020
+++ pkgsrc/www/py-django-filer/Makefile Sat Jan 16 09:41:57 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2020/06/19 12:04:33 adam Exp $
+# $NetBSD: Makefile,v 1.9 2021/01/16 09:41:57 adam Exp $
-DISTNAME= django-filer-1.7.1
+DISTNAME= django-filer-2.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-filer/}
@@ -11,15 +11,15 @@ COMMENT= File management application for
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-Unidecode>=0.04:../../textproc/py-Unidecode
-DEPENDS+= ${PYPKGPREFIX}-django>=1.11:../../www/py-django
+DEPENDS+= ${PYPKGPREFIX}-django>=2.2:../../www/py-django2
DEPENDS+= ${PYPKGPREFIX}-django-mptt>=0.6:../../www/py-django-mptt
-DEPENDS+= ${PYPKGPREFIX}-django-polymorphic>=0.7:../../www/py-django-polymorphic
+DEPENDS+= ${PYPKGPREFIX}-django-polymorphic>=2.0:../../www/py-django-polymorphic
DEPENDS+= ${PYPKGPREFIX}-easy-thumbnails>=2.0:../../www/py-easy-thumbnails
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-django-mptt
+PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-django-filer/PLIST
diff -u pkgsrc/www/py-django-filer/PLIST:1.4 pkgsrc/www/py-django-filer/PLIST:1.5
--- pkgsrc/www/py-django-filer/PLIST:1.4 Thu Feb 20 06:23:20 2020
+++ pkgsrc/www/py-django-filer/PLIST Sat Jan 16 09:41:57 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2020/02/20 06:23:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2021/01/16 09:41:57 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -193,6 +193,9 @@ ${PYSITELIB}/filer/migrations/0010_auto_
${PYSITELIB}/filer/migrations/0011_auto_20190418_0137.py
${PYSITELIB}/filer/migrations/0011_auto_20190418_0137.pyc
${PYSITELIB}/filer/migrations/0011_auto_20190418_0137.pyo
+${PYSITELIB}/filer/migrations/0012_file_mime_type.py
+${PYSITELIB}/filer/migrations/0012_file_mime_type.pyc
+${PYSITELIB}/filer/migrations/0012_file_mime_type.pyo
${PYSITELIB}/filer/migrations/__init__.py
${PYSITELIB}/filer/migrations/__init__.pyc
${PYSITELIB}/filer/migrations/__init__.pyo
Index: pkgsrc/www/py-django-filer/distinfo
diff -u pkgsrc/www/py-django-filer/distinfo:1.6 pkgsrc/www/py-django-filer/distinfo:1.7
--- pkgsrc/www/py-django-filer/distinfo:1.6 Fri Jun 19 12:04:33 2020
+++ pkgsrc/www/py-django-filer/distinfo Sat Jan 16 09:41:57 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2020/06/19 12:04:33 adam Exp $
+$NetBSD: distinfo,v 1.7 2021/01/16 09:41:57 adam Exp $
-SHA1 (django-filer-1.7.1.tar.gz) = ae9d9a1f57a90b578b16d7baa13aa4688ac50efb
-RMD160 (django-filer-1.7.1.tar.gz) = a397f047d4bfa34ace406741a5a14f1725a1fb41
-SHA512 (django-filer-1.7.1.tar.gz) = 27b6b30f686ea1fcefa417057c80fbc1a87fac0fbfad57e7fe0045667355eeb3300f0d8a5a087af368d7dfcf523fe2e8fcadfded5eb12e2bce26faa04da76c19
-Size (django-filer-1.7.1.tar.gz) = 1252192 bytes
+SHA1 (django-filer-2.0.2.tar.gz) = cb15707019a9b3876e048968efe86a5a8ce52e27
+RMD160 (django-filer-2.0.2.tar.gz) = a901bdbd64a8aa88171f33047123d1d91fa805b0
+SHA512 (django-filer-2.0.2.tar.gz) = 9ba07a15ab0af144ae6791814e3dbaf72d015d0ce0f361544ba8699f74a315b797bd9330836190db743c6868dce19d42269ac5b583de5c97cba9193f3f7ea273
+Size (django-filer-2.0.2.tar.gz) = 1267183 bytes
+SHA1 (patch-setup.py) = bff20b3b23f60971dcad4b49b722b4e2317d44d7
Added files:
Index: pkgsrc/www/py-django-filer/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-django-filer/patches/patch-setup.py:1.1
--- /dev/null Sat Jan 16 09:41:58 2021
+++ pkgsrc/www/py-django-filer/patches/patch-setup.py Sat Jan 16 09:41:57 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/01/16 09:41:57 adam Exp $
+
+Do not install tests.
+
+--- setup.py.orig 2021-01-16 09:34:19.000000000 +0000
++++ setup.py
+@@ -50,7 +50,7 @@ setup(
+ description='A file management application for django that makes handling '
+ 'of files and images a breeze.',
+ long_description=open('README.rst').read(),
+- packages=find_packages(),
++ packages=find_packages(exclude=['tests*']),
+ include_package_data=True,
+ zip_safe=False,
+ install_requires=REQUIREMENTS,
Home |
Main Index |
Thread Index |
Old Index