freebsd-ports/security/py-SecretStorage/Makefile
Ruslan Makhmatkhanov 8473ec99c9 security/py-SecretStorage: update to 2.1.2
SecretStorage 2.1.2, 2015-06-30
===============================

* Add Item.unlock() method.
* Use setuptools when it is available.
* Documentation now uses Alabaster sphinx theme.
* Other documentation fixes and improvements.

While here let it build with python3 by picking correct py-dbus port
according to python version used in the build.

PR:		204581
Submitted by:	douglas@douglasthrift.net (maintainer)
2015-11-18 20:05:25 +00:00

29 lines
713 B
Makefile

# Created by: Douglas Thrift <douglas@douglasthrift.net>
# $FreeBSD$
PORTNAME= SecretStorage
PORTVERSION= 2.1.2
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= douglas@douglasthrift.net
COMMENT= Store passwords using the SecretService DBus API
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} > 3000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:${PORTSDIR}/devel/py3-dbus
.else
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:${PORTSDIR}/devel/py-dbus
.endif
.include <bsd.port.post.mk>