pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-dropbox py-dropbox: Fix dependencies for sandbo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/53f280501dde
branches:  trunk
changeset: 450821:53f280501dde
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Apr 22 09:33:02 2021 +0000

description:
py-dropbox: Fix dependencies for sandboxed builds

diffstat:

 net/py-dropbox/Makefile               |   4 +++-
 net/py-dropbox/distinfo               |   3 ++-
 net/py-dropbox/patches/patch-setup.py |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 99bdbf360e36 -r 53f280501dde net/py-dropbox/Makefile
--- a/net/py-dropbox/Makefile   Thu Apr 22 09:32:39 2021 +0000
+++ b/net/py-dropbox/Makefile   Thu Apr 22 09:33:02 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2021/03/20 19:03:43 adam Exp $
+# $NetBSD: Makefile,v 1.12 2021/04/22 09:33:02 nia Exp $
 
 DISTNAME=      dropbox-11.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@
 COMMENT=       Dropbox Python API
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.16.2:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.12.0:../../lang/py-six
 DEPENDS+=      ${PYPKGPREFIX}-stone>=2.0:../../net/py-stone
diff -r 99bdbf360e36 -r 53f280501dde net/py-dropbox/distinfo
--- a/net/py-dropbox/distinfo   Thu Apr 22 09:32:39 2021 +0000
+++ b/net/py-dropbox/distinfo   Thu Apr 22 09:33:02 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2021/03/20 19:03:43 adam Exp $
+$NetBSD: distinfo,v 1.9 2021/04/22 09:33:02 nia Exp $
 
 SHA1 (dropbox-11.4.1.tar.gz) = 0aaf3b9c01b5387580beaf4bbb3fb18f649b0b52
 RMD160 (dropbox-11.4.1.tar.gz) = 45b2d0dfde99f0ca9d9abd04df1805786c73b46f
 SHA512 (dropbox-11.4.1.tar.gz) = f038eb8f96a8863d756d0b3e20b587e93549e11fd10e7abd386ac5cdce285760b7111ef3f675f6daa18d52c9d8c8ff5a33e88082c4b59c0e759e336c34a62be6
 Size (dropbox-11.4.1.tar.gz) = 551940 bytes
+SHA1 (patch-setup.py) = b4a312c16a7ae37ae10806b5e3e29ed41ed0a98e
diff -r 99bdbf360e36 -r 53f280501dde net/py-dropbox/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-dropbox/patches/patch-setup.py     Thu Apr 22 09:33:02 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/04/22 09:33:02 nia Exp $
+
+Unpin pytest-runner
+
+--- setup.py.orig      2021-03-09 20:35:57.000000000 +0000
++++ setup.py
+@@ -33,7 +33,7 @@ install_reqs = [
+ setup_requires = [
+     # Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in
+     # Python 2.7
+-    'pytest-runner == 5.2.0',
++    'pytest-runner',
+ ]
+ 
+ # WARNING: This imposes limitations on test/requirements.txt such that the



Home | Main Index | Thread Index | Old Index