head	1.16;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.6
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.1;
locks; strict;
comment	@# @;


1.16
date	2013.01.21.10.21.50;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.11.17.06.01.16;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.06.19.09.00.36;	author sunpoet;	state Exp;
branches;
next	1.13;

1.13
date	2012.06.18.01.20.15;	author wen;	state Exp;
branches;
next	1.12;

1.12
date	2012.04.22.18.31.06;	author jgh;	state Exp;
branches;
next	1.11;

1.11
date	2012.03.02.18.47.43;	author jgh;	state Exp;
branches;
next	1.10;

1.10
date	2012.02.21.21.47.27;	author jgh;	state Exp;
branches;
next	1.9;

1.9
date	2011.08.08.07.19.41;	author culot;	state Exp;
branches;
next	1.8;

1.8
date	2011.02.25.03.19.27;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2011.01.15.13.38.35;	author wen;	state Exp;
branches;
next	1.6;

1.6
date	2010.11.11.11.57.40;	author wen;	state Exp;
branches;
next	1.5;

1.5
date	2010.09.14.07.58.31;	author decke;	state Exp;
branches;
next	1.4;

1.4
date	2010.08.11.04.11.45;	author jpaetzel;	state Exp;
branches;
next	1.3;

1.3
date	2009.11.21.15.48.35;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2009.10.03.03.13.10;	author yzlin;	state Exp;
branches;
next	1.1;

1.1
date	2009.09.04.21.04.44;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310761
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Douglas Thrift <douglas@@douglasthrift.net>
# $FreeBSD: head/security/py-keyring/Makefile 310761 2013-01-21 10:16:06Z culot $

PORTNAME=	keyring
PORTVERSION=	1.2
CATEGORIES=	security python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	douglas@@douglasthrift.net
COMMENT=	Store and access your passwords safely

LICENSE=	PSFL

LATEST_LINK=	py-${PORTNAME}

USE_ZIP=	yes
USE_PYTHON=	2.5+
USE_PYDISTUTILS=	easy_install

OPTIONS_DEFINE=		CRYPT_FILE GNOME_KEYRING KDE_KWALLET
GNOME_KEYRING_DESC=	GNOME Keyring backend
KDE_KWALLET_DESC=	KDE KWallet backend
CRYPT_FILE_DESC=	Crypt(ed) File backend

.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+=	pygnomedesktop
.endif

.if ${PORT_OPTIONS:MKDE_KWALLET}
USE_KDE4+=	pykde4
.endif

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MCRYPT_FILE} && ${PYTHON_VERSION} == "python2.5"
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}simplejson>=2.5:${PORTSDIR}/devel/py-simplejson
.endif

.include <bsd.port.post.mk>
@


1.15
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	py-keyring
# Date created:				2 September 2009
# Whom:					Douglas Thrift
#
# $FreeBSD: head/security/py-keyring/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d5 1
a5 1
PORTVERSION=	0.9.2
d21 1
a21 1
OPTIONS_DEFINE=	CRYPT_FILE GNOME_KEYRING KDE_KWALLET
@


1.14
log
@- Update to 0.9.2

Changes:	http://pypi.python.org/pypi/keyring#changes
PR:		ports/169232
Submitted by:	Douglas Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.13
log
@- Update to 0.9.1
- OPTIONSNG'ify
- Add "Crypt(ed) File backend" OPTION

PR:		169145
Submitted by:	koobs <koobs.freebsd@@gmail.com>
Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	0.9.1
d25 1
a25 1
OPTIONS_DEFINE=		CRYPT_FILE GNOME_KEYRING KDE_KWALLET
d32 4
d44 4
a47 2
.if ${PORT_OPTIONS:MCRYPT_FILE}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
d50 1
a50 1
.include <bsd.port.mk>
@


1.12
log
@- Update to 0.9

PR:	ports/167178
Submitted by:	maintainer, douglas@@douglasthrift.net
@
text
@d9 1
a9 1
PORTVERSION=	0.9
d25 4
a28 2
OPTIONS=	GNOME_KEYRING "GNOME Keyring backend" Off \
		KDE_KWALLET "KDE KWallet backend" Off
d32 1
a32 1
.if defined(WITH_GNOME_KEYRING)
d36 1
a36 1
.if defined(WITH_KDE_KWALLET)
d40 4
@


1.11
log
@-Update to 0.8

* Mac OS X keyring backend now uses subprocess calls to the `security`
command instead of calling the API, which with the latest updates, no
longer allows Python to invoke from a virtualenv. Fixes issue #13.
* When using file-based storage, the keyring files are no longer stored
in the user's home directory, but are instead stored in platform-friendly
locations (`%localappdata%\Python Keyring` on Windows and according to
the freedesktop.org Base Dir Specification
(`$XDG_DATA_HOME/python_keyring` or `$HOME/.local/share/python_keyring`)
on other operating systems). This fixes #21.

*Backward Compatibility Notice*

Due to the new storage location for file-based keyrings, keyring 0.8
supports backward compatibility by automatically moving the password
files to the updated location. In general, users can upgrade to 0.8 and
continue to operate normally. Any applications that customize the storage
location or make assumptions about the storage location will need to take
this change into consideration. Additionally, after upgrading to 0.8,
it is not possible to downgrade to 0.7 without manually moving
configuration files. In 1.0, the backward compatibilty
will be removed.

