Ticket #31494: Portfile

File Portfile, 1.0 KB (added by rizwank@…, 13 years ago)

PortFile

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 61654 2009-12-17 20:10:21Z jmr@macports.org $
3
4PortSystem 1.0
5PortGroup       python 1.0
6
7name            py-mssql
8version         1.0.2
9categories      python databases
10platforms       darwin
11maintainers     gmail.com:ruseel geekymedia.com:rizwank
12description     A simple database interface to MS-SQL for Python.
13long_description    ${description}
14
15homepage        http://pymssql.sourceforge.net/
16master_sites    sourceforge:pymssql
17distname        pymssql-${version}
18checksums       md5     04dc4aa591acacbc8f183daeea21b690 \
19                sha1    e35b1a68285728cfe06b193c57c13059e65f5691 \
20                rmd160  9130ac3e8a7e489470e8411750c07e91a2a30da7
21
22patchfiles      patch-setup.py
23depends_lib     port:py-cython
24depends_lib-append  port:freetds
25
26python.versions     24 25 26 27
27python.default_version 27
28python.link_binaries no
29
30post-patch {
31    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
32}