blob: 770f8a9f01641c2ae3d033e4bd77a77643204d58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.3 2014/01/19 09:09:13 wiz Exp $
DISTNAME= python-daemon-1.6
EGG_NAME= ${DISTNAME:S/-/_/}
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/p/python-daemon/
MAINTAINER= kamel.derouiche@gmail.com
HOMEPAGE= http://pypi.python.org/pypi/python-daemon/
COMMENT= Library to implement a well-behaved Unix daemon process
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-lockfile>=0.9:../../devel/py-lockfile
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 1.6
REPLACE_INTERPRETER+= python
REPLACE.python.old= /usr/bin/env
REPLACE.python.new= ${PYTHONBIN}
REPLACE_FILES.python= ${WRKSRC}/daemon/version/version_info.py
do-test:
${RUN} cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/test_runner.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|