Remove python2 FLAVOR, migrate to python3 by default

+add quirk
This commit is contained in:
bket 2020-03-07 06:50:42 +00:00
parent 467753c915
commit 82a97195da
5 changed files with 13 additions and 14 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.874 2020/03/06 18:00:10 bket Exp $
# $OpenBSD: Makefile,v 1.875 2020/03/07 06:50:42 bket Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-3.265
PKGNAME = quirks-3.266
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.892 2020/03/06 18:00:10 bket Exp $
# $OpenBSD: Quirks.pm,v 1.893 2020/03/07 06:50:42 bket Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -381,6 +381,7 @@ my $stem_extensions = {
'py-spyder-kernels' => 'py3-spyder-kernels',
'spyder' => 'spyder3',
'py-qtconsole' => 'py3-qtconsole',
'py-sympy' => 'py3-sympy',
};
my $obsolete_reason = {

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.177 2020/03/04 07:55:27 martin Exp $
# $OpenBSD: Makefile,v 1.178 2020/03/07 06:50:42 bket Exp $
SUBDIR =
SUBDIR += R
@ -141,7 +141,6 @@
SUBDIR += py-snuggs
SUBDIR += py-snuggs,python3
SUBDIR += py-statistics
SUBDIR += py-sympy
SUBDIR += py-sympy,python3
SUBDIR += py-tables
SUBDIR += qhull

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2020/02/15 22:01:55 daniel Exp $
# $OpenBSD: Makefile,v 1.17 2020/03/07 06:50:43 bket Exp $
COMMENT = computer algebra system (CAS) in Python
MODPY_EGG_VERSION = 1.5.1
REVISION = 0
DISTNAME = sympy-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
@ -27,14 +28,10 @@ TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
FLAVOR = python3
TEST_IS_INTERACTIVE = X11
PORTHOME = ${WRKSRC}
post-install:
mv ${PREFIX}/bin/isympy{,${MODPY_BIN_SUFFIX}}
mv ${PREFIX}/man/man1/isympy{,${MODPY_BIN_SUFFIX}}.1
.include <bsd.port.mk>

View File

@ -1,5 +1,7 @@
@comment $OpenBSD: PLIST,v 1.9 2020/02/15 22:01:56 daniel Exp $
bin/isympy${MODPY_BIN_SUFFIX}
@comment $OpenBSD: PLIST,v 1.10 2020/03/07 06:50:43 bket Exp $
@conflict py-sympy-*
@pkgpath math/py-sympy
bin/isympy
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}isympy.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/isympy.py
lib/python${MODPY_VERSION}/site-packages/sympy/
@ -2916,5 +2918,5 @@ lib/python${MODPY_VERSION}/site-packages/sympy/vector/tests/test_operators.py
lib/python${MODPY_VERSION}/site-packages/sympy/vector/tests/test_printing.py
lib/python${MODPY_VERSION}/site-packages/sympy/vector/tests/test_vector.py
lib/python${MODPY_VERSION}/site-packages/sympy/vector/vector.py
@man man/man1/isympy${MODPY_BIN_SUFFIX}.1
@man man/man1/isympy.1
share/doc/pkg-readmes/${PKGSTEM}