Skip to content

Commit

Permalink
py-biggles: update to 1.7.2, add py37
Browse files Browse the repository at this point in the history
- remove xorg-libXaw dependency, instead require plotutils +x11
- update homepage
- install files/examples in post-destroot
  • Loading branch information
reneeotten authored and pmetzger committed Feb 20, 2019
1 parent 45b2b2e commit 245dc6d
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions python/py-biggles/Portfile
Expand Up @@ -3,10 +3,11 @@
PortSystem 1.0
PortGroup github 1.0
PortGroup python 1.0
PortGroup active_variants 1.1

github.setup nolta biggles 1.6.7 v
github.setup biggles-plot biggles 1.7.2 v
name py-biggles
revision 1
revision 0

categories-append graphics math science
platforms darwin
Expand All @@ -17,20 +18,27 @@ description Creates 2D scientific plots
long_description Biggles is a Python module for the creation of \
publication-quality 2D scientific plots.

homepage http://biggles.sourceforge.net/
homepage https://biggles-plot.github.io/

checksums md5 a6c7c07ecbfc142024c9c17cb20b7249 \
sha1 d29e56a7d11efcd249c54a82a9f86d82936e6428 \
rmd160 08172f51bfad355f2067f8a9ab86e75a0b73e201
checksums rmd160 ab9e498ba91a89dba179c33083a2a0dc05ec80cd \
sha256 3806d9b64e6e0ad40bf9f7ed81b0477ba2d31688865c123de3d2a01bae13b81f \
size 215231

python.versions 27
python.versions 27 37

if {${name} ne ${subport}} {
require_active_variants \
port:plotutils x11

depends_lib-append \
port:plotutils \
port:py${python.version}-numpy \
port:xorg-libXaw

build.target build_ext
build.args -I${prefix}/include
post-destroot {
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}/examples
xinstall -m 0644 -W ${worksrcpath} CHANGELOG COPYING CREDITS README.rst \
${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 {*}[glob -types f ${worksrcpath}/examples/*] \
${destroot}${prefix}/share/doc/${subport}/examples
}
}

0 comments on commit 245dc6d

Please sign in to comment.