pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-django14 py-django14: finish mysql option removal
details: https://anonhg.NetBSD.org/pkgsrc/rev/d221f5b499d3
branches: trunk
changeset: 384196:d221f5b499d3
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Aug 29 10:33:05 2022 +0000
description:
py-django14: finish mysql option removal
diffstat:
www/py-django14/Makefile | 5 +----
www/py-django14/PLIST | 23 +----------------------
www/py-django14/options.mk | 10 ++--------
3 files changed, 4 insertions(+), 34 deletions(-)
diffs (89 lines):
diff -r 3bc61c36c471 -r d221f5b499d3 www/py-django14/Makefile
--- a/www/py-django14/Makefile Mon Aug 29 09:50:07 2022 +0000
+++ b/www/py-django14/Makefile Mon Aug 29 10:33:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2022/01/10 09:03:53 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2022/08/29 10:33:05 wiz Exp $
DISTNAME= Django-1.4.22
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -25,9 +25,7 @@
.include "options.mk"
pre-configure:
-.if empty(PKG_OPTIONS:Mmysql)
rm -r ${WRKSRC}/django/db/backends/mysql
-.endif
.if empty(PKG_OPTIONS:Moracle)
rm -r ${WRKSRC}/django/db/backends/oracle
.endif
@@ -41,7 +39,6 @@
BACKEND_PATH= ${PYSITELIB}/django/db/backends
BACKEND_PATH_PLIST= $${PYSITELIB}/django/db/backends
-PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/mysql/", "$${PLIST.mysql}${BACKEND_PATH_PLIST}/mysql/") }
PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/oracle/", "$${PLIST.oracle}${BACKEND_PATH_PLIST}/oracle/") }
PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/postgresql_psycopg2/", "$${PLIST.pgsql}${BACKEND_PATH_PLIST}/postgresql_psycopg2/") }
PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/sqlite3/", "$${PLIST.sqlite}${BACKEND_PATH_PLIST}/sqlite3/") }
diff -r 3bc61c36c471 -r d221f5b499d3 www/py-django14/PLIST
--- a/www/py-django14/PLIST Mon Aug 29 09:50:07 2022 +0000
+++ b/www/py-django14/PLIST Mon Aug 29 10:33:05 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2022/01/14 17:52:06 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/08/29 10:33:05 wiz Exp $
bin/django-admin.py
${PYSITELIB}/${EGG_INFODIR}
${PYSITELIB}/django/__init__.py
@@ -4849,27 +4849,6 @@
${PYSITELIB}/django/db/backends/dummy/base.py
${PYSITELIB}/django/db/backends/dummy/base.pyc
${PYSITELIB}/django/db/backends/dummy/base.pyo
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/__init__.py
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/__init__.pyc
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/__init__.pyo
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/base.py
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/base.pyc
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/base.pyo
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/client.py
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/client.pyc
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/client.pyo
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/compiler.py
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/compiler.pyc
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/compiler.pyo
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/creation.py
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/creation.pyc
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/creation.pyo
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/introspection.py
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/introspection.pyc
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/introspection.pyo
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/validation.py
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/validation.pyc
-${PLIST.mysql}${PYSITELIB}/django/db/backends/mysql/validation.pyo
${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/__init__.py
${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/__init__.pyc
${PLIST.oracle}${PYSITELIB}/django/db/backends/oracle/__init__.pyo
diff -r 3bc61c36c471 -r d221f5b499d3 www/py-django14/options.mk
--- a/www/py-django14/options.mk Mon Aug 29 09:50:07 2022 +0000
+++ b/www/py-django14/options.mk Mon Aug 29 10:33:05 2022 +0000
@@ -1,19 +1,13 @@
-# $NetBSD: options.mk,v 1.12 2022/08/26 18:39:43 wiz Exp $
+# $NetBSD: options.mk,v 1.13 2022/08/29 10:33:05 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.django
-PKG_SUPPORTED_OPTIONS= oracle pgsql sqlite # mysql
+PKG_SUPPORTED_OPTIONS= oracle pgsql sqlite
PKG_SUGGESTED_OPTIONS= pgsql
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
-#.if !empty(PKG_OPTIONS:Mmysql)
-#DEPENDS+= ${PYPKGPREFIX}-mysqldb-[0-9]*:../../databases/py-mysqldb
-#PYTHON_VERSIONS_ACCEPTED= 27 # py-mysqldb
-#PLIST.mysql= yes
-#.endif
-
.if !empty(PKG_OPTIONS:Moracle)
DEPENDS+= ${PYPKGPREFIX}-cx_Oracle-[0-9]*:../../databases/py-cx_Oracle
PLIST.oracle= yes
Home |
Main Index |
Thread Index |
Old Index