pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-attic Update to 0.15:
details: https://anonhg.NetBSD.org/pkgsrc/rev/6370452b895f
branches: trunk
changeset: 649995:6370452b895f
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Apr 16 08:04:37 2015 +0000
description:
Update to 0.15:
Version 0.15
------------
(bugfix release, released on Apr 15, 2015)
- xattr: Be less strict about unknown/unsupported platforms (#239)
- Reduce repository listing memory usage (#163).
- Fix BrokenPipeError for remote repositories (#233)
- Fix incorrect behavior with two character directory names (#265, #268)
- Require approval before accessing relocated/moved repository (#271)
- Require approval before accessing previously unknown unencrypted repositories (#271)
- Fix issue with hash index files larger than 2GB.
- Fix Python 3.2 compatibility issue with noatime open() (#164)
- Include missing pyx files in dist files (#168)
diffstat:
devel/py-attic/Makefile | 4 +-
devel/py-attic/distinfo | 11 +---
devel/py-attic/patches/patch-attic_platform.py | 23 ----------
devel/py-attic/patches/patch-attic_testsuite_archiver.py | 24 ----------
devel/py-attic/patches/patch-attic_xattr.py | 36 ----------------
5 files changed, 6 insertions(+), 92 deletions(-)
diffs (123 lines):
diff -r fb97c24486c8 -r 6370452b895f devel/py-attic/Makefile
--- a/devel/py-attic/Makefile Wed Apr 15 14:10:15 2015 +0000
+++ b/devel/py-attic/Makefile Thu Apr 16 08:04:37 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2015/04/13 23:12:41 rodent Exp $
+# $NetBSD: Makefile,v 1.3 2015/04/16 08:04:37 wiz Exp $
-DISTNAME= Attic-0.14
+DISTNAME= Attic-0.15
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/A/a/}
CATEGORIES= sysutils
MASTER_SITES= https://pypi.python.org/packages/source/A/Attic/
diff -r fb97c24486c8 -r 6370452b895f devel/py-attic/distinfo
--- a/devel/py-attic/distinfo Wed Apr 15 14:10:15 2015 +0000
+++ b/devel/py-attic/distinfo Thu Apr 16 08:04:37 2015 +0000
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.1 2015/04/03 09:43:47 wiz Exp $
+$NetBSD: distinfo,v 1.2 2015/04/16 08:04:37 wiz Exp $
-SHA1 (Attic-0.14.tar.gz) = f76df257c86f89eb973f88dba53166997fb8fbf1
-RMD160 (Attic-0.14.tar.gz) = 1fef1993c5964adb1a5c90ef39b101607c2d05b5
-Size (Attic-0.14.tar.gz) = 233837 bytes
-SHA1 (patch-attic_platform.py) = 1d8aaf58f1e0edad13a0fbb9a93c092eadc035f4
-SHA1 (patch-attic_testsuite_archiver.py) = 1fb19c1ee64505b2b73d44d556623fe8f8315016
-SHA1 (patch-attic_xattr.py) = 69ea74cef7e9e67398ad4a95a49fcfd2f7b3debe
+SHA1 (Attic-0.15.tar.gz) = 07b604e4c0a00e163122855403a3f0e70b7d1cd4
+RMD160 (Attic-0.15.tar.gz) = ccb2bd574b921eb1078e23cc5b3f5197336a11de
+Size (Attic-0.15.tar.gz) = 232371 bytes
diff -r fb97c24486c8 -r 6370452b895f devel/py-attic/patches/patch-attic_platform.py
--- a/devel/py-attic/patches/patch-attic_platform.py Wed Apr 15 14:10:15 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-$NetBSD: patch-attic_platform.py,v 1.1 2015/04/03 09:43:47 wiz Exp $
-
-Make xattr support optional.
-https://github.com/jborg/attic/pull/235
-
---- attic/platform.py.orig 2014-05-03 13:16:06.000000000 +0000
-+++ attic/platform.py
-@@ -9,9 +9,13 @@ elif platform == 'FreeBSD':
- elif platform == 'Darwin':
- from attic.platform_darwin import acl_get, acl_set, API_VERSION
- else:
-- API_VERSION = 1
-+ # this is a dummy acl interface for platforms for which we do not have
-+ # a real implementation (or which do not support acls at all).
-
-- def acl_get(path, item, numeric_owner=False):
-+ API_VERSION = 2
-+
-+ def acl_get(path, item, st, numeric_owner=False):
- pass
-+
- def acl_set(path, item, numeric_owner=False):
- pass
diff -r fb97c24486c8 -r 6370452b895f devel/py-attic/patches/patch-attic_testsuite_archiver.py
--- a/devel/py-attic/patches/patch-attic_testsuite_archiver.py Wed Apr 15 14:10:15 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-$NetBSD: patch-attic_testsuite_archiver.py,v 1.1 2015/04/03 09:43:47 wiz Exp $
-
-Make xattr support optional.
-https://github.com/jborg/attic/pull/235
-
---- attic/testsuite/archiver.py.orig 2014-10-27 20:54:50.000000000 +0000
-+++ attic/testsuite/archiver.py
-@@ -140,9 +140,14 @@ class ArchiverTestCase(ArchiverTestCaseB
- os.path.join(self.input_path, 'hardlink'))
- # Symlink
- os.symlink('somewhere', os.path.join(self.input_path, 'link1'))
-- if xattr.is_enabled():
-+ if xattr.is_enabled(self.input_path):
- xattr.setxattr(os.path.join(self.input_path, 'file1'), 'user.foo', b'bar')
-- xattr.setxattr(os.path.join(self.input_path, 'link1'), 'user.foo_symlink', b'bar_symlink', follow_symlinks=False)
-+ # XXX this always fails for me
-+ # ubuntu 14.04, on a TMP dir filesystem with user_xattr, using fakeroot
-+ # same for newer ubuntu and centos.
-+ # if this is supported just on specific platform, platform should be checked first,
-+ # so that the test setup for all tests using it does not fail here always for others.
-+ #xattr.setxattr(os.path.join(self.input_path, 'link1'), 'user.foo_symlink', b'bar_symlink', follow_symlinks=False)
- # FIFO node
- os.mkfifo(os.path.join(self.input_path, 'fifo1'))
- if has_lchflags:
diff -r fb97c24486c8 -r 6370452b895f devel/py-attic/patches/patch-attic_xattr.py
--- a/devel/py-attic/patches/patch-attic_xattr.py Wed Apr 15 14:10:15 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-$NetBSD: patch-attic_xattr.py,v 1.1 2015/04/03 09:43:47 wiz Exp $
-
-Make xattr support optional.
-https://github.com/jborg/attic/pull/235
-
---- attic/xattr.py.orig 2014-12-14 13:28:33.000000000 +0000
-+++ attic/xattr.py
-@@ -8,10 +8,10 @@ from ctypes import CDLL, create_string_b
- from ctypes.util import find_library
-
-
--def is_enabled():
-+def is_enabled(path=None):
- """Determine if xattr is enabled on the filesystem
- """
-- with tempfile.NamedTemporaryFile() as fd:
-+ with tempfile.NamedTemporaryFile(dir=path) as fd:
- try:
- setxattr(fd.fileno(), 'user.name', b'value')
- except OSError:
-@@ -248,4 +248,14 @@ elif sys.platform.startswith('freebsd'):
- _check(func(path, EXTATTR_NAMESPACE_USER, name, value, len(value) if value else 0), path)
-
- else:
-- raise Exception('Unsupported platform: %s' % sys.platform)
-+ # this is a dummy xattr interface for platforms for which we do not have
-+ # a real implementation (or which do not support xattr at all).
-+
-+ def listxattr(path, *, follow_symlinks=True):
-+ return []
-+
-+ def getxattr(path, name, *, follow_symlinks=True):
-+ return
-+
-+ def setxattr(path, name, value, *, follow_symlinks=True):
-+ return
Home |
Main Index |
Thread Index |
Old Index