Skip to content

Commit

Permalink
py-numpydoc: update to 1.0.0
Browse files Browse the repository at this point in the history
- pin to version 0.9.2 for PY27
- add noarch
- update test-phase
  • Loading branch information
reneeotten committed Jun 19, 2020
1 parent 874be88 commit bf6033a
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions python/py-numpydoc/Portfile
Expand Up @@ -4,8 +4,11 @@ PortSystem 1.0
PortGroup python 1.0

name py-numpydoc
version 0.9.2
version 1.0.0
revision 0

platforms darwin
supported_archs noarch
license BSD
maintainers {mojca @mojca} openmaintainer

Expand All @@ -15,27 +18,30 @@ long_description Numpydoc inserts a hook into Sphinx’s autodoc \
to a form palatable to Sphinx.

homepage https://github.com/numpy/numpydoc
master_sites pypi:n/${python.rootname}/
distname ${python.rootname}-${version}

checksums rmd160 de791bad34fe958841e1df7101931c1149d3453f \
sha256 9140669e6b915f42c6ce7fef704483ba9b0aaa9ac8e425ea89c76fe40478f642 \
size 27555
checksums rmd160 35e2ee29b71a2493ac95abaf39c913355ae184a2 \
sha256 e481c0799dfda208b6a2c2cb28757fa6b6cbc4d6e43722173697996cf556df7f \
size 42206

python.versions 27 35 36 37 38

if {${name} ne ${subport}} {
if {${python.version} == 27} {
version 0.9.2
checksums rmd160 de791bad34fe958841e1df7101931c1149d3453f \
sha256 9140669e6b915f42c6ce7fef704483ba9b0aaa9ac8e425ea89c76fe40478f642 \
size 27555
}

depends_build-append \
port:py${python.version}-setuptools \
port:py${python.version}-sphinx \
port:py${python.version}-jinja2

depends_test-append \
port:py${python.version}-nose \
port:py${python.version}-pytest
depends_test-append port:py${python.version}-pytest

test.run yes
test.cmd nosetests-${python.branch}
test.cmd py.test-${python.branch}
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib

Expand Down

0 comments on commit bf6033a

Please sign in to comment.