Ticket #34068: Portfile

File Portfile, 1.1 KB (added by 3add3287 (3add3287), 12 years ago)

Portfile for py-pymysql

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                py-pymysql
8version             0.4
9
10categories          python databases devel
11maintainers         nomaintainer
12description         self contained python mysql module
13long_description    PyMySQL implements a MySQL DB-API in pure python
14
15platforms           darwin
16supported_archs     noarch
17
18homepage            https://github.com/petehunt/PyMySQL
19
20master_sites        http://cloud.github.com/downloads/petehunt/PyMySQL/
21distname            PyMySQL3-${version}
22checksums           rmd160 f48ce77ba6e567a70445adb3fbae3f8d68b2b2cf \
23                    sha256 056d85e4fc1c497fc9f97429b400505528c81546583a6f7dbe7966f38d67931e
24
25python.versions     26 27 31 32
26python.default_version 27
27
28if {$subport != $name} {
29    if {${python.version} <= 27} {
30        distname    PyMySQL-${version}
31        checksums    rmd160 d958308875561fb2b233df15688c6504402b53a4 \
32                     sha256 c1097b65a6d5df0d85fbafde1e8bc995dadcc4890ff09a4a5d7a49f92c8077f8
33    }
34}