Makefile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Created by: Douglas Thrift <douglas@douglasthrift.net>
  2. # $FreeBSD: head/security/py-keyrings.alt/Makefile 490215 2019-01-13 21:42:30Z pi $
  3. PORTNAME= keyrings.alt
  4. PORTVERSION= 3.1.1
  5. CATEGORIES= security python
  6. MASTER_SITES= CHEESESHOP
  7. PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
  8. MAINTAINER= douglas@douglasthrift.net
  9. COMMENT= Alternate Python keyring implementations
  10. LICENSE= MIT
  11. LICENSE_FILE= ${WRKSRC}/LICENSE
  12. BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
  13. RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
  14. TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.8:devel/py-pytest@${PY_FLAVOR} \
  15. ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
  16. ${PYTHON_PKGNAMEPREFIX}keyring>=10.3.1:security/py-keyring@${PY_FLAVOR} \
  17. ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${PY_FLAVOR} \
  18. ${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR}
  19. USES= python
  20. USE_PYTHON= autoplist distutils
  21. NO_ARCH= yes
  22. OPTIONS_DEFINE= ENCRYPTED_FILE GNOME_KEYRING KEYCZAR PYFS
  23. ENCRYPTED_FILE_DESC= Install pycrypto to support the Encrypted File backend
  24. GNOME_KEYRING_DESC= Install GNOME Keyring to support the Gnome backend
  25. KEYCZAR_DESC= Install keyczar to support keyring encryption
  26. PYFS_DESC= Install pyfilesystem to support the pyfs backend
  27. ENCRYPTED_FILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:security/py-pycrypto@${PY_FLAVOR}
  28. GNOME_KEYRING_USE= GNOME=pygobject3
  29. KEYCZAR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyczar>=0.71c:security/py-keyczar@${PY_FLAVOR}
  30. PYFS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fs>=0.5:devel/py-fs@${PY_FLAVOR}
  31. do-test:
  32. @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
  33. .include <bsd.port.mk>