Skip to content
Permalink
Browse files

py-formencode: update to 1.3.1, add py37

- use default PyPI livecheck
- update homepage and description
- install files in post-destroot
- add noarch
  • Loading branch information
reneeotten authored and cjones051073 committed Apr 11, 2019
1 parent a9b1a9e commit 092d8aac741a10d59e579b259cf36c5abea21683
Showing with 20 additions and 9 deletions.
  1. +20 −9 python/py-formencode/Portfile
@@ -4,26 +4,37 @@ PortSystem 1.0
PortGroup python 1.0

name py-formencode
version 1.2.4
version 1.3.1
revision 0
maintainers nomaintainer
platforms darwin
supported_archs noarch
license PSF

description FormEncode validates and converts nested structures.
description HTML form validation, generation, and conversion package
long_description ${description}

homepage https://pypi.python.org/pypi/FormEncode/
homepage https://github.com/formencode/formencode
distname FormEncode-${version}
master_sites pypi:F/FormEncode/
checksums rmd160 37bdf14bc439a070342020867ee7062bcffce27b
checksums rmd160 2a9a47791bf31eec71456b6029a154223e8e4e73 \
sha256 ada2f51792b1b484e5bb7b6cc14acfc1bc11fafc967cf015cd57e856053ca7f6 \
size 197305

python.versions 27
python.versions 27 37

if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
}

livecheck.regex {/FormEncode/(\d+(?:\.\d+)*)"}
livecheck.type regex
livecheck.url ${homepage}
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst \
${destroot}${docdir}
}

livecheck.type none
} else {
livecheck.name FormEncode
}

0 comments on commit 092d8aa

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