summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-02-23 23:59:04 +0000
committerjoerg <joerg@pkgsrc.org>2020-02-23 23:59:04 +0000
commitac6a5a77713c71017e9324fc0dc404372d0f6512 (patch)
tree949d513193cc147a658496e81b12e17fa75a663b /www
parent8355e0ab2778af2dd01216e1cbe8048b492b078f (diff)
downloadpkgsrc-ac6a5a77713c71017e9324fc0dc404372d0f6512.tar.gz
Ignore requirements when they just break things.
Diffstat (limited to 'www')
-rw-r--r--www/py-django-photologue/Makefile3
-rw-r--r--www/py-django-photologue/PLIST3
-rw-r--r--www/py-django-photologue/distinfo3
-rw-r--r--www/py-django-photologue/patches/patch-setup.py20
4 files changed, 25 insertions, 4 deletions
diff --git a/www/py-django-photologue/Makefile b/www/py-django-photologue/Makefile
index 07f5efcab12..924fd0d899e 100644
--- a/www/py-django-photologue/Makefile
+++ b/www/py-django-photologue/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2018/09/25 20:22:54 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2020/02/23 23:59:04 joerg Exp $
DISTNAME= django-photologue-3.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-photologue/}
diff --git a/www/py-django-photologue/PLIST b/www/py-django-photologue/PLIST
index 8af749b7392..d66c5c892e5 100644
--- a/www/py-django-photologue/PLIST
+++ b/www/py-django-photologue/PLIST
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.3 2018/03/05 14:13:22 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/02/23 23:59:04 joerg Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/photologue/__init__.py
${PYSITELIB}/photologue/__init__.pyc
diff --git a/www/py-django-photologue/distinfo b/www/py-django-photologue/distinfo
index 1b08d96429e..83bf8afddef 100644
--- a/www/py-django-photologue/distinfo
+++ b/www/py-django-photologue/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2018/03/05 14:13:22 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/02/23 23:59:04 joerg Exp $
SHA1 (django-photologue-3.8.1.tar.gz) = efa8295d4f5451fcecc9319002ae01d7eda20069
RMD160 (django-photologue-3.8.1.tar.gz) = 07a8fec5f942724d3ddb9cfc3c724a78ca2c1abd
SHA512 (django-photologue-3.8.1.tar.gz) = 081e7d7f31eb96f8fa12ecbafa07d63606c2efd950d05fe98fe73ed2daa5084b41daef99e7ee1e263c06b4f4af1fadb9bfb69d5edfaf9bde74c123d5ee4623f9
Size (django-photologue-3.8.1.tar.gz) = 173045 bytes
+SHA1 (patch-setup.py) = 2f4d8840b911ab8e053e2481c7bbd56226848394
diff --git a/www/py-django-photologue/patches/patch-setup.py b/www/py-django-photologue/patches/patch-setup.py
new file mode 100644
index 00000000000..f9289cc124e
--- /dev/null
+++ b/www/py-django-photologue/patches/patch-setup.py
@@ -0,0 +1,20 @@
+$NetBSD: patch-setup.py,v 1.1 2020/02/23 23:59:04 joerg Exp $
+
+Don't use obsolete parse_requirements.
+
+--- setup.py.orig 2020-02-22 21:20:06.604663786 +0000
++++ setup.py
+@@ -2,7 +2,6 @@
+ import uuid
+ import os
+ from setuptools import setup, find_packages
+-from pip.req import parse_requirements
+
+ import photologue
+
+@@ -44,5 +43,4 @@ setup(
+ 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
+ 'Topic :: Utilities'],
+- install_requires=get_requirements('requirements.txt'),
+ )