Makefile 682 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.15 2017/01/03 19:26:58 landry Exp $
  2. COMMENT= platform-independent file locking for Python
  3. MODPY_EGG_VERSION= 0.12.2
  4. DISTNAME= lockfile-${MODPY_EGG_VERSION}
  5. PKGNAME= py-${DISTNAME}
  6. REVISION= 2
  7. CATEGORIES= sysutils
  8. HOMEPAGE= https://launchpad.net/pylockfile
  9. # MIT
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MODULES= lang/python
  12. BUILD_DEPENDS= devel/py-pbr${MODPY_FLAVOR}
  13. RUN_DEPENDS= devel/py-pbr${MODPY_FLAVOR}
  14. MODPY_PI= Yes
  15. MODPY_SETUPTOOLS= Yes
  16. FLAVORS= python3
  17. FLAVOR ?=
  18. TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR} \
  19. textproc/py-sphinx${MODPY_FLAVOR}
  20. pre-test:
  21. sed -i "s,^sphinx.*,sphinx," ${WRKSRC}/test-requirements.txt
  22. .include <bsd.port.mk>