pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-pylint-django py-pylint-django: updated to 0.8.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/660760dcf183
branches: trunk
changeset: 374339:660760dcf183
user: adam <adam%pkgsrc.org@localhost>
date: Sun Jan 21 12:14:38 2018 +0000
description:
py-pylint-django: updated to 0.8.0
Version 0.8.0:
This is the last version to support Python 2. Issues a deprecation warning!
Adding 'urlpatterns', 'register', 'app_name' to good names.
Add 'handler500' to good names
Support factory_boy's DjangoModelFactory Meta class
Fix E1101:Instance of 'proxy' has no 'format' member' when using .format() on a ugettext_lazy translation.
Add tests and transforms for DurationField,
Add json field to WSGIRequest proxy
Add support for django.contrib.postgres.fields and UUIDField
Stop testing with older Django versions. Currently testing with Django 1.11.x and 2.0
Stop testing on Python 2, no functional changes in the source code though
Update tests and require latest version of pylint (>=1.8)
Fix 'duplicate-except' false negative for except blocks which catch the DoesNotExist exception.
diffstat:
www/py-pylint-django/Makefile | 6 +++---
www/py-pylint-django/PLIST | 5 ++++-
www/py-pylint-django/distinfo | 11 ++++++-----
www/py-pylint-django/patches/patch-setup.py | 15 +++++++++++++++
4 files changed, 28 insertions(+), 9 deletions(-)
diffs (75 lines):
diff -r a306ab18a054 -r 660760dcf183 www/py-pylint-django/Makefile
--- a/www/py-pylint-django/Makefile Sun Jan 21 11:55:13 2018 +0000
+++ b/www/py-pylint-django/Makefile Sun Jan 21 12:14:38 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/12/21 10:22:56 adam Exp $
+# $NetBSD: Makefile,v 1.2 2018/01/21 12:14:38 adam Exp $
-DISTNAME= pylint-django-0.7.2
+DISTNAME= pylint-django-0.8.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pylint-django/}
@@ -10,7 +10,7 @@
COMMENT= Pylint plugin to aid Pylint in recognising the Django framework
LICENSE= gnu-gpl-v2
-DEPENDS+= ${PYPKGPREFIX}-pylint>=1.0:../../devel/py-pylint
+DEPENDS+= ${PYPKGPREFIX}-pylint>=1.8:../../devel/py-pylint
DEPENDS+= ${PYPKGPREFIX}-pylint-plugin-utils>=0.2.1:../../devel/py-pylint-plugin-utils
USE_LANGUAGES= # none
diff -r a306ab18a054 -r 660760dcf183 www/py-pylint-django/PLIST
--- a/www/py-pylint-django/PLIST Sun Jan 21 11:55:13 2018 +0000
+++ b/www/py-pylint-django/PLIST Sun Jan 21 12:14:38 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/12/21 10:22:56 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/01/21 12:14:38 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -38,6 +38,9 @@
${PYSITELIB}/pylint_django/transforms/foreignkey.py
${PYSITELIB}/pylint_django/transforms/foreignkey.pyc
${PYSITELIB}/pylint_django/transforms/foreignkey.pyo
+${PYSITELIB}/pylint_django/transforms/transforms/django_contrib_postgres_fields.py
+${PYSITELIB}/pylint_django/transforms/transforms/django_contrib_postgres_fields.pyc
+${PYSITELIB}/pylint_django/transforms/transforms/django_contrib_postgres_fields.pyo
${PYSITELIB}/pylint_django/transforms/transforms/django_core_handlers_wsgi.py
${PYSITELIB}/pylint_django/transforms/transforms/django_core_handlers_wsgi.pyc
${PYSITELIB}/pylint_django/transforms/transforms/django_core_handlers_wsgi.pyo
diff -r a306ab18a054 -r 660760dcf183 www/py-pylint-django/distinfo
--- a/www/py-pylint-django/distinfo Sun Jan 21 11:55:13 2018 +0000
+++ b/www/py-pylint-django/distinfo Sun Jan 21 12:14:38 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/12/21 10:22:56 adam Exp $
+$NetBSD: distinfo,v 1.2 2018/01/21 12:14:38 adam Exp $
-SHA1 (pylint-django-0.7.2.tar.gz) = 14a5033d1b85609f37ebfb051d7d11e4162627f1
-RMD160 (pylint-django-0.7.2.tar.gz) = a8344c79f5f8d2a10a612623e43ba98618033a75
-SHA512 (pylint-django-0.7.2.tar.gz) = 421f4fb92e8017f5e34f90530be8593112f47c65ffa8aac23ba811059a556becc9a2a677581033e83c8d4f8647e3e633208d81662ebad94af1f3955db8bdeca6
-Size (pylint-django-0.7.2.tar.gz) = 12752 bytes
+SHA1 (pylint-django-0.8.0.tar.gz) = 0716ce8106f21670ff1f6bb6da1e7a50efe20f60
+RMD160 (pylint-django-0.8.0.tar.gz) = ce61393aecda392ec0b5627dc605bf12138d4f13
+SHA512 (pylint-django-0.8.0.tar.gz) = 98946cd605670f6faa8a1a451b1e98db4ecc64bc85f98d5c049ffa4375d10778c527af9675c39d86dfa21b79176d5ed8d7e9f3dbe37e82adc5b357ffd5b7300a
+Size (pylint-django-0.8.0.tar.gz) = 26265 bytes
+SHA1 (patch-setup.py) = 33e3effe2d2e0ee22816ec660aa4b972a6001229
diff -r a306ab18a054 -r 660760dcf183 www/py-pylint-django/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-pylint-django/patches/patch-setup.py Sun Jan 21 12:14:38 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2018/01/21 12:14:38 adam Exp $
+
+Do not install tests.
+
+--- setup.py.orig 2018-01-21 11:57:38.000000000 +0000
++++ setup.py
+@@ -6,7 +6,7 @@ import sys
+
+
+ _version = '0.8.0'
+-_packages = find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
++_packages = find_packages(exclude=["test", "test.*"])
+
+ _short_description = "pylint-django is a Pylint plugin to aid Pylint in recognising and understanding" \
+ " errors caused when using the Django framework"
Home |
Main Index |
Thread Index |
Old Index