ports/78508: REPOCOPY: databases/py-PySQLite -> databases/py-PySQLite{10,11}
Marcus Grando
marcus at corp.grupos.com.br
Sun Mar 6 19:00:13 UTC 2005
>Number: 78508
>Category: ports
>Synopsis: REPOCOPY: databases/py-PySQLite -> databases/py-PySQLite{10,11}
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 06 19:00:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Marcus Grando
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #42: Sun Feb 27 20:04:47 BRT 2005 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
REPOCOPY: databases/py-PySQLite -> databases/py-PySQLite{10,11}
* Repocopy py-PySQLite to py-PySQLite11 to add support for SQLite 3
* Move py-PySQLite to py-PySQLite10 and update to 1.0.1
* Take MAINTAINER
* Remove obsolete dependencies
After repocopy please apply below patches.
NOTES:
* Add information that py-PySQLite is now py-PySQLite10 in ports/MOVED
* After all remove databases/py-PySQLite
>How-To-Repeat:
>Fix:
--- py-PySQLite10.patch begins here ---
diff -ruN py-PySQLite10.old/Makefile py-PySQLite10/Makefile
--- py-PySQLite10.old/Makefile Sun Mar 6 01:02:54 2005
+++ py-PySQLite10/Makefile Sun Mar 6 15:45:36 2005
@@ -5,40 +5,36 @@
# $FreeBSD: ports/databases/py-PySQLite/Makefile,v 1.8 2005/03/05 22:09:34 vs Exp $
#
-PORTNAME= PySQLite
-PORTVERSION= 1.0
-PORTREVISION= 1
-CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PORTNAME= PySQLite
+PORTVERSION= 1.0.1
+CATEGORIES= databases python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pysqlite
-PKGNAMEPREFIX= py-
-DISTNAME= pysqlite-${PORTVERSION}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pysqlite-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A DB-API v2 Python library for the SQLite embedded SQL engine
+MAINTAINER= marcus at corp.grupos.com.br
+COMMENT= A DB-API v2 Python library for the SQLite 2 embedded SQL engine
-RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
-LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite2
+LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite2
-WRKSRC= ${WRKDIR}/pysqlite
-EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-
-PORTDOCS= README
-
-DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
+CONFLICTS= py*-PySQLite-1.1*
-DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+WRKSRC= ${WRKDIR}/pysqlite
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/rest/manual.txt ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
- ${CP} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff -ruN py-PySQLite10.old/distinfo py-PySQLite10/distinfo
--- py-PySQLite10.old/distinfo Sun Oct 17 03:24:11 2004
+++ py-PySQLite10/distinfo Sun Mar 6 15:37:54 2005
@@ -1,2 +1,2 @@
-MD5 (pysqlite-1.0.tar.gz) = f21b19ff048f6bafbbfc3edb86b4c4e4
-SIZE (pysqlite-1.0.tar.gz) = 40547
+MD5 (pysqlite-1.0.1.tar.gz) = 4797b5ea7a3d96b87333e6b5af7b9979
+SIZE (pysqlite-1.0.1.tar.gz) = 41099
diff -ruN py-PySQLite10.old/pkg-descr py-PySQLite10/pkg-descr
--- py-PySQLite10.old/pkg-descr Wed Jun 11 13:28:12 2003
+++ py-PySQLite10/pkg-descr Sun Mar 6 15:36:38 2005
@@ -1,10 +1,9 @@
-The goal of the PySQLite project is to develop a Python extension for SQLite
+The goal of the PySQLite project is to develop a Python extension for SQLite 2
that conforms to the Python Database API Specification 2.0. SQLite is a
powerful embedded relational database management system in a compact C library.
It offers support for a large subset of SQL92, multiple tables, indices,
transactions and triggers.
-WWW: http://pysqlite.sourceforge.net/
-developed by Gerhard Haering and Michael Owens
+WWW: http://sourceforge.net/projects/pysqlite
-- Gerhard Haering <gh at ghaering.de>
+Marcus Grando <marcus at corp.grupos.com.br>
--- py-PySQLite10.patch ends here ---
--- py-PySQLite11.patch begins here ---
diff -ruN py-PySQLite11.old/Makefile py-PySQLite11/Makefile
--- py-PySQLite11.old/Makefile Sun Mar 6 01:02:54 2005
+++ py-PySQLite11/Makefile Sun Mar 6 15:28:46 2005
@@ -5,40 +5,36 @@
# $FreeBSD: ports/databases/py-PySQLite/Makefile,v 1.8 2005/03/05 22:09:34 vs Exp $
#
-PORTNAME= PySQLite
-PORTVERSION= 1.0
-PORTREVISION= 1
-CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PORTNAME= PySQLite
+PORTVERSION= 1.1.6
+CATEGORIES= databases python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pysqlite
-PKGNAMEPREFIX= py-
-DISTNAME= pysqlite-${PORTVERSION}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pysqlite-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A DB-API v2 Python library for the SQLite embedded SQL engine
+MAINTAINER= marcus at corp.grupos.com.br
+COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
-RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
-LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite2
+LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-WRKSRC= ${WRKDIR}/pysqlite
-EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-
-PORTDOCS= README
-
-DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
+CONFLICTS= py*-PySQLite-1.0*
-DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+WRKSRC= ${WRKDIR}/pysqlite
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/rest/manual.txt ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
- ${CP} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff -ruN py-PySQLite11.old/distinfo py-PySQLite11/distinfo
--- py-PySQLite11.old/distinfo Sun Oct 17 03:24:11 2004
+++ py-PySQLite11/distinfo Sun Mar 6 15:09:00 2005
@@ -1,2 +1,2 @@
-MD5 (pysqlite-1.0.tar.gz) = f21b19ff048f6bafbbfc3edb86b4c4e4
-SIZE (pysqlite-1.0.tar.gz) = 40547
+MD5 (pysqlite-1.1.6.tar.gz) = cc936312beff1bd7ab6e4f46d745237c
+SIZE (pysqlite-1.1.6.tar.gz) = 42479
diff -ruN py-PySQLite11.old/pkg-descr py-PySQLite11/pkg-descr
--- py-PySQLite11.old/pkg-descr Wed Jun 11 13:28:12 2003
+++ py-PySQLite11/pkg-descr Sun Mar 6 15:30:15 2005
@@ -1,10 +1,9 @@
-The goal of the PySQLite project is to develop a Python extension for SQLite
+The goal of the PySQLite project is to develop a Python extension for SQLite 3
that conforms to the Python Database API Specification 2.0. SQLite is a
powerful embedded relational database management system in a compact C library.
It offers support for a large subset of SQL92, multiple tables, indices,
transactions and triggers.
-WWW: http://pysqlite.sourceforge.net/
-developed by Gerhard Haering and Michael Owens
+WWW: http://sourceforge.net/projects/pysqlite
-- Gerhard Haering <gh at ghaering.de>
+Marcus Grando <marcus at corp.grupos.com.br>
--- py-PySQLite11.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list