Commits

reneeotten authored and Perry E. Metzger committed aa105d1891e
py-mock: add py37 subport, add size to checksums
No tags

python/py-mock/Portfile

Modified
1 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2 2
3 3 PortSystem 1.0
4 4 PortGroup python 1.0
5 5
6 6 name py-mock
7 7 set real_name mock
8 8 version 2.0.0
9 9 revision 2
10 -python.versions 27 34 35 36
10 +python.versions 27 34 35 36 37
11 11 categories-append devel
12 12 platforms darwin
13 13 supported_archs noarch
14 14 license BSD
15 15 maintainers nomaintainer
16 16
17 17 description A Python Mocking and Patching Library for Testing
18 18 long_description \
19 19 mock is a Python module that provides a core Mock class. It removes the \
20 20 need to create a host of stubs throughout your test suite. After \
21 21 performing an action, you can make assertions about which methods / \
22 22 attributes were used and arguments they were called with. You can also \
23 23 specify return values and set needed attributes in the normal way.
24 24
25 25 homepage http://www.voidspace.org.uk/python/mock/
26 26 master_sites pypi:m/${real_name}
27 27 distname ${real_name}-${version}
28 28
29 29 checksums rmd160 10f4cb9343d99620e298cc0ffea143ee321e4ec2 \
30 - sha256 b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba
30 + sha256 b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba \
31 + size 73684
31 32
32 33 if {${name} eq ${subport}} {
33 34 livecheck.type pypi
34 35 } else {
35 36 depends_build-append port:py${python.version}-setuptools
36 37 depends_lib-append port:py${python.version}-funcsigs \
37 38 port:py${python.version}-pbr \
38 39 port:py${python.version}-six
39 40
40 41 livecheck.type none
41 42 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut