Files
Peter Danecek f86b5fbcc1 py-irodsclient: update to version 0.8.1, py36 and py37 subport
* update to version 0.8.1, which supports also Python 3
* add py36 an y37 supports
* move to PyPi and related changes
* update descriptions
* modernise checksums

Closes: https://trac.macports.org/ticket/57500
2018-11-04 16:35:11 +01:00

59 lines
2.0 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
set _name python-irodsclient
set _n [string index ${_name} 0]
name py-irodsclient
version 0.8.1
categories-append net databases science
platforms darwin
supported_archs noarch
license BSD
maintainers {petr @petrrr} openmaintainer
description A Python client for iRODS, a distributed data management system.
long_description \
The integrated Rule-Oriented Data System (iRODS) is open source data \
management system used by research organizations and government \
agencies worldwide. This Python packages provides an client API.
homepage https://github.com/irods/python-irodsclient
master_sites pypi:${_n}/${_name}
distname ${_name}-${version}
checksums rmd160 4700c795891396ae43c7f8afd200292de75c2c5a \
sha256 6e73d49970b263c988917af681780a2e795a51a59379d278cc8c30fb071f2685 \
size 83293
python.versions 27 36 37
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-prettytable \
port:py${python.version}-six \
port:py${python.version}-unittest-xml-reporting
# Adding documentation
post-destroot {
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${dest_doc}
xinstall -m 755 -W ${worksrcpath} \
README.rst \
CHANGELOG.rst \
AUTHORS \
LICENSE.txt \
${dest_doc}
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
}