ports/161535: [PATCH] databases/py-sqlite3: remove stale pkg_message
Ruslan Mahmatkhanov
cvs-src at yandex.ru
Thu Oct 13 04:40:08 UTC 2011
>Number: 161535
>Category: ports
>Synopsis: [PATCH] databases/py-sqlite3: remove stale pkg_message
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 13 04:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Ruslan Mahmatkhanov
>Release: 10.0-CURRENT
>Organization:
>Environment:
10.0-CURRENT i386
>Description:
Since old py-pysqlite ports were deprecated (see ports/161038) now we can remove this pkg-message. While here also add couple of cosmetic fixes.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/Makefile b/Makefile
index 8c14e60..61d8f85 100644
--- a/Makefile
+++ b/Makefile
@@ -19,10 +19,10 @@ COMMENT= Standard Python binding to the SQLite3 library
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-PLIST_FILES= lib/%%PYTHON_VERSION%%/site-packages/_sqlite3.so
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/_sqlite3.so
DIST_SUBDIR= python
USE_PYTHON= 2.5+
-USE_PYDISTUTILS=yes
+USE_PYDISTUTILS= yes
WRKSRC= ${PYTHON_WRKSRC}/Modules
DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo
@@ -30,9 +30,6 @@ PYDISTUTILS_NOEGGINFO= yes
.include <bsd.port.pre.mk>
-pre-extract:
- @${CAT} ${PKGMESSAGE}
-
post-extract:
.if ${PYTHON_REL} < 300
@${CP} ${FILESDIR}/setup.py ${WRKSRC}
diff --git a/pkg-message b/pkg-message
deleted file mode 100644
index fa94cde..0000000
--- a/pkg-message
+++ /dev/null
@@ -1,7 +0,0 @@
-====
-**CAUTION**
-This port installs the sqlite3 module which is distributed as a
-part of standard library collection of Python 2.5 and laters. If
-you're using Python 2.4 or former, you must install databases/py-pysqlite22
-instead.
-====
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list