Makefile 760 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.10 2017/05/13 13:25:41 jasper Exp $
  2. COMMENT = Python module providing a password hashing framework
  3. MODPY_EGG_VERSION = 1.7.1
  4. DISTNAME = passlib-${MODPY_EGG_VERSION}
  5. PKGNAME = py-passlib-${MODPY_EGG_VERSION}
  6. REVISION = 0
  7. CATEGORIES = security
  8. MAINTAINER = Stuart Henderson <sthen@openbsd.org>
  9. HOMEPAGE = https://bitbucket.org/ecollins/passlib/wiki/Home
  10. # BSD
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MODULES = lang/python
  13. MODPY_PI = Yes
  14. MODPY_SETUPTOOLS = Yes
  15. FLAVORS = python3
  16. FLAVOR ?=
  17. RUN_DEPENDS = security/py-bcrypt${MODPY_FLAVOR}
  18. TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR} \
  19. devel/py-mock${MODPY_FLAVOR}
  20. do-test:
  21. cd ${WRKSRC} && \
  22. PASSLIB_TEST_MODE="full" nosetests --tests passlib/tests
  23. .include <bsd.port.mk>