1 # $NetBSD: Makefile,v 1.1 2012/08/14 12:29:50 imil Exp $
4 DISTNAME
= python-daemon-1.5
.5
5 EGG_NAME
= python_daemon-1.5
.5
6 PKGNAME
= ${PYPKGPREFIX}-${DISTNAME
:S
/python-
//}
7 CATEGORIES
= devel python
8 MASTER_SITES
= http
://pypi.python.org
/packages
/source
/p
/python-daemon
/
10 MAINTAINER
= kamel.derouiche@gmail.com
11 HOMEPAGE
= http
://pypi.python.org
/pypi
/python-daemon
/
12 COMMENT
= Library to implement a well-behaved Unix daemon process
15 DEPENDS
+= ${PYPKGPREFIX}-lockfile
>=0.9:..
/..
/devel
/py-lockfile
17 WRKSRC
= ${WRKDIR}/python-daemon-1.5
.5
20 REPLACE_INTERPRETER
+= python
21 REPLACE.python.old
= /usr
/bin
/env
22 REPLACE.python.new
= ${PYTHONBIN}
23 REPLACE_FILES.python
= ${WRKSRC}/daemon
/version
/version_info.py
26 ${RUN} cd
${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/test_runner.py
28 .
include "../../lang/python/egg.mk"
29 .
include "../../mk/bsd.pkg.mk"