source: trunk/dports/python/py-sqlalchemy/Portfile

Last change on this file was 154334, checked in by stromnov@…, 11 months ago

py-sqlalchemy: update to version 1.1.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- 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
2# $Id: Portfile 154334 2016-10-28 07:36:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-sqlalchemy
8set realname        SQLAlchemy
9version             1.1.3
10revision            0
11categories-append   databases
12platforms           darwin
13license             MIT
14
15python.versions     26 27 33 34 35
16
17maintainers         stromnov openmaintainer
18
19description         Python SQL ORM
20
21long_description    SQLAlchemy is the Python SQL toolkit and Object \
22                    Relational Mapper that gives application developers \
23                    the full power and flexibility of SQL.
24
25homepage            http://www.sqlalchemy.org/
26master_sites        pypi:[string index ${realname} 0]/${realname}
27
28distname            ${realname}-${version}
29
30checksums           rmd160  a03a8aaf415e93b9bf8dcc0b4826f8aa777463f6 \
31                    sha256  8b0ed90292a294e17d24482c9328abe69eb8e3143e2bd7103b6fadae2562638f
32
33if {${name} ne ${subport}} {
34    depends_build-append \
35                        port:py${python.version}-setuptools
36
37    post-destroot {
38        # Install example files not installed by the Makefile
39        xinstall -m 755 -d ${destroot}${python.prefix}/share/doc/sqlalchemy/examples
40        foreach f [glob -directory ${worksrcpath}/doc *] {
41            copy $f ${destroot}${python.prefix}/share/doc/sqlalchemy/[file tail $f]
42        }
43        foreach f [glob -directory ${worksrcpath}/examples *] {
44            copy $f ${destroot}${python.prefix}/share/doc/sqlalchemy/examples/[file tail $f]
45        }
46    }
47
48    livecheck.type      none
49} else {
50    livecheck.name      ${realname}
51    livecheck.type      pypi
52}
Note: See TracBrowser for help on using the repository browser.