Bug 184270 - Update port: security/py-keyring Upgrade to 3.2.1
Summary: Update port: security/py-keyring Upgrade to 3.2.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 06:20 UTC by Douglas Thrift
Modified: 2013-11-30 09:40 UTC (History)
1 user (show)

See Also:


Attachments
py-keyring.2013-11-25T060845Z.diff (12.48 KB, patch)
2013-11-25 06:20 UTC, Douglas Thrift
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Thrift 2013-11-25 06:20:00 UTC
Upgrade security/py-keyring to 3.2.1 and add PYDISTUTILS_AUTOPLIST and STAGE
support.

https://redports.org/buildarchive/20131124231600-59585/

From CHANGES.rst:

-----
3.2.1
-----

* SecretService backend: use a different function to check that the
  backend is functional. The default collection may not exist, but
  the collection will remain usable in that case.

  Also, make the error message more verbose.

  Resolves https://bugs.launchpad.net/bugs/1242412.

---
3.2
---

* Issue #120: Invoke KeyringBackend.priority during load_keyring to ensure
  that any keyring loaded is actually viable (or raises an informative
  exception).

* File keyring:

   - Issue #123: fix removing items.
   - Correctly escape item name when removing.
   - Use with statement when working with files.

* Add a test for removing one item in group.

* Issue #81: Added experimental support for third-party backends. See
  `keyring.core._load_library_extensions` for information on supplying
  a third-party backend.

---
3.1
---

* All code now runs natively on both Python 2 and Python 3, no 2to3 conversion
  is required.
* Testsuite: clean up, and make more use of unittest2 methods.

-----
3.0.5
-----

* Issue #114: Fix logic in pyfs detection.

-----
3.0.4
-----

* Issue #114: Fix detection of pyfs under Mercurial Demand Import.

-----
3.0.3
-----

* Simplified the implementation of ``keyring.core.load_keyring``. It now uses
  ``__import__`` instead of loading modules explicitly. The ``keyring_path``
  parameter to ``load_keyring`` is now deprecated. Callers should instead
  ensure their module is available on ``sys.path`` before calling
  ``load_keyring``. Keyring still honors ``keyring-path``. This change fixes
  Issue #113 in which the explicit module loading of keyring modules was
  breaking package-relative imports.

-----
3.0.2
-----

* Renamed ``keyring.util.platform`` to ``keyring.util.platform_``. As reported
  in Issue #112 and `mercurial_keyring #31
  <https://bitbucket.org/Mekk/mercurial_keyring/issue/31>`_ and in `Mercurial
  itself <http://bz.selenic.com/show_bug.cgi?id=4029>`_, Mercurial's Demand
  Import does not honor ``absolute_import`` directives, so it's not possible
  to have a module with the same name as another top-level module. A patch is
  in place to fix this issue upstream, but to support older Mercurial
  versions, this patch will remain for some time.

-----
3.0.1
-----

* Ensure that modules are actually imported even in Mercurial's Demand Import
  environment.

---
3.0
---

* Removed support for Python 2.5.
* Removed names in ``keyring.backend`` moved in 1.1 and previously retained
  for compatibilty.

-----
2.1.1
-----

* Restored Python 2.5 compatibility (lost in 2.0).

---
2.1
---

*  Issue #10: Added a 'store' attribute to the OS X Keyring, enabling custom
   instances of the KeyringBackend to use another store, such as the
   'internet' store. For example::

       keys = keyring.backends.OS_X.Keyring()
       keys.store = 'internet'
       keys.set_password(system, user, password)
       keys.get_password(system, user)

   The default for all instances can be set in the class::

       keyring.backends.OS_X.Keyring.store = 'internet'

*  GnomeKeyring: fix availability checks, and make sure the warning
   message from pygobject is not printed.

*  Fixes to GnomeKeyring and SecretService tests.

-----
2.0.3
-----

*  Issue #112: Backend viability/priority checks now are more aggressive about
   module presence checking, requesting ``__name__`` from imported modules to
   force the demand importer to actually attempt the import.

-----
2.0.2
-----

*  Issue #111: Windows backend isn't viable on non-Windows platforms.

-----
2.0.1
-----

*  Issue #110: Fix issues with ``Windows.RegistryKeyring``.

---
2.0
---

