pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-mysqldb



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Dec 17 07:46:36 UTC 2021

Modified Files:
        pkgsrc/databases/py-mysqldb: Makefile PLIST

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/databases/py-mysqldb/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/databases/py-mysqldb/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-mysqldb/Makefile
diff -u pkgsrc/databases/py-mysqldb/Makefile:1.52 pkgsrc/databases/py-mysqldb/Makefile:1.53
--- pkgsrc/databases/py-mysqldb/Makefile:1.52   Wed Oct  6 18:00:12 2021
+++ pkgsrc/databases/py-mysqldb/Makefile        Fri Dec 17 07:46:35 2021
@@ -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 @@ USE_LANGUAGES=               c
 
 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"

Index: pkgsrc/databases/py-mysqldb/PLIST
diff -u pkgsrc/databases/py-mysqldb/PLIST:1.8 pkgsrc/databases/py-mysqldb/PLIST:1.9
--- pkgsrc/databases/py-mysqldb/PLIST:1.8       Wed Oct  6 18:00:12 2021
+++ pkgsrc/databases/py-mysqldb/PLIST   Fri Dec 17 07:46:35 2021
@@ -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.so
 ${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