ports/96635: [patch/repocopy] databases/py-pysqlite21 to databases/py-pysqlite22
Edwin Groothuis
edwin at mavetju.org
Mon May 1 22:50:22 UTC 2006
>Number: 96635
>Category: ports
>Synopsis: [patch/repocopy] databases/py-pysqlite21 to databases/py-pysqlite22
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon May 01 22:50:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Edwin Groothuis
>Release: FreeBSD 6.0-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386
>Description:
One of my ports, net/penguintv-devel, is having a hard time living
with py-pysqlite21. Running it with the 2.2 version of py-pysqlite
works much better. Therefor this repocopy/update request.
>How-To-Repeat:
>Fix:
repocopy databases/ppy-pysqlite21 to databases/py-pysqlite22, then
remove the files directory and use the files in this shar.
# 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-pysqlite22/
# py-pysqlite22/files
# py-pysqlite22/pkg-plist
# py-pysqlite22/pkg-descr
# py-pysqlite22/distinfo
# py-pysqlite22/Makefile
#
echo c - py-pysqlite22/
mkdir -p py-pysqlite22/ > /dev/null 2>&1
echo c - py-pysqlite22/files
mkdir -p py-pysqlite22/files > /dev/null 2>&1
echo x - py-pysqlite22/pkg-plist
sed 's/^X//' >py-pysqlite22/pkg-plist << 'END-of-py-pysqlite22/pkg-plist'
X%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.py
X%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyc
X%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyo
X%%PYTHON_SITELIBDIR%%/pysqlite2/_sqlite.so
X%%PYTHON_SITELIBDIR%%/pysqlite2/dbapi2.py
X%%PYTHON_SITELIBDIR%%/pysqlite2/dbapi2.pyc
X%%PYTHON_SITELIBDIR%%/pysqlite2/dbapi2.pyo
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/__init__.py
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/__init__.pyc
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/__init__.pyo
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/dbapi.py
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/dbapi.pyc
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/dbapi.pyo
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/factory.py
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/factory.pyc
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/factory.pyo
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/transactions.py
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/transactions.pyc
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/transactions.pyo
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/types.py
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/types.pyc
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/types.pyo
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/userfunctions.py
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/userfunctions.pyc
X%%PYTHON_SITELIBDIR%%/pysqlite2/test/userfunctions.pyo
X at dirrm %%PYTHON_SITELIBDIR%%/pysqlite2/test
X at dirrm %%PYTHON_SITELIBDIR%%/pysqlite2
END-of-py-pysqlite22/pkg-plist
echo x - py-pysqlite22/pkg-descr
sed 's/^X//' >py-pysqlite22/pkg-descr << 'END-of-py-pysqlite22/pkg-descr'
XThe goal of the PySQLite project is to develop a Python extension for SQLite 3
Xthat conforms to the Python Database API Specification 2.0. SQLite is a
Xpowerful embedded relational database management system in a compact C library.
XIt offers support for a large subset of SQL92, multiple tables, indices,
Xtransactions and triggers.
X
XWWW: http://pysqlite.org
X
XMarcus Alves Grando <mnag at FreeBSD.org>
END-of-py-pysqlite22/pkg-descr
echo x - py-pysqlite22/distinfo
sed 's/^X//' >py-pysqlite22/distinfo << 'END-of-py-pysqlite22/distinfo'
XMD5 (pysqlite-2.2.2.tar.gz) = 3260547d3f11c85613b2de8ed529a4fc
XSHA256 (pysqlite-2.2.2.tar.gz) = 76a82a6a45ae9c12c0409427765ae56c06d8dbb03321f21b8c4d7da48c7cd2b3
XSIZE (pysqlite-2.2.2.tar.gz) = 75176
END-of-py-pysqlite22/distinfo
echo x - py-pysqlite22/Makefile
sed 's/^X//' >py-pysqlite22/Makefile << 'END-of-py-pysqlite22/Makefile'
X# New ports collection makefile for: py-PySQLite
X# Date created: 02 Oct 2002
X# Whom: Gerhard Haering <gerhard.haering at gmx.de>
X#
X# $FreeBSD: ports/databases/py-pysqlite21/Makefile,v 1.21 2006/02/12 04:04:47 mnag Exp $
X#
X
XPORTNAME= pysqlite
XPORTVERSION= 2.2.2
XCATEGORIES= databases python
XMASTER_SITES= http://initd.org/pub/software/pysqlite/releases/${PORTVERSION:C/\.[0-9]$//}/${PORTVERSION}/ \
X ${MASTER_SITE_GENTOO}
XMASTER_SITE_SUBDIR= distfiles
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= mnag at FreeBSD.org
XCOMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
X
XLIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
X
XCONFLICTS= py*-pysqlite-2.0*
X
XUSE_PYTHON= 2.3+
XUSE_PYDISTUTILS= yes
XPYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
XDOCSBASE= share/doc/py-${PORTNAME}2
XDOCSDIR= ${PREFIX}/${DOCSBASE}
X
XPORTDOCS= *
X
Xpost-patch:
X @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
X.if !defined(NOPORTDOCS)
X @${REINPLACE_CMD} -E -e "s|pysqlite2-doc|${DOCSBASE}|" \
X -e "s/.*(cmdclass|extras_require) =.*//" \
X ${WRKSRC}/setup.py
X.else
X @${REINPLACE_CMD} -E -e "s/.*(cmdclass|extras_require) =.*//" \
X -e "s|data_files = \[.*|data_files = []|" \
X -e "s|.*glob.glob\(.*\).*||" \
X -e "s|.*pysqlite2-doc/code.*||" \
X ${WRKSRC}/setup.py
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X @${MKDIR} ${DOCSDIR}/code
X @${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-py-pysqlite22/Makefile
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list