summaryrefslogtreecommitdiff
path: root/www/py-pylint-django
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-01-21 12:14:38 +0000
committeradam <adam@pkgsrc.org>2018-01-21 12:14:38 +0000
commitbceb7112a95bf1afe2acf6df26f5a9823bd38ff3 (patch)
tree1f91fcd99687258e9c90229245eeb176728319ea /www/py-pylint-django
parent6efc47881cd683e029bd4233c133bfe3f7fb0cc4 (diff)
downloadpkgsrc-bceb7112a95bf1afe2acf6df26f5a9823bd38ff3.tar.gz
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 (limited to 'www/py-pylint-django')
-rw-r--r--www/py-pylint-django/Makefile6
-rw-r--r--www/py-pylint-django/PLIST5
-rw-r--r--www/py-pylint-django/distinfo11
-rw-r--r--www/py-pylint-django/patches/patch-setup.py15
4 files changed, 28 insertions, 9 deletions
diff --git a/www/py-pylint-django/Makefile b/www/py-pylint-django/Makefile
index d5ccff2a2b3..3171eab901d 100644
--- a/www/py-pylint-django/Makefile
+++ b/www/py-pylint-django/Makefile
@@ -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 @@ HOMEPAGE= https://github.com/landscapeio/pylint-django
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 --git a/www/py-pylint-django/PLIST b/www/py-pylint-django/PLIST
index b87e84e7e39..2fe245eb6e9 100644
--- a/www/py-pylint-django/PLIST
+++ b/www/py-pylint-django/PLIST
@@ -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/fields.pyo
${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 --git a/www/py-pylint-django/distinfo b/www/py-pylint-django/distinfo
index 71deddb089d..83748995174 100644
--- a/www/py-pylint-django/distinfo
+++ b/www/py-pylint-django/distinfo
@@ -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 --git a/www/py-pylint-django/patches/patch-setup.py b/www/py-pylint-django/patches/patch-setup.py
new file mode 100644
index 00000000000..f5d388220f0
--- /dev/null
+++ b/www/py-pylint-django/patches/patch-setup.py
@@ -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"