source: trunk/dports/python/py-fixtures/Portfile

Last change on this file was 114324, checked in by ryandesign@…, 4 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
2
3PortSystem      1.0
4PortGroup       python 1.0
5
6name            py-fixtures
7set real_name   fixtures
8version         0.3.6
9maintainers     nomaintainer
10platforms       darwin
11supported_archs noarch
12description     Fixtures, reusable state for writing clean tests and more.
13
14long_description \
15    Fixtures defines a Python contract for reusable state / support logic, \
16    primarily for unit testing. Helper and adaption logic is included to make \
17    it easy to write your own fixtures using the fixtures contract. Glue code \
18    is provided that makes using fixtures that meet the Fixtures contract in \
19    unittest compatible test cases easy and straight forward.
20
21categories-append devel
22license         {Apache-2 BSD}
23
24homepage        https://launchpad.net/python-${real_name}
25master_sites    http://launchpad.net/python-${real_name}/trunk/${version}/+download/
26distname        ${real_name}-${version}
27
28checksums       md5     e4d51fa6770efb75bb8c74c0e52486da \
29                sha1    1706e8f62065eb503d1f8c45c0c671f027c93666 \
30                rmd160  dfdbc865fdffe7aa8f572f1a378ac9ef15462186
31
32python.versions 27
33
34if {${name} ne ${subport}} {
35    depends_lib-append  port:py${python.version}-testtools   
36}
Note: See TracBrowser for help on using the repository browser.