diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-08-01 04:29:44 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2011-08-01 04:29:44 +0000 |
commit | 2e6cabfa170ebe3c08ebd4c3f2fc7e23ba2f0f18 (patch) | |
tree | 8e6c4f2cceeabf768a42f84d0f1914bd45cb93f4 /databases/py-MySQL | |
parent | Bye bye abandonwares (diff) |
Bye bye abandonwares (part 2)
2011-08-01 benchmarks/rawio: Looks like an abandonware, no more public distfiles
2011-08-01 benchmarks/tmetric: Looks like abandonware, no more public distfiles
2011-08-01 biology/L-Breeder: Looks like an abandonware, no more public distfile
2011-08-01 biology/crimap: Looks like an abandonware, no more public distfile
2011-08-01 biology/distribfold: No more upstream, looks like an abandonware
2011-08-01 biology/kinemage: Looks like an abandonware, no more public distfile
2011-08-01 biology/lsysexp: Looks like an abandonware, no more public distfile
2011-08-01 chinese/chm2html: Looks like an abandonware, no more public distfile
2011-08-01 chinese/ntuttf: No more public distfiles available
2011-08-01 chinese/reciteword: Looks like an abandonware, no more public distfile
2011-08-01 chinese/tocps: No more pulic distfiles
2011-08-01 chinese/xttmgr: Looks like an abandonware, no more public distfile
2011-08-01 comms/mserver: Looks like an abandonware, no more public distfiles
2011-08-01 comms/qicosi: Looks like an abandonware, no more public distfile
2011-08-01 comms/sms_client: Looks like an abandonware, no more public distfile
2011-08-01 comms/smstools: Looks like an abandonware, no more public distfile
2011-08-01 converters/siconv: Looks like an abandonware, no more public distfiles
2011-08-01 converters/utf8conv: Looks like an abandonware, no more public distfile
2011-08-01 databases/pgcluster: Looks like an abandonware, no more public distfile
2011-08-01 databases/py-MySQL: Please use databases/py-MySQLdb instead
2011-08-01 databases/py-SQLDict: Looks like an abandonware, no more public distfile
2011-08-01 databases/py-rrdpipe: Looks like an abandonware, no more public distfile
2011-08-01 databases/sybase_ase: no more public distfiles available
Notes
Notes:
svn path=/head/; revision=278678
Diffstat (limited to 'databases/py-MySQL')
-rw-r--r-- | databases/py-MySQL/Makefile | 58 | ||||
-rw-r--r-- | databases/py-MySQL/distinfo | 2 | ||||
-rw-r--r-- | databases/py-MySQL/files/Makefile.pre.in | 304 | ||||
-rw-r--r-- | databases/py-MySQL/files/Setup | 2 | ||||
-rw-r--r-- | databases/py-MySQL/files/patch-aa | 38 | ||||
-rw-r--r-- | databases/py-MySQL/pkg-descr | 4 | ||||
-rw-r--r-- | databases/py-MySQL/pkg-message | 10 |
7 files changed, 0 insertions, 418 deletions
diff --git a/databases/py-MySQL/Makefile b/databases/py-MySQL/Makefile deleted file mode 100644 index e0968bc0e06e..000000000000 --- a/databases/py-MySQL/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# New ports collection makefile for: py-MySQL -# Date created: 05 September 1999 -# Whom: Dominik Rothert <dr@domix.de> -# -# $FreeBSD$ -# - -PORTNAME= MySQL -PORTVERSION= 1.4 -CATEGORIES= databases python -MASTER_SITES= http://mysql.osuosl.org/Downloads/Contrib/Old-Versions/ -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= MySQLmodule-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Access a MySQL database through Python - -DEPRECATED= Please use databases/py-MySQLdb instead -EXPIRATION_DATE= 2011-08-01 - -LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client - -PLIST_FILES= lib/%%PYTHON_VERSION%%/site-packages/MySQLmodule.so -USE_PYTHON= -2.4 -MAKE_ENV= PYTHON="${PYTHON_CMD}" - -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 210 -ALL_TARGET= MySQLmodule.so -.endif -.if ${PYTHON_REL} >= 220 -MAKEFILE_PREIN= ${FILESDIR}/Makefile.pre.in -.else -MAKEFILE_PREIN= ${PYTHONPREFIX_LIBDIR}/config/Makefile.pre.in -.endif - -pre-configure: - ${CP} ${FILESDIR}/Setup ${WRKSRC}/Setup -.if ${PYTHON_REL} >= 230 - ${SED} -e 's,@DEFS@,,g' ${MAKEFILE_PREIN} > ${WRKSRC}/Makefile.pre.in -.else - ${LN} -s ${MAKEFILE_PREIN} ${WRKSRC}/ -.endif - -do-configure: - cd ${WRKSRC} && PYTHON=${PYTHON_CMD} ${MAKE} -f Makefile.pre.in boot - -.if !defined(NOPORTDOCS) -post-install: - @${MKDIR} ${PREFIX}/share/doc/py-MySQL - @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/py-MySQL - @${ECHO_CMD} "share/doc/py-MySQL/README" >> ${TMPPLIST} - @${ECHO_CMD} "@dirrm share/doc/py-MySQL" >> ${TMPPLIST} -.endif - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/databases/py-MySQL/distinfo b/databases/py-MySQL/distinfo deleted file mode 100644 index 9cdd6fb81732..000000000000 --- a/databases/py-MySQL/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (MySQLmodule-1.4.tar.gz) = 30dc914cbd883d0a6889eccd08f9408828f3c2d18afe28472d925f465f808fd2 -SIZE (MySQLmodule-1.4.tar.gz) = 19057 diff --git a/databases/py-MySQL/files/Makefile.pre.in b/databases/py-MySQL/files/Makefile.pre.in deleted file mode 100644 index d8f763d8d6c6..000000000000 --- a/databases/py-MySQL/files/Makefile.pre.in +++ /dev/null @@ -1,304 +0,0 @@ -# Universal Unix Makefile for Python extensions -# ============================================= - -# Short Instructions -# ------------------ - -# 1. Build and install Python (1.5 or newer). -# 2. "make -f Makefile.pre.in boot" -# 3. "make" -# You should now have a shared library. - -# Long Instructions -# ----------------- - -# Build *and install* the basic Python 1.5 distribution. See the -# Python README for instructions. (This version of Makefile.pre.in -# only withs with Python 1.5, alpha 3 or newer.) - -# Create a file Setup.in for your extension. This file follows the -# format of the Modules/Setup.dist file; see the instructions there. -# For a simple module called "spam" on file "spammodule.c", it can -# contain a single line: -# spam spammodule.c -# You can build as many modules as you want in the same directory -- -# just have a separate line for each of them in the Setup.in file. - -# If you want to build your extension as a shared library, insert a -# line containing just the string -# *shared* -# at the top of your Setup.in file. - -# Note that the build process copies Setup.in to Setup, and then works -# with Setup. It doesn't overwrite Setup when Setup.in is changed, so -# while you're in the process of debugging your Setup.in file, you may -# want to edit Setup instead, and copy it back to Setup.in later. -# (All this is done so you can distribute your extension easily and -# someone else can select the modules they actually want to build by -# commenting out lines in the Setup file, without editing the -# original. Editing Setup is also used to specify nonstandard -# locations for include or library files.) - -# Copy this file (Misc/Makefile.pre.in) to the directory containing -# your extension. - -# Run "make -f Makefile.pre.in boot". This creates Makefile -# (producing Makefile.pre and sedscript as intermediate files) and -# config.c, incorporating the values for sys.prefix, sys.exec_prefix -# and sys.version from the installed Python binary. For this to work, -# the python binary must be on your path. If this fails, try -# make -f Makefile.pre.in Makefile VERSION=1.5 installdir=<prefix> -# where <prefix> is the prefix used to install Python for installdir -# (and possibly similar for exec_installdir=<exec_prefix>). - -# Note: "make boot" implies "make clobber" -- it assumes that when you -# bootstrap you may have changed platforms so it removes all previous -# output files. - -# If you are building your extension as a shared library (your -# Setup.in file starts with *shared*), run "make" or "make sharedmods" -# to build the shared library files. If you are building a statically -# linked Python binary (the only solution of your platform doesn't -# support shared libraries, and sometimes handy if you want to -# distribute or install the resulting Python binary), run "make -# python". - -# Note: Each time you edit Makefile.pre.in or Setup, you must run -# "make Makefile" before running "make". - -# Hint: if you want to use VPATH, you can start in an empty -# subdirectory and say (e.g.): -# make -f ../Makefile.pre.in boot srcdir=.. VPATH=.. - - -# === Bootstrap variables (edited through "make boot") === - -# The prefix used by "make inclinstall libainstall" of core python -installdir= /usr/local - -# The exec_prefix used by the same -exec_installdir=$(installdir) - -# Source directory and VPATH in case you want to use VPATH. -# (You will have to edit these two lines yourself -- there is no -# automatic support as the Makefile is not generated by -# config.status.) -srcdir= . -VPATH= . - -# === Variables that you may want to customize (rarely) === - -# (Static) build target -TARGET= python - -# Installed python binary (used only by boot target) -PYTHON?= python - -# Add more -I and -D options here -CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS) - -# These two variables can be set in Setup to merge extensions. -# See example[23]. -BASELIB= -BASESETUP= - -# === Variables set by makesetup === - -MODOBJS= _MODOBJS_ -MODLIBS= _MODLIBS_ - -# === Definitions added by makesetup === - -# === Variables from configure (through sedscript) === - -VERSION= @VERSION@ -CC= @CC@ -LINKCC= @LINKCC@ -SGI_ABI= @SGI_ABI@ -OPT= @OPT@ -LDFLAGS= @LDFLAGS@ -LDLAST= @LDLAST@ -DEFS= @DEFS@ -LIBS= @LIBS@ -LIBM= @LIBM@ -LIBC= @LIBC@ -RANLIB= @RANLIB@ -MACHDEP= @MACHDEP@ -SO= @SO@ -LDSHARED= @LDSHARED@ -CCSHARED= @CCSHARED@ -LINKFORSHARED= @LINKFORSHARED@ -CXX= @CXX@ - -# Install prefix for architecture-independent files -prefix= /usr/local - -# Install prefix for architecture-dependent files -exec_prefix= $(prefix) - -# Uncomment the following two lines for AIX -#LINKCC= $(LIBPL)/makexp_aix $(LIBPL)/python.exp "" $(LIBRARY); $(PURIFY) $(CC) -#LDSHARED= $(LIBPL)/ld_so_aix $(CC) -bI:$(LIBPL)/python.exp - -# === Fixed definitions === - -# Shell used by make (some versions default to the login shell, which is bad) -SHELL= /bin/sh - -# Expanded directories -BINDIR= $(exec_installdir)/bin -LIBDIR= $(exec_prefix)/lib -MANDIR= $(installdir)/man -INCLUDEDIR= $(installdir)/include -SCRIPTDIR= $(prefix)/lib - -# Detailed destination directories -BINLIBDEST= $(LIBDIR)/python$(VERSION) -LIBDEST= $(SCRIPTDIR)/python$(VERSION) -INCLUDEPY= $(INCLUDEDIR)/python$(VERSION) -EXECINCLUDEPY= $(exec_installdir)/include/python$(VERSION) -LIBP= $(exec_installdir)/lib/python$(VERSION) -DESTSHARED= $(BINLIBDEST)/site-packages - -LIBPL= $(LIBP)/config - -PYTHONLIBS= $(LIBPL)/libpython$(VERSION).a - -MAKESETUP= $(LIBPL)/makesetup -MAKEFILE= $(LIBPL)/Makefile -CONFIGC= $(LIBPL)/config.c -CONFIGCIN= $(LIBPL)/config.c.in -SETUP= $(LIBPL)/Setup.config $(LIBPL)/Setup.local $(LIBPL)/Setup - -SYSLIBS= $(LIBM) $(LIBC) - -ADDOBJS= $(LIBPL)/python.o config.o - -# Portable install script (configure doesn't always guess right) -INSTALL= $(LIBPL)/install-sh -c -# Shared libraries must be installed with executable mode on some systems; -# rather than figuring out exactly which, we always give them executable mode. -# Also, making them read-only seems to be a good idea... -INSTALL_SHARED= ${INSTALL} -m 555 - -# === Fixed rules === - -# Default target. This builds shared libraries only -default: sharedmods - -# Build everything -all: static sharedmods - -# Build shared libraries from our extension modules -sharedmods: $(SHAREDMODS) - -# Build a static Python binary containing our extension modules -static: $(TARGET) -$(TARGET): $(ADDOBJS) lib.a $(PYTHONLIBS) Makefile $(BASELIB) - $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) \ - $(ADDOBJS) lib.a $(PYTHONLIBS) \ - $(LINKPATH) $(BASELIB) $(MODLIBS) $(LIBS) $(SYSLIBS) \ - -o $(TARGET) $(LDLAST) - -install: sharedmods - if test ! -d $(DESTSHARED) ; then \ - mkdir $(DESTSHARED) ; else true ; fi - -for i in X $(SHAREDMODS); do \ - if test $$i != X; \ - then $(INSTALL_SHARED) $$i $(DESTSHARED)/$$i; \ - fi; \ - done - -# Build the library containing our extension modules -lib.a: $(MODOBJS) - -rm -f lib.a - ar cr lib.a $(MODOBJS) - -$(RANLIB) lib.a - -# This runs makesetup *twice* to use the BASESETUP definition from Setup -config.c Makefile: Makefile.pre Setup $(BASESETUP) $(MAKESETUP) - $(MAKESETUP) \ - -m Makefile.pre -c $(CONFIGCIN) Setup -n $(BASESETUP) $(SETUP) - $(MAKE) -f Makefile do-it-again - -# Internal target to run makesetup for the second time -do-it-again: - $(MAKESETUP) \ - -m Makefile.pre -c $(CONFIGCIN) Setup -n $(BASESETUP) $(SETUP) - -# Make config.o from the config.c created by makesetup -config.o: config.c - $(CC) $(CFLAGS) -c config.c - -# Setup is copied from Setup.in *only* if it doesn't yet exist -Setup: - cp $(srcdir)/Setup.in Setup - -# Make the intermediate Makefile.pre from Makefile.pre.in -Makefile.pre: Makefile.pre.in sedscript - sed -f sedscript $(srcdir)/Makefile.pre.in >Makefile.pre - -# Shortcuts to make the sed arguments on one line -P=prefix -E=exec_prefix -H=Generated automatically from Makefile.pre.in by sedscript. -L=LINKFORSHARED - -# Make the sed script used to create Makefile.pre from Makefile.pre.in -sedscript: $(MAKEFILE) - sed -n \ - -e '1s/.*/1i\\/p' \ - -e '2s%.*%# $H%p' \ - -e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \ - -e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \ - -e '/^CXX=/s/^CXX=[ ]*\(.*\)/s%@CXX[@]%\1%/p' \ - -e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \ - -e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \ - -e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \ - -e '/^LDLAST=/s/^LDLAST=[ ]*\(.*\)/s%@LDLAST[@]%\1%/p' \ - -e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \ - -e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \ - -e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \ - -e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \ - -e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \ - -e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \ - -e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \ - -e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \ - -e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \ - -e '/^SGI_ABI=/s/^SGI_ABI=[ ]*\(.*\)/s%@SGI_ABI[@]%\1%/p' \ - -e '/^$L=/s/^$L=[ ]*\(.*\)/s%@$L[@]%\1%/p' \ - -e '/^$P=/s/^$P=\(.*\)/s%^$P=.*%$P=\1%/p' \ - -e '/^$E=/s/^$E=\(.*\)/s%^$E=.*%$E=\1%/p' \ - $(MAKEFILE) >sedscript - echo "/^installdir=/s%=.*%= $(installdir)%" >>sedscript - echo "/^exec_installdir=/s%=.*%=$(exec_installdir)%" >>sedscript - echo "/^srcdir=/s%=.*%= $(srcdir)%" >>sedscript - echo "/^VPATH=/s%=.*%= $(VPATH)%" >>sedscript - echo "/^LINKPATH=/s%=.*%= $(LINKPATH)%" >>sedscript - echo "/^BASELIB=/s%=.*%= $(BASELIB)%" >>sedscript - echo "/^BASESETUP=/s%=.*%= $(BASESETUP)%" >>sedscript - -# Bootstrap target -boot: clobber - VERSION=`$(PYTHON) -c "import sys; print sys.version[:3]"`; \ - installdir=`$(PYTHON) -c "import sys; print sys.prefix"`; \ - exec_installdir=`$(PYTHON) -c "import sys; print sys.exec_prefix"`; \ - $(MAKE) -f $(srcdir)/Makefile.pre.in VPATH=$(VPATH) srcdir=$(srcdir) \ - VERSION=$$VERSION \ - installdir=$$installdir \ - exec_installdir=$$exec_installdir \ - Makefile - -# Handy target to remove intermediate files and backups -clean: - -rm -f *.o *~ - -# Handy target to remove everything that is easily regenerated -clobber: clean - -rm -f *.a tags TAGS config.c Makefile.pre $(TARGET) sedscript - -rm -f *.so *.sl so_locations - - -# Handy target to remove everything you don't want to distribute -distclean: clobber - -rm -f Makefile Setup diff --git a/databases/py-MySQL/files/Setup b/databases/py-MySQL/files/Setup deleted file mode 100644 index bc8973ba58f9..000000000000 --- a/databases/py-MySQL/files/Setup +++ /dev/null @@ -1,2 +0,0 @@ -*shared* -MySQL MySQLmodule.c -I${LOCALBASE}/include/mysql -L${LOCALBASE}/lib/mysql -lmysqlclient diff --git a/databases/py-MySQL/files/patch-aa b/databases/py-MySQL/files/patch-aa deleted file mode 100644 index df4306bda77f..000000000000 --- a/databases/py-MySQL/files/patch-aa +++ /dev/null @@ -1,38 +0,0 @@ ---- MySQLmodule.c.orig Sat Oct 3 05:14:18 1998 -+++ MySQLmodule.c Fri Jan 14 08:40:00 2000 -@@ -232,7 +232,7 @@ - PyObject *rowlist, *fieldobj; - MYSQL_FIELD *tf; - int i, n; -- unsigned int *lengths; -+ unsigned long *lengths; - - n = mysql_num_fields(res); - lengths = mysql_fetch_lengths(res); -@@ -381,7 +381,7 @@ - if (reslist == NULL) return NULL; - n = mysql_num_fields(res); - for (i = 0; i < n; i++) { -- tf = &(mysql_fetch_field_direct(res, i)); -+ tf = mysql_fetch_field_direct(res, i); - if (tf == NULL) { - if (res->handle && mysql_error(res->handle)[0] != 0) { - PyErr_SetString(MySQLError,mysql_error(res->handle)); -@@ -1122,7 +1122,7 @@ - if (rows > 0) { - cols = mysql_num_fields(self->res); - for (j=0; j<cols; j++) { -- tf = &(mysql_fetch_field_direct(self->res,j)); -+ tf = mysql_fetch_field_direct(self->res,j); - if (tf == NULL) { - if (self->res->handle && mysql_error(self->res->handle)[0] != 0) { - PyErr_SetString(MySQLError,mysql_error(self->res->handle)); -@@ -1144,7 +1144,7 @@ - rowlist = PyList_GetItem(datalist,i); - if (rowlist == NULL) goto error; - for (j=0; j<cols; j++) { -- tf = &(mysql_fetch_field_direct(self->res,j)); -+ tf = mysql_fetch_field_direct(self->res,j); - if (tf == NULL) { - if (self->res->handle && mysql_error(self->res->handle)[0] != 0) { - PyErr_SetString(MySQLError,mysql_error(self->res->handle)); diff --git a/databases/py-MySQL/pkg-descr b/databases/py-MySQL/pkg-descr deleted file mode 100644 index 834d53ed62c1..000000000000 --- a/databases/py-MySQL/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -You can easily access a MySQL database through the Python MySQL module. - -Before using the Python MySQL functions, the module must be imported with -"import MySQL". diff --git a/databases/py-MySQL/pkg-message b/databases/py-MySQL/pkg-message deleted file mode 100644 index 75c8df37e074..000000000000 --- a/databases/py-MySQL/pkg-message +++ /dev/null @@ -1,10 +0,0 @@ -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -WARNING: This port is a very old Python MySQL interface which doesn't actively - maintained by its authors anymore. Some efforts were required to make - it working with newest versions of MySQL, and it is highly likely - that further MySQL development would make hard or even impossible to - get this module working in the future. - - The better port named py-MySQLdb available, which should be used in - all cases where compatability and future maintainability is desirable. -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |