Files
2021-04-10 11:27:39 +03:00

56 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
name py-sqlalchemy
python.rootname SQLAlchemy
version 1.4.7
revision 0
categories-append databases
platforms darwin
license MIT
python.versions 27 35 36 37 38 39
maintainers {stromnov @stromnov} openmaintainer
description Python SQL ORM
long_description SQLAlchemy is the Python SQL toolkit and Object \
Relational Mapper that gives application developers \
the full power and flexibility of SQL.
homepage http://www.sqlalchemy.org/
checksums rmd160 c6dd83b75b9bd768b219796d91672fdd7e640ee3 \
sha256 84115f97d88c8ccf26db81b7997c5f5de9ae360e0785ef859d0987794495f0a9 \
size 7531300
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
if {${python.version} eq 35} {
version 1.3.23
revision 0
distname ${python.rootname}-${version}
checksums rmd160 edd24330178b399aa5061b8eedb5ddb61d75c82d \
sha256 6fca33672578666f657c131552c4ef8979c1606e494f78cd5199742dfb26918b \
size 6313652
}
post-destroot {
# Install example files not installed by the Makefile
xinstall -m 755 -d ${destroot}${python.prefix}/share/doc/sqlalchemy/examples
foreach f [glob -directory ${worksrcpath}/doc *] {
copy $f ${destroot}${python.prefix}/share/doc/sqlalchemy/[file tail $f]
}
foreach f [glob -directory ${worksrcpath}/examples *] {
copy $f ${destroot}${python.prefix}/share/doc/sqlalchemy/examples/[file tail $f]
}
}
livecheck.type none
}