Alexander Afanasyev | d10cfe4 | 2013-07-14 13:21:54 -0700 | [diff] [blame] | 1 | # $Id: Portfile 102139 2013-01-28 10:54:12Z jmr@macports.org $ |
| 2 | |
| 3 | PortSystem 1.0 |
| 4 | PortGroup python 1.0 |
| 5 | |
| 6 | name py-python-daemon |
| 7 | set real_name python-daemon |
| 8 | version 1.6 |
Alexander Afanasyev | 087d923 | 2013-07-27 18:50:53 -0700 | [diff] [blame^] | 9 | revision 1 |
Alexander Afanasyev | d10cfe4 | 2013-07-14 13:21:54 -0700 | [diff] [blame] | 10 | categories-append devel |
| 11 | platforms darwin |
| 12 | supported_archs noarch |
| 13 | license PSF-2+ |
| 14 | maintainers nomaintainer |
| 15 | description Library to implement a well-behaved Unix daemon process. |
| 16 | long_description \ |
| 17 | This library implements the well-behaved daemon specification of PEP 3143, \ |
| 18 | \"Standard daemon process library\". A well-behaved Unix daemon process is \ |
| 19 | tricky to get right, but the required steps are much the same for every \ |
| 20 | daemon program. A DaemonContext instance holds the behaviour and \ |
| 21 | configured process environment for the program\; use the instance as a \ |
| 22 | context manager to enter a daemon state. |
| 23 | |
| 24 | homepage http://pypi.python.org/pypi/python-daemon/ |
| 25 | master_sites http://pypi.python.org/packages/source/p/${real_name} |
| 26 | distname ${real_name}-${version} |
| 27 | checksums rmd160 cf269c6a40a08ff6265e3fb87b307da2d79470de \ |
| 28 | sha256 1665fb16bfeae72f16aa2de40bc75661458bd42731a7d463a911a8d5eaf96c0b |
| 29 | |
| 30 | python.versions 27 |
| 31 | |
| 32 | if {$subport != $name} { |
Alexander Afanasyev | 087d923 | 2013-07-27 18:50:53 -0700 | [diff] [blame^] | 33 | depends_build port:py${python.version}-setuptools |
Alexander Afanasyev | d10cfe4 | 2013-07-14 13:21:54 -0700 | [diff] [blame] | 34 | } |