Files
macports-ports/python/py-tsk/Portfile
Joshua Root f31289caff python/py-[r-z]*: set github.tarball_from explicitly
In preparation for changing the default.
2025-01-27 04:26:35 +11:00

43 lines
1.3 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
PortGroup github 1.0
github.setup py4n6 pytsk 20150111
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision 0
platform darwin 20 {
revision 1
}
name py-tsk
categories-append security
maintainers nomaintainer
license Apache-2
python.versions 27
description Python binding for the SleuthKit
long_description {*}${description}
## https://github.com/py4n6/pytsk/wiki/Building
distname pytsk-${version}
extract.suffix .tgz
checksums rmd160 ae38d154d53a97e12520357ec295e32426834e6c \
sha256 73e5b811611ac57fc8081c67f9f011c5fee23e85d2ee07a0de2ea5d91ff22dc0
depends_lib-append port:sleuthkit \
port:talloc
patchfiles patch-setup_py.diff patch-misc.h.diff
build.env TSK_HEADERS_PATH=${prefix}/include
destroot.env TSK_HEADERS_PATH=${prefix}/include
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex pytsk-(\[0-9.\]+)${extract.suffix}