Skip to content
Browse files


  new port, closes

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
g5pw committed Mar 12, 2014
1 parent f43321d commit 51e05bc9974679d9bc75a768cb38b6900a1cb462
Showing with 63 additions and 0 deletions.
  1. +63 −0 python/py-scikits-samplerate/Portfile
@@ -0,0 +1,63 @@
# -*- 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
# $Id$

PortSystem 1.0
PortGroup python 1.0

set _name scikits.samplerate
set _n [string index ${_name} 0]

name py-scikits-samplerate
version 0.3.3
categories-append science audio
platforms darwin
supported_archs noarch
license GPL

maintainers openmaintainer

description A Python module for high quality audio resampling

long_description \
Samplerate is a small python package to do high quality audio resampling \
for data in numpy arrays. It is a wrapper around the Secret Rabbit Code \
by Erik de Castro Lopo (, providing a high \
quality converters based on the work of J.O. Smith from CCRMA, Stanford \
University (


distname ${_name}-${version}

checksums md5 96c8d8ba3aa95a9db15994f78792efb4 \
rmd160 8eec6aa95de1b064bdc2c3c86170aa26f686712f \
sha256 05b06e729f58ab261a96f0d17e1b22733192c7450944762cceabce796ff77bdd

python.versions 26 27

livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"

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

depends_lib-append port:libsamplerate

# Adding documentation and examples
post-destroot {
set dest_doc ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${dest_doc}
xinstall -m 755 -W ${worksrcpath} \
Changelog \

copy ${worksrcpath}/docs/html ${dest_doc}
copy ${worksrcpath}/docs/pdf ${dest_doc}
livecheck.type none

0 comments on commit 51e05bc

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