pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-mysqldb py-mysqldb: remove post-install r...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3273ffcc63a8
branches:  trunk
changeset: 771316:3273ffcc63a8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Dec 17 07:46:35 2021 +0000

description:
py-mysqldb: remove post-install rule that deletes two compiled objects

Breaks build with python 2.7 because the paths are different there.
Still packages with python 3.6, 3.9, 3.10 on NetBSD.

Bump PKGREVISION for PLIST change.

diffstat:

 databases/py-mysqldb/Makefile |   8 ++------
 databases/py-mysqldb/PLIST    |  12 +++++++-----
 2 files changed, 9 insertions(+), 11 deletions(-)

diffs (52 lines):

diff -r ef0fff212aaf -r 3273ffcc63a8 databases/py-mysqldb/Makefile
--- a/databases/py-mysqldb/Makefile     Fri Dec 17 06:58:16 2021 +0000
+++ b/databases/py-mysqldb/Makefile     Fri Dec 17 07:46:35 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.52 2021/10/06 18:00:12 tron Exp $
+# $NetBSD: Makefile,v 1.53 2021/12/17 07:46:35 wiz Exp $
 
 DISTNAME=      mysqlclient-1.3.10
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/mysqlclient/mysqldb/}
+PKGREVISION=   1
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/mysqlclient/}
 
@@ -14,11 +15,6 @@
 
 PYPKGVER=      ${PYPKGPREFIX:S/py//}
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/${PYSITELIB}/MySQLdb/__pycache__ && \
-       ${RM} -f compat.cpython-${PYPKGVER}.opt-1.pyc \
-           compat.cpython-${PYPKGVER}.pyc
-
 .include "../../lang/python/egg.mk"
 .include "../../mk/mysql.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ef0fff212aaf -r 3273ffcc63a8 databases/py-mysqldb/PLIST
--- a/databases/py-mysqldb/PLIST        Fri Dec 17 06:58:16 2021 +0000
+++ b/databases/py-mysqldb/PLIST        Fri Dec 17 07:46:35 2021 +0000
@@ -1,12 +1,10 @@
-@comment $NetBSD: PLIST,v 1.8 2021/10/06 18:00:12 tron Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.9 2021/12/17 07:46:35 wiz Exp $
 ${PYSITELIB}/MySQLdb/__init__.py
 ${PYSITELIB}/MySQLdb/__init__.pyc
 ${PYSITELIB}/MySQLdb/__init__.pyo
 ${PYSITELIB}/MySQLdb/compat.py
+${PYSITELIB}/MySQLdb/compat.pyc
+${PYSITELIB}/MySQLdb/compat.pyo
 ${PYSITELIB}/MySQLdb/connections.py
 ${PYSITELIB}/MySQLdb/connections.pyc
 ${PYSITELIB}/MySQLdb/connections.pyo
@@ -47,3 +45,7 @@
 ${PYSITELIB}/_mysql_exceptions.py
 ${PYSITELIB}/_mysql_exceptions.pyc
 ${PYSITELIB}/_mysql_exceptions.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt



Home | Main Index | Thread Index | Old Index