*  Prioritized backend support. The primary interface for Keyring backend
   classes has been refactored to now emit a 'priority' based on the current
   environment (operating system, libraries available, etc). These priorities
   provide an indication of the applicability of that backend for the current
   environment. Users are still welcome to specify a particular backend in
   configuration, but the default behavior should now be to select the most
   appropriate backend by default.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-25 06:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

sunpoet@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-11-30 09:38:27 UTC
Author: sunpoet
Date: Sat Nov 30 09:38:20 2013
New Revision: 335271
URL: http://svnweb.freebsd.org/changeset/ports/335271

Log:
  - Update to 3.2.1
  - Support STAGEDIR
  - While I'm here, convert to new options helper
  
  Changes:	https://pypi.python.org/pypi/keyring#changes
  PR:		ports/184270
  Submitted by:	Douglas William Thrift <douglas@douglasthrift.net> (maintainer)

Deleted:
  head/security/py-keyring/pkg-plist
Modified:
  head/security/py-keyring/Makefile
  head/security/py-keyring/distinfo

Modified: head/security/py-keyring/Makefile
==============================================================================
--- head/security/py-keyring/Makefile	Sat Nov 30 09:33:51 2013	(r335270)
+++ head/security/py-keyring/Makefile	Sat Nov 30 09:38:20 2013	(r335271)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	keyring
-PORTVERSION=	1.6.1
+PORTVERSION=	3.2.1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,6 +19,7 @@ LATEST_LINK=	py-${PORTNAME}
 USE_ZIP=	yes
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	easy_install
+PYDISTUTILS_AUTOPLIST=	yes
 
 OPTIONS_DEFINE=		CRYPT_FILE GNOME_KEYRING KDE_KWALLET KEYCZAR PYFS \
 			SECRET_SERVICE
@@ -28,32 +29,11 @@ KDE_KWALLET_DESC=	Install KDE KWallet to
 KEYCZAR_DESC=		Install keyczar to support keyring encryption
 PYFS_DESC=		Install pyfilesystem to support the pyfs backend
 SECRET_SERVICE_DESC=	Install SecretStorage to support the SecretService backend
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCRYPT_FILE}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
-.endif
-
-.if ${PORT_OPTIONS:MGNOME_KEYRING}
-USE_GNOME+=	pygobject3
-.endif
-
-.if ${PORT_OPTIONS:MKDE_KWALLET}
-USE_KDE4+=	pykde4
-.endif
-
-.if ${PORT_OPTIONS:MKEYCZAR}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}keyczar>=0.71c:${PORTSDIR}/security/py-keyczar
-.endif
-
-.if ${PORT_OPTIONS:MPYFS}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}fs>=0.4.0:${PORTSDIR}/devel/py-fs
-.endif
-
-.if ${PORT_OPTIONS:MSECRET_SERVICE}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}SecretStorage>=1.0.0:${PORTSDIR}/security/py-SecretStorage
-.endif
+CRYPT_FILE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
+GNOME_KEYRING_USE=	GNOME=pygobject3
+KDE_KWALLET_USE=	KDE4=pykde4
+KEYCZAR_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}keyczar>=0.71c:${PORTSDIR}/security/py-keyczar
+PYFS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fs>=0.4.0:${PORTSDIR}/devel/py-fs
+SECRET_SERVICE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}SecretStorage>=1.0.0:${PORTSDIR}/security/py-SecretStorage
 
 .include <bsd.port.mk>

Modified: head/security/py-keyring/distinfo
==============================================================================
--- head/security/py-keyring/distinfo	Sat Nov 30 09:33:51 2013	(r335270)
+++ head/security/py-keyring/distinfo	Sat Nov 30 09:38:20 2013	(r335271)
@@ -1,2 +1,2 @@
-SHA256 (keyring-1.6.1.zip) = 720a53234749edf0c103e61abe07a16b2ad48b46295c96f58fb804158a739a04
-SIZE (keyring-1.6.1.zip) = 80183
+SHA256 (keyring-3.2.1.zip) = 047962a774393e60b4cf9d119400c7e83b99fa57f1bda898b4f5b4f7a228ab59
+SIZE (keyring-3.2.1.zip) = 94807
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2013-11-30 09:38:32 UTC
State Changed
From-To: open->closed

Committed. Thanks!