PR:	ports/165606
Submitted by:	maintainer, douglas@@douglasthrift.net
@
text
@d9 1
a9 1
PORTVERSION=	0.8
@


1.10
log
@- Update to 0.7.1

From CHANGES.txt:

0.7.1
* Removed non-ASCII characters from README and CHANGES docs (required by
distutils if we're to include them in the long_description). Fixes #55.

0.7
* Python 3 is now supported. All tests now pass under Python 3.2 on
Windows and Linux (although Linux backend support is limited). Fixes #28.
* Extension modules on Mac and Windows replaced by pure-Python ctypes
implementations. Thanks to Jerome Laheurte.
* WinVaultKeyring now supports multiple passwords for the same service. Fixes
#47.
* Most of the tests don't require user interaction anymore.
* Entries stored in Gnome Keyring appears now with a meaningful name if you try
to browser your keyring (for ex. with Seahorse)
* Tests from Gnome Keyring no longer pollute the user own keyring.
* `keyring.util.escape` now accepts only unicode strings. Don't try to encode
strings passed to it.

PR:	ports/165345
Submitted by:	maintainer, douglas@@douglasthrift.net
@
text
@d9 1
a9 1
PORTVERSION=	0.7.1
@


1.9
log
@- Update to 0.6.2

PR:		ports/159573
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.6.2
d21 1
d23 1
a23 1
USE_PYDISTUTILS=	yes
@


1.8
log
@- Move over to py25 or above
- While here get rid FreeBSD 6.X and md5 support
@
text
@d9 1
a9 2
PORTVERSION=	0.5.1
PORTREVISION=	1
@


1.7
log
@- Update to 0.5.1

PR:		ports/154008
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
Feature safe:	yes
@
text
@d10 1
d22 1
a22 1
USE_PYTHON=	2.4+
@


1.6
log
@- Update to 0.5

PR:		ports/152086
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.5
d17 1
a17 1
#LICENSE=	PSF
a20 1
USE_KDE4=	#
a22 1
WANT_GNOME=	yes
d27 1
a27 1
.include <bsd.port.pre.mk>
d37 1
a37 1
.include <bsd.port.post.mk>
@


1.5
log
@- Update to 0.4

PR:		ports/150520
Submitted by:	Douglas William Thrift <douglas at douglasthrift dot net> (maintainer)
Approved by:	beat (co-mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.4
d24 1
d32 1
a32 4
LIB_DEPENDS+=	gnome-keyring.0:${PORTSDIR}/security/gnome-keyring
PLIST_SUB+=	GNOME_KEYRING=""
.else
PLIST_SUB+=	GNOME_KEYRING="@@comment "
d36 1
a36 17
PLIST_SUB+=	KDE_KWALLET=""
USE_KDE4+=	kdelibs
.else
PLIST_SUB+=	KDE_KWALLET="@@comment "
.endif

post-patch:
.if !defined(WITH_GNOME_KEYRING)
	@@${REINPLACE_CMD} -e 's|exts\.append(gnome_keychain_module)|#&|' \
		${WRKSRC}/extensions.py
.endif
.if defined(WITH_KDE_KWALLET)
	@@${REINPLACE_CMD} -e 's|kde-config|${KDE4_PREFIX}/bin/kde4-config|' \
		${WRKSRC}/extensions.py
.else
	@@${REINPLACE_CMD} -e 's|exts\.append(kde_kwallet_module)|#&|' \
		${WRKSRC}/extensions.py
@


1.4
log
@Update to version 0.3

PR:	ports/149511
Submitted by:	Douglas William Thrift <douglas@@douglasthrift.net>
@
text
@d9 1
a9 1
PORTVERSION=	0.3
@


1.3
log
@- Update MASTER_SITES
@
text
@d9 1
a9 1
PORTVERSION=	0.2
d11 1
a11 3
MASTER_SITES=	CHEESESHOP \
		http://apt.douglasthrift.net/files/${PORTNAME}/ \
		http://code.douglasthrift.net/files/${PORTNAME}/
d17 2
@


1.2
log
@- Update to 0.2

PR:		ports/138788
Submitted by:	Douglas William Thrift <douglas AT douglasthrift.net> (maintainer)
Approved by:	rafan (co-mentor)
@
text
@d12 1
@


1.1
log
@The Python keyring lib provides an easy way to access the system keyring
service from Python. It can be used in any application that needs safe password
storage. It supports OSX, KDE, Gnome and Windows's native password storing
services. Besides this, it is shipped with kinds of Python implemented keyring
for the left environments.

WWW: http://pypi.python.org/pypi/keyring

PR:		ports/138513
Submitted by:	Douglas Thrift
@
text
@d9 1
a9 1
PORTVERSION=	0.1
d21 1
a21 1
USE_PYTHON=	2.6+
d49 1
a49 1
	@@${REINPLACE_CMD} -e 's|kde4-config|${KDE4_PREFIX}/bin/kde4-config|' \
@

