pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-gsutil
Module Name: pkgsrc
Committed By: adam
Date: Wed Aug 22 08:31:30 UTC 2018
Modified Files:
pkgsrc/net/py-gsutil: Makefile PLIST distinfo
Added Files:
pkgsrc/net/py-gsutil: ALTERNATIVES
pkgsrc/net/py-gsutil/patches: patch-setup.py
Log Message:
py-gsutil: updated to 4.33
Release 4.33:
Bug Fixes
- Fixed an issue with the "rsync" command on Windows that would cause gsutil
to incorrectly join file path segments when the source given was the root
of a drive, e.g. "C:".
- Fixed several places where gsutil referenced a variable that had not been
correctly imported.
Other Changes
- Several documentation updates and clarifications.
Release 4.32:
Bug Fixes
- Fixed a file path resolution issue on Windows that affected local-to-cloud
copy-based operations ("cp", "mv", "rsync"). If a local file URI containing
relative path components ("." or "..") or forward slashes (rather than
backslashes) was provided as a source argument, the resulting destination
object(s) was incorrectly named. For recursive operations, this resulted in
several files being copied to the same object path, overwriting each other.
- Fixed an issue with the "rsync" command on Windows that resulted in each rsync
invocation not being able to delete its temporary synchronization files on
disk.
- Fixed an issue where reading a specific generation of an object from S3 would
fail.
- Fixed an issue where running gsutil with the top-level "-q" flag would result
in credential-related logging statements being emitted to stderr.
- Gsutil no longer allows copying from streamed input if the top-level "-m" flag
is specified. While this was previously allowed, it did not work correctly.
Other Changes
- Several documentation updates and clarifications.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-gsutil/ALTERNATIVES
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-gsutil/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/py-gsutil/PLIST \
pkgsrc/net/py-gsutil/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-gsutil/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/net/py-gsutil/Makefile
diff -u pkgsrc/net/py-gsutil/Makefile:1.3 pkgsrc/net/py-gsutil/Makefile:1.4
--- pkgsrc/net/py-gsutil/Makefile:1.3 Sat Jun 16 14:50:25 2018
+++ pkgsrc/net/py-gsutil/Makefile Wed Aug 22 08:31:30 2018
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2018/06/16 14:50:25 bsiegert Exp $
+# $NetBSD: Makefile,v 1.4 2018/08/22 08:31:30 adam Exp $
-DISTNAME= gsutil-4.31
+DISTNAME= gsutil-4.33
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= net
+CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gsutil/}
MAINTAINER= bsiegert%NetBSD.org@localhost
@@ -13,28 +13,27 @@ LICENSE= apache-2.0
PYTHON_VERSIONS_ACCEPTED= 27
REPLACE_PYTHON= test/gsutil_measure_imports
-#SUBST_CLASSES+= requires
-#SUBST_STAGE.requires= pre-configure
-#SUBST_FILES.requires= setup.py gsutil.egg-info/requires.txt
-#SUBST_SED.requires= -e 's/oauth2client==/oauth2client>=/g'
-#SUBST_SED.requires+= -e 's/google-apitools==/google-apitools>=/'
-
+DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
+DEPENDS+= ${PYPKGPREFIX}-SocksiPy-branch>=1.01:../../net/py-socksipy-branch
DEPENDS+= ${PYPKGPREFIX}-argcomplete>=1.9.4:../../devel/py-argcomplete
-DEPENDS+= ${PYPKGPREFIX}-boto-2.48.0*:../../net/py-boto
-DEPENDS+= ${PYPKGPREFIX}-crcmod-[0-9]*:../../security/py-crcmod
-DEPENDS+= ${PYPKGPREFIX}-fasteners-[0-9]*:../../devel/py-fasteners
+DEPENDS+= ${PYPKGPREFIX}-boto>=2.48.0:../../net/py-boto
+DEPENDS+= ${PYPKGPREFIX}-crcmod>=1.7:../../security/py-crcmod
+DEPENDS+= ${PYPKGPREFIX}-fasteners>=0.14.1:../../devel/py-fasteners
DEPENDS+= ${PYPKGPREFIX}-gcs-oauth2-boto-plugin>=2.1:../../net/py-gcs-oauth2-boto-plugin
DEPENDS+= ${PYPKGPREFIX}-gflags>=3.1.2nb1:../../devel/py-gflags
DEPENDS+= ${PYPKGPREFIX}-google-apitools>=0.5.22:../../www/py-google-apitools
-DEPENDS+= ${PYPKGPREFIX}-google-reauth-[0-9]*:../../security/py-google-reauth
+DEPENDS+= ${PYPKGPREFIX}-google-reauth>=0.1.0:../../security/py-google-reauth
DEPENDS+= ${PYPKGPREFIX}-httplib2>=0.11.3:../../www/py-httplib2
-DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
-DEPENDS+= ${PYPKGPREFIX}-monotonic-[0-9]*:../../time/py-monotonic
-DEPENDS+= ${PYPKGPREFIX}-oauth2client-[0-9]*:../../security/py-oauth2client
-DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
-DEPENDS+= ${PYPKGPREFIX}-retry_decorator>=1.1.0:../../devel/py-retry_decorator
+DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
+DEPENDS+= ${PYPKGPREFIX}-monotonic>=1.4:../../time/py-monotonic
+DEPENDS+= ${PYPKGPREFIX}-oauth2client>=4.1.2:../../security/py-oauth2client
+DEPENDS+= ${PYPKGPREFIX}-retry_decorator>=1.0.0:../../devel/py-retry_decorator
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
-DEPENDS+= ${PYPKGPREFIX}-SocksiPy-branch-1.01*:../../net/py-socksipy-branch
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} gsutil gsutil-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
Index: pkgsrc/net/py-gsutil/PLIST
diff -u pkgsrc/net/py-gsutil/PLIST:1.2 pkgsrc/net/py-gsutil/PLIST:1.3
--- pkgsrc/net/py-gsutil/PLIST:1.2 Sat Jun 16 14:50:25 2018
+++ pkgsrc/net/py-gsutil/PLIST Wed Aug 22 08:31:30 2018
@@ -1,5 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2018/06/16 14:50:25 bsiegert Exp $
-bin/gsutil
+@comment $NetBSD: PLIST,v 1.3 2018/08/22 08:31:30 adam Exp $
+bin/gsutil-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
${PYSITELIB}/gslib/CHECKSUM
${PYSITELIB}/gslib/README
${PYSITELIB}/gslib/VERSION
@@ -615,13 +622,6 @@ ${PYSITELIB}/gslib/utils/update_util.pyo
${PYSITELIB}/gslib/wildcard_iterator.py
${PYSITELIB}/gslib/wildcard_iterator.pyc
${PYSITELIB}/gslib/wildcard_iterator.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_INFODIR}/zip-safe
${PYSITELIB}/test/__init__.py
${PYSITELIB}/test/__init__.pyc
${PYSITELIB}/test/__init__.pyo
Index: pkgsrc/net/py-gsutil/distinfo
diff -u pkgsrc/net/py-gsutil/distinfo:1.2 pkgsrc/net/py-gsutil/distinfo:1.3
--- pkgsrc/net/py-gsutil/distinfo:1.2 Sat Jun 16 14:50:25 2018
+++ pkgsrc/net/py-gsutil/distinfo Wed Aug 22 08:31:30 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2018/06/16 14:50:25 bsiegert Exp $
+$NetBSD: distinfo,v 1.3 2018/08/22 08:31:30 adam Exp $
-SHA1 (gsutil-4.31.tar.gz) = 25abe8b5bba592778b3efbdea9d6b4a60d899ffc
-RMD160 (gsutil-4.31.tar.gz) = 324bfd41d430b7fdbeaee0698936c1147f07ca1b
-SHA512 (gsutil-4.31.tar.gz) = c528af8a2f8a61431a9b19d4aea7a7448ee975a07e9d5347ca0726b77c721a65f5fc7e1b5a04d24a49f89787ef7ad95cc657f4dd68cf5b4dfc5163013689ccd6
-Size (gsutil-4.31.tar.gz) = 844558 bytes
+SHA1 (gsutil-4.33.tar.gz) = c436bae99d32e9139d329d63a573160c08ccd999
+RMD160 (gsutil-4.33.tar.gz) = 54af9959a82fbe52e5fe3fc563727ebda886a6bc
+SHA512 (gsutil-4.33.tar.gz) = d8f073cfa74ffbce140390204a41cfba6aa69d2da56636e45048897829778127b71a2292d31bd8428d86dd1793cf0f9cb44aa818a0dfb5affd97ee8433df80e0
+Size (gsutil-4.33.tar.gz) = 847799 bytes
+SHA1 (patch-setup.py) = ab50cfe06f26fc4d3524da943b7089a05ae73635
Added files:
Index: pkgsrc/net/py-gsutil/ALTERNATIVES
diff -u /dev/null pkgsrc/net/py-gsutil/ALTERNATIVES:1.1
--- /dev/null Wed Aug 22 08:31:30 2018
+++ pkgsrc/net/py-gsutil/ALTERNATIVES Wed Aug 22 08:31:30 2018
@@ -0,0 +1 @@
+bin/gsutil @PREFIX@/bin/gsutil-@PYVERSSUFFIX@
Index: pkgsrc/net/py-gsutil/patches/patch-setup.py
diff -u /dev/null pkgsrc/net/py-gsutil/patches/patch-setup.py:1.1
--- /dev/null Wed Aug 22 08:31:30 2018
+++ pkgsrc/net/py-gsutil/patches/patch-setup.py Wed Aug 22 08:31:30 2018
@@ -0,0 +1,35 @@
+$NetBSD: patch-setup.py,v 1.1 2018/08/22 08:31:30 adam Exp $
+
+Relax requirements.
+
+--- setup.py.orig 2018-08-22 06:24:42.000000000 +0000
++++ setup.py
+@@ -36,7 +36,7 @@ management tasks, including:
+
+ requires = [
+ 'argcomplete>=1.9.4',
+- 'boto==2.48.0',
++ 'boto>=2.48.0',
+ 'crcmod>=1.7',
+ 'fasteners>=0.14.1',
+ 'gcs-oauth2-boto-plugin>=2.1',
+@@ -44,16 +44,16 @@ requires = [
+ 'httplib2>=0.11.3',
+ 'google-reauth>=0.1.0',
+ # TODO: Sync submodule with tag referenced here once #339 is fixed in mock.
+- 'mock==2.0.0',
++ 'mock>=2.0.0',
+ 'monotonic>=1.4',
+- 'oauth2client==4.1.2',
++ 'oauth2client>=4.1.2',
+ 'pyOpenSSL>=0.13',
+ 'python-gflags>=2.0',
+ 'retry_decorator>=1.0.0',
+ 'six>=1.9.0',
+ # Not using 1.02 because of:
+ # https://code.google.com/p/socksipy-branch/issues/detail?id=3
+- 'SocksiPy-branch==1.01',
++ 'SocksiPy-branch>=1.01',
+ ]
+
+ dependency_links = [
Home |
Main Index |
Thread Index |
Old Index