Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (32 sloc) 1.31 KB
# -*- 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
name py-apsw
github.setup rogerbinns apsw 3.27.2-r1
platforms darwin
license zlib
maintainers nomaintainer
description Another Python SQLite wrapper
long_description APSW is a Python wrapper for the SQLite embedded relational database engine.
distname ${python.rootname}-${version}
checksums rmd160 0b487f844f2682c48407b675b3da27e342f6dd4d \
sha256 d3be77e19250992990b6764b8d0ba107915bf86522867dd5e6f550e1d70cfc45 \
size 307045
python.versions 27 34 35 36 37
if {${name} ne ${subport}} {
depends_lib-append \
port:sqlite3
pre-test {
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
}
test.run yes
test.cmd ${python.bin} setup.py
test.target test
post-destroot {
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${destroot}${prefix}/share/doc/${subport}
}
livecheck.type none
}
You can’t perform that action at this time.