Files
Renee Otten a2c2abb0d7 py-tail: update to 0.4.1
- add license
- fix py-setuptools dependency type
- update homepage, fix livecheck
- install files in post-destroot
2019-04-13 12:16:49 -04:00

47 lines
1.6 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-tail
set real_name tailer
version 0.4.1
revision 0
license MIT
platforms darwin
supported_archs noarch
maintainers nomaintainer
description Simple implementation of GNU tail and head in Python
long_description \
Python tail is a simple implementation of GNU tail and head. \
It provides 3 main functions that can be performed on any \
file-like object that supports seek() and tell(): tail, head, \
and follow. It also comes with pytail, a command line version \
offering the same functionality as GNU tail. This can be particularly \
useful on Windows systems that have no tail equivalent.
homepage https://github.com/six8/pytailer
master_sites pypi:t/tailer/
checksums rmd160 ad04998c798d097ab909e8e18ad5f236ced999bb \
sha256 78d60f23a1b8a2d32f400b3c8c06b01142ac7841b75d8a1efcb33515877ba531 \
size 7504
distname ${real_name}-${version}
python.versions 27
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-setuptools
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
${destroot}${docdir}
}
livecheck.type none
} else {
livecheck.name tailer
}