Skip to content
Permalink
Browse files

py-tempora: update to 1.14.1; enable tests; correct dependencies

Currently disable tests on python 27 as there are too many issues.
  • Loading branch information
kurthindenburg committed Apr 19, 2019
1 parent 030229f commit 8daaac0e25d2bf62d5af6e3d791727502a29fa84
Showing with 29 additions and 5 deletions.
  1. +19 −5 python/py-tempora/Portfile
  2. +10 −0 python/py-tempora/files/patch-remove-flake8.diff
@@ -4,7 +4,8 @@ PortSystem 1.0
PortGroup python 1.0

name py-tempora
version 1.14
version 1.14.1
revision 0
categories-append devel
platforms darwin
supported_archs noarch
@@ -20,17 +21,30 @@ homepage https://pypi.python.org/pypi/${python.rootname}
distname ${python.rootname}-${version}
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}

checksums rmd160 d9753fb299c74107c10617d1b6a2cc7612c1d050 \
sha256 4951da790bd369f718dbe2287adbdc289dc2575a09278e77fad6131bcfe93097 \
size 16009
checksums rmd160 7dac285c19fc780e630536bf456d6c7c37c10e15 \
sha256 cb60b1d2b1664104e307f8e5269d7f4acdb077c82e35cd57246ae14a3427d2d6 \
size 19383

patchfiles patch-remove-flake8.diff

python.versions 27 34 35 36 37

if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools_scm
depends_lib-append port:py${python.version}-tz \
depends_lib-append port:py${python.version}-jaraco.functools \
port:py${python.version}-tz \
port:py${python.version}-six

if {${python.version} > 33} {
depends_test-append port:py${python.version}-py \
port:py${python.version}-pytest \
port:py${python.version}-freezegun
test.run yes
test.env PYTHONPATH=${worksrcpath}/build/lib
test.cmd py.test-${python.branch}
test.target
}

livecheck.type none
} else {
livecheck.type pypi
@@ -0,0 +1,10 @@
--- pytest.ini 2019-04-11 23:00:39.000000000 -0400
+++ pytest.ini 2019-04-18 10:44:32.000000000 -0400
@@ -1,6 +1,6 @@
[pytest]
norecursedirs=dist build .tox .eggs
-addopts=--doctest-modules --flake8
+addopts=--doctest-modules
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
filterwarnings=
ignore:Possible nested set::pycodestyle:113

0 comments on commit 8daaac0

Please sign in to comment.
You can’t perform that action at this time.