diff options
author | wiz <wiz@pkgsrc.org> | 2021-12-17 07:46:35 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2021-12-17 07:46:35 +0000 |
commit | c887edaccc52612564f36a19e2e3f43110b995b9 (patch) | |
tree | a2e7c22af315e88b645160d03091d6afdb28cb99 /databases/py-mysqldb/Makefile | |
parent | 7ae4dbe79aebcba5367efe21a343aca2fbae48eb (diff) | |
download | pkgsrc-c887edaccc52612564f36a19e2e3f43110b995b9.tar.gz |
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 (limited to 'databases/py-mysqldb/Makefile')
-rw-r--r-- | databases/py-mysqldb/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/databases/py-mysqldb/Makefile b/databases/py-mysqldb/Makefile index f8ce489e6e0..3903028fb79 100644 --- a/databases/py-mysqldb/Makefile +++ b/databases/py-mysqldb/Makefile @@ -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" |