update py-sqlparse to 0.4.1, dropping py2 support.
disable py2 for py-sqlalchemy-migrate. updated from a diff from wen heping.
This commit is contained in:
parent
0cc65318c3
commit
9c21fd051e
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.406 2020/08/19 02:21:51 afresh1 Exp $
|
||||
# $OpenBSD: Makefile,v 1.407 2020/11/13 22:41:14 sthen Exp $
|
||||
|
||||
SUBDIR =
|
||||
SUBDIR += architect
|
||||
@ -189,13 +189,11 @@
|
||||
SUBDIR += py-sql,python3
|
||||
SUBDIR += py-sqlalchemy
|
||||
SUBDIR += py-sqlalchemy,python3
|
||||
SUBDIR += py-sqlalchemy-migrate
|
||||
SUBDIR += py-sqlalchemy-migrate,python3
|
||||
SUBDIR += py-sqlite
|
||||
SUBDIR += py-sqlite2
|
||||
SUBDIR += py-sqlobject
|
||||
SUBDIR += py-sqlobject,python3
|
||||
SUBDIR += py-sqlparse
|
||||
SUBDIR += py-sqlparse,python3
|
||||
SUBDIR += py-storm
|
||||
SUBDIR += py-sybase
|
||||
|
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2020/07/03 21:12:37 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2020/11/13 22:41:14 sthen Exp $
|
||||
|
||||
COMMENT = schema migration tools for SQLAlchemy
|
||||
|
||||
MODPY_EGG_VERSION = 0.13.0
|
||||
DISTNAME = sqlalchemy-migrate-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 0
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = databases
|
||||
|
||||
@ -26,15 +26,9 @@ RUN_DEPENDS = databases/py-sqlalchemy${MODPY_FLAVOR} \
|
||||
www/py-tempita${MODPY_FLAVOR}
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
FLAVOR = python3
|
||||
|
||||
# test needs unported tempest, py-cfgparse & py-scripttest
|
||||
NO_TEST = Yes
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/bin/migrate \
|
||||
${PREFIX}/bin/migrate${MODPY_BIN_SUFFIX}
|
||||
mv ${PREFIX}/bin/migrate-repository \
|
||||
${PREFIX}/bin/migrate-repository${MODPY_BIN_SUFFIX}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2019/12/30 13:02:48 sthen Exp $
|
||||
bin/migrate${MODPY_BIN_SUFFIX}
|
||||
bin/migrate-repository${MODPY_BIN_SUFFIX}
|
||||
@comment $OpenBSD: PLIST,v 1.7 2020/11/13 22:41:14 sthen Exp $
|
||||
@conflict py-sqlalchemy-migrate-*
|
||||
@pkgpath databases/py-sqlalchemy-migrate
|
||||
bin/migrate
|
||||
bin/migrate-repository
|
||||
lib/python${MODPY_VERSION}/site-packages/migrate/
|
||||
lib/python${MODPY_VERSION}/site-packages/migrate/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/migrate/${MODPY_PYCACHE}/
|
||||
|
@ -1,11 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2020/07/03 21:12:37 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2020/11/13 22:41:14 sthen Exp $
|
||||
|
||||
COMMENT = non-validating SQL parser
|
||||
|
||||
MODPY_EGG_VERSION = 0.2.4
|
||||
MODPY_EGG_VERSION = 0.4.1
|
||||
DISTNAME = sqlparse-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = databases
|
||||
|
||||
@ -18,10 +17,7 @@ MODPY_SETUPTOOLS = Yes
|
||||
MODPY_PYTEST = Yes
|
||||
MODPY_PYTEST_ARGS = tests/
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR ?=
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/bin/sqlformat ${PREFIX}/bin/sqlformat${MODPY_BIN_SUFFIX}
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (sqlparse-0.2.4.tar.gz) = zgKERM+rg75Th1Ki/9tWvEF7d4T/NbuaMGJBNxeAfew=
|
||||
SIZE (sqlparse-0.2.4.tar.gz) = 61614
|
||||
SHA256 (sqlparse-0.4.1.tar.gz) = D5H9LoKcRDYsvPqz6a4S4iutqooprV/1mfnsEJ8EVOg=
|
||||
SIZE (sqlparse-0.4.1.tar.gz) = 67228
|
||||
|
@ -1,5 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2017/04/07 21:55:11 sthen Exp $
|
||||
bin/sqlformat${MODPY_BIN_SUFFIX}
|
||||
@comment $OpenBSD: PLIST,v 1.5 2020/11/13 22:41:14 sthen Exp $
|
||||
@conflict py-sqlparse-*
|
||||
@pkgpath databases/py-sqlparse
|
||||
bin/sqlformat
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
@ -13,7 +15,6 @@ ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACH
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}exceptions.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}formatter.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}keywords.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
@ -22,7 +23,6 @@ lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}sql.${MODPY_PY
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}tokens.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/cli.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/compat.py
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/engine/
|
||||
lib/python${MODPY_VERSION}/site-packages/sqlparse/engine/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/sqlparse/engine/${MODPY_PYCACHE}/
|
||||
|
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.1091 2020/11/09 21:42:51 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.1092 2020/11/13 22:41:14 sthen Exp $
|
||||
|
||||
COMMENT = exceptions to pkg_add rules
|
||||
CATEGORIES = devel databases
|
||||
DISTFILES =
|
||||
|
||||
# API.rev
|
||||
PKGNAME = quirks-3.483
|
||||
PKGNAME = quirks-3.484
|
||||
PKG_ARCH = *
|
||||
MAINTAINER = Marc Espie <espie@openbsd.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#! /usr/bin/perl
|
||||
|
||||
# ex:ts=8 sw=4:
|
||||
# $OpenBSD: Quirks.pm,v 1.1109 2020/11/09 21:42:51 jca Exp $
|
||||
# $OpenBSD: Quirks.pm,v 1.1110 2020/11/13 22:41:14 sthen Exp $
|
||||
#
|
||||
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
@ -506,6 +506,8 @@ my $stem_extensions = {
|
||||
'py-textfsm' => 'py3-textfsm',
|
||||
'py-unicodecsv' => 'py3-unicodecsv',
|
||||
'py-enchant' => 'py3-enchant',
|
||||
'py-sqlparse' => 'py3-sqlparse',
|
||||
'py-sqlalchemy-migrate' => 'py3-sqlalchemy-migrate',
|
||||
};
|
||||
|
||||
my $obsolete_reason = {
|
||||
|
Loading…
Reference in New Issue
Block a user