Date: Sun, 5 Sep 1999 12:27:26 +0200 (CEST) From: Dominik Rothert <dr@domix.de> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/13583: new port: databases/py-MySQL Message-ID: <199909051027.MAA04718@domix.de>
next in thread | raw e-mail | index | archive | help
>Number: 13583 >Category: ports >Synopsis: new port: databases/py-MySQL >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 5 03:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dominik Rothert >Release: FreeBSD 4.0-CURRENT i386 >Organization: Am I organized? >Environment: >Description: The Python MySQL module allows you to access easily a MySQL database. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-MySQL # py-MySQL/files # py-MySQL/files/Makefile # py-MySQL/files/md5 # py-MySQL/pkg # py-MySQL/pkg/PLIST # py-MySQL/pkg/DESCR # py-MySQL/pkg/COMMENT # py-MySQL/Makefile # echo c - py-MySQL mkdir -p py-MySQL > /dev/null 2>&1 echo c - py-MySQL/files mkdir -p py-MySQL/files > /dev/null 2>&1 echo x - py-MySQL/files/Makefile sed 's/^X//' >py-MySQL/files/Makefile << 'END-of-py-MySQL/files/Makefile' XCC=/usr/bin/gcc XCFLAGS=-I/usr/local/include/python1.5 -I/usr/local/include/mysql XLIB=-L/usr/local/lib/python1.5/config -L/usr/local/lib/mysql -lmysqlclient -lpython1.5 X Xall: X ${CC} MySQLmodule.c -shared ${CFLAGS} ${LIB} -o MySQLmodule.so X Xinstall: X install -m 0755 MySQLmodule.so /usr/local/lib/python1.5/site-packages X Xclean: X rm -f *~ core MySQLmodule.so END-of-py-MySQL/files/Makefile echo x - py-MySQL/files/md5 sed 's/^X//' >py-MySQL/files/md5 << 'END-of-py-MySQL/files/md5' XMD5 (MySQLmodule-1.4.tar.gz) = 5da13c9806450e085060e80b4e60a51e END-of-py-MySQL/files/md5 echo c - py-MySQL/pkg mkdir -p py-MySQL/pkg > /dev/null 2>&1 echo x - py-MySQL/pkg/PLIST sed 's/^X//' >py-MySQL/pkg/PLIST << 'END-of-py-MySQL/pkg/PLIST' Xlib/python1.5/site-packages/MySQLmodule.so END-of-py-MySQL/pkg/PLIST echo x - py-MySQL/pkg/DESCR sed 's/^X//' >py-MySQL/pkg/DESCR << 'END-of-py-MySQL/pkg/DESCR' XYou can easily access a MySQL database through the Python MySQL module. XBefore using the Python MySQL functions, the module must be imported with X"import MySQL". See /usr/local/share/doc/README.py-MySQL for more. END-of-py-MySQL/pkg/DESCR echo x - py-MySQL/pkg/COMMENT sed 's/^X//' >py-MySQL/pkg/COMMENT << 'END-of-py-MySQL/pkg/COMMENT' Xaccess a MySQL database through Python END-of-py-MySQL/pkg/COMMENT echo x - py-MySQL/Makefile sed 's/^X//' >py-MySQL/Makefile << 'END-of-py-MySQL/Makefile' X# New ports collection makefile for: py-MySQL X# Version required: 1.4 X# Date created: 5 Sep 1999 X# Whom: Dominik Rothert <dr@domix.de> X# X# $Id: $ X# X XDISTNAME= MySQLmodule-1.4 XCATEGORIES= databases XMASTER_SITES= http://www.mysql.com/Contrib/ X XMAINTAINER= dr@domix.de X XLIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client XBUILD_DEPENDS= python:${PORTSDIR}/lang/python XRUN_DEPENDS= python:${PORTSDIR}/lang/python X Xpre-build: X ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile X Xpost-install: X ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/README.py-MySQL X X.include <bsd.port.mk> END-of-py-MySQL/Makefile exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909051027.MAA04718>