Skip to content
Permalink
Browse files

py-texttable: update to 1.6.1, add py37

- switch to PyPI
- update license and homepage
- install files in post-destroot
  • Loading branch information
reneeotten committed Apr 14, 2019
1 parent f509121 commit 97e84fe079a941720341a8e437cddacb6ce01e5d
Showing with 25 additions and 8 deletions.
  1. +25 −8 python/py-texttable/Portfile
@@ -4,20 +4,37 @@ PortSystem 1.0
PortGroup python 1.0

name py-texttable
version 0.8.3
version 1.6.1
revision 0
categories-append textproc
license GPL-2+
license MIT
platforms darwin
supported_archs noarch
maintainers nomaintainer

description python module for creating simple ASCII tables
long_description ${description}

homepage http://foutaise.org/code/
master_sites ${homepage}texttable/ http://distfiles.macports.org/python/
distname texttable-${version}
homepage https://github.com/foutaise/texttable/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname ${python.rootname}-${version}

checksums rmd160 3b5aa438c8d684c0cd6aa779f510e2590c98e92e \
sha256 2b60a5304ccfbeac80ffae7350d7c2f5d7a24e9aab5036d0f82489746419d9b2 \
size 14000

python.versions 27 34 35 36 37

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

checksums rmd160 e612f66d2327ee99b97353eca445d0eeeb3513fe \
sha256 f333ac915e7c5daddc7d4877b096beafe74ea88b4b746f82a4b110f84e348701
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
CHANGELOG.md ${destroot}${docdir}
}

python.versions 27 34 35 36
livecheck.type none
}

0 comments on commit 97e84fe

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