Skip to content

Commit

Permalink
*: remove more references to Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Aug 1, 2023
1 parent 7df1725 commit 0688f6d
Show file tree
Hide file tree
Showing 158 changed files with 317 additions and 318 deletions.
4 changes: 2 additions & 2 deletions audio/aeneas/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2023/07/01 08:37:33 wiz Exp $
# $NetBSD: Makefile,v 1.20 2023/08/01 23:20:37 wiz Exp $

DISTNAME= aeneas-1.7.3
PKGREVISION= 15
Expand All @@ -21,7 +21,7 @@ EGG_NAME= ${DISTNAME}.0

USE_PKG_RESOURCES= yes

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../lang/python/egg.mk"
.include "../../audio/espeak/buildlink3.mk"
Expand Down
4 changes: 2 additions & 2 deletions audio/puddletag/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2023/06/23 07:42:59 wiz Exp $
# $NetBSD: Makefile,v 1.4 2023/08/01 23:20:37 wiz Exp $

DISTNAME= puddletag-2.0.1
CATEGORIES= audio python
Expand All @@ -21,7 +21,7 @@ DEPENDS+= ${PYPKGPREFIX}-qt5-[0-9]*:../../x11/py-qt5
USE_LANGUAGES= # none

PYTHON_SELF_CONFLICT= yes
PYTHON_VERSIONS_INCOMPATIBLE= 27 37
PYTHON_VERSIONS_INCOMPATIBLE= 27

INSTALLATION_DIRS= ${PKGMANDIR}/man1

Expand Down
4 changes: 2 additions & 2 deletions audio/py-music21/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2023/06/26 23:33:33 gutteridge Exp $
# $NetBSD: Makefile,v 1.28 2023/08/01 23:20:37 wiz Exp $

VERSION= 9.1.0
DISTNAME= music21-noCorpus-${VERSION}
Expand Down Expand Up @@ -32,7 +32,7 @@ USE_LANGUAGES= # none

# Only the latest two major versions of released Python are supported,
# per policy on feature use.
PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38 39
PYTHON_VERSIONS_INCOMPATIBLE= 27 38 39

# NB lilypond must be installed in order to run the full test suite.
do-test:
Expand Down
4 changes: 2 additions & 2 deletions audio/py-soundfile/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2023/07/01 08:37:33 wiz Exp $
# $NetBSD: Makefile,v 1.9 2023/08/01 23:20:37 wiz Exp $

DISTNAME= soundfile-0.12.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand All @@ -17,7 +17,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test

TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
Expand Down
4 changes: 2 additions & 2 deletions biology/chip-seq/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2023/07/01 08:37:43 wiz Exp $
# $NetBSD: Makefile,v 1.3 2023/08/01 23:20:37 wiz Exp $

DISTNAME= chip-seq-1.1
CATEGORIES= biology meta-pkgs
Expand All @@ -22,7 +22,7 @@ DEPENDS+= webbrowser>=0:../../www/webbrowser

META_PACKAGE= yes

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 2 additions & 2 deletions biology/mopac/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2023/07/01 08:37:33 wiz Exp $
# $NetBSD: Makefile,v 1.12 2023/08/01 23:20:38 wiz Exp $

DISTNAME= mopac-22.0.6
CATEGORIES= biology
Expand All @@ -12,7 +12,7 @@ LICENSE= gnu-gpl-v3

USE_LANGUAGES= c fortran

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../mk/blas.buildlink3.mk"
.include "../../devel/cmake/build.mk"
Expand Down
4 changes: 2 additions & 2 deletions biology/py-biopython/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2023/07/01 08:37:33 wiz Exp $
# $NetBSD: Makefile,v 1.10 2023/08/01 23:20:38 wiz Exp $

DISTNAME= biopython-1.79
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand All @@ -14,7 +14,7 @@ USE_TOOLS+= pax

INSTALLATION_DIRS+= share/doc/biopython-${PYVERSSUFFIX} share/examples/biopython-${PYVERSSUFFIX}

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

post-install:
${INSTALL_DATA} ${WRKSRC}/README.rst ${DESTDIR}${PREFIX}/share/doc/biopython-${PYVERSSUFFIX}
Expand Down
4 changes: 2 additions & 2 deletions biology/py-macs2/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/07/01 08:37:34 wiz Exp $
# $NetBSD: Makefile,v 1.5 2023/08/01 23:20:38 wiz Exp $

DISTNAME= MACS2-${PKGVERSION_NOREV}
PKGNAME= ${PYPKGPREFIX}-macs2-2.2.8
Expand All @@ -14,7 +14,7 @@ LICENSE= modified-bsd

TOOL_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

CYTHONIZE= ${PREFIX}/bin/cythonize-${PYVERSSUFFIX}

Expand Down
4 changes: 2 additions & 2 deletions cad/py-gds/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 2023/07/01 08:37:34 wiz Exp $
# $NetBSD: Makefile,v 1.22 2023/08/01 23:20:38 wiz Exp $

DISTNAME= gdspy-1.6.12
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
Expand All @@ -14,7 +14,7 @@ LICENSE= boost-license
# tests not included in pypi distfile
#TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

USE_LANGUAGES+= c c++

Expand Down
4 changes: 2 additions & 2 deletions cad/py-gdstk/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2023/07/01 08:37:34 wiz Exp $
# $NetBSD: Makefile,v 1.11 2023/08/01 23:20:38 wiz Exp $

VERSION= 0.9.42
GITHUB_TAG= v${VERSION}
Expand All @@ -17,7 +17,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
USE_LANGUAGES+= c c++
USE_TOOLS+= cmake

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../devel/zlib/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
Expand Down
4 changes: 2 additions & 2 deletions chat/py-mastodon/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2023/07/01 08:37:43 wiz Exp $
# $NetBSD: Makefile,v 1.14 2023/08/01 23:20:38 wiz Exp $

PKGNAME= ${PYPKGPREFIX}-mastodon-1.5.0
PKGREVISION= 1
Expand Down Expand Up @@ -31,7 +31,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-wrapt-[0-9]*:../../devel/py-wrapt
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 2 additions & 2 deletions chat/py-mautrix/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.19 2022/04/23 13:43:29 js Exp $
# $NetBSD: Makefile,v 1.20 2023/08/01 23:20:38 wiz Exp $

DISTNAME= python-0.16.3
PKGNAME= ${PYPKGPREFIX}-mautrix-${DISTNAME:S/python-//}
Expand All @@ -16,7 +16,7 @@ DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3<4:../../www/py-aiohttp
DEPENDS+= ${PYPKGPREFIX}-attrs>=18.1.0:../../devel/py-attrs
DEPENDS+= ${PYPKGPREFIX}-yarl>=1.5.1:../../www/py-yarl

PYTHON_VERSIONS_INCOMPATIBLE= 27 37
PYTHON_VERSIONS_INCOMPATIBLE= 27

USE_LANGUAGES= # none
EGG_NAME= mautrix-${PKGVERSION_NOREV}
Expand Down
4 changes: 2 additions & 2 deletions chat/tootstream/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2023/07/01 08:37:43 wiz Exp $
# $NetBSD: Makefile,v 1.18 2023/08/01 23:20:38 wiz Exp $

DISTNAME= tootstream-0.3.8.1
PKGREVISION= 4
Expand All @@ -24,7 +24,7 @@ USE_PKG_RESOURCES= yes

# strange locale errors on earlier versions of python 3, related
# to py-click.
PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 2 additions & 2 deletions comms/py-cleo/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/07/01 08:37:43 wiz Exp $
# $NetBSD: Makefile,v 1.5 2023/08/01 23:20:39 wiz Exp $

DISTNAME= cleo-2.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand All @@ -15,7 +15,7 @@ DEPENDS+= ${PYPKGPREFIX}-rapidfuzz>=2.2.0:../../textproc/py-rapidfuzz

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 2 additions & 2 deletions comms/py-jupyter_server_terminals/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2023/05/05 10:20:30 adam Exp $
# $NetBSD: Makefile,v 1.2 2023/08/01 23:20:39 wiz Exp $

DISTNAME= jupyter_server_terminals-0.4.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand All @@ -21,7 +21,7 @@ USE_LANGUAGES= # none

PYTHON_SELF_CONFLICT= yes

PYTHON_VERSIONS_INCOMPATIBLE= 27 37
PYTHON_VERSIONS_INCOMPATIBLE= 27

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
Expand Down
6 changes: 3 additions & 3 deletions databases/py-kb/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2022/09/28 18:58:01 leot Exp $
# $NetBSD: Makefile,v 1.6 2023/08/01 23:20:39 wiz Exp $

DISTNAME= kb-manager-0.1.7
EGGNAME= ${DISTNAME:S/-manager//}
Expand All @@ -17,8 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-gitpython-[0-9]*:../../devel/py-gitpython
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml

# Not for 2.7. 3.7 would need py-attr that is currently not packaged
PYTHON_VERSIONS_INCOMPATIBLE= 27 37
# Not for 2.7.
PYTHON_VERSIONS_INCOMPATIBLE= 27

USE_LANGUAGES= # none

Expand Down
4 changes: 2 additions & 2 deletions devel/accerciser/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.49 2023/05/04 17:49:57 adam Exp $
# $NetBSD: Makefile,v 1.50 2023/08/01 23:20:39 wiz Exp $

DISTNAME= accerciser-3.38.0
PKGREVISION= 7
Expand Down Expand Up @@ -36,7 +36,7 @@ DEPENDS+= ${PYPKGPREFIX}-ipython>=1.2.1:../../devel/py-ipython
DEPENDS+= ${PYPKGPREFIX}-Xlib-[0-9]*:../../x11/py-Xlib

# dependencies to keep package's configure script happy:
PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../x11/gtk3/buildlink3.mk"
.include "../../devel/at-spi2-core/buildlink3.mk"
Expand Down
4 changes: 2 additions & 2 deletions devel/libpeas/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.56 2023/04/14 08:59:33 bsiegert Exp $
# $NetBSD: Makefile,v 1.57 2023/08/01 23:20:39 wiz Exp $

DISTNAME= libpeas-1.26.0
PKGREVISION= 7
Expand All @@ -20,7 +20,7 @@ MESON_ARGS+= -Dpython3=true
MESON_ARGS+= -Dpython2=false
MESON_ARGS+= -Dlua51=false

PYTHON_VERSIONS_INCOMPATIBLE= 27 37
PYTHON_VERSIONS_INCOMPATIBLE= 27

PKGCONFIG_OVERRIDE+= output/meson-private/libpeas-gtk-1.0.pc
PKGCONFIG_OVERRIDE+= output/meson-private/libpeas-1.0.pc
Expand Down
4 changes: 2 additions & 2 deletions devel/py-SDL2/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2023/07/01 08:37:44 wiz Exp $
# $NetBSD: Makefile,v 1.7 2023/08/01 23:20:39 wiz Exp $

DISTNAME= PySDL2-0.9.16
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Py//}
Expand All @@ -18,7 +18,7 @@ USE_TOOLS+= pkg-config

TEST_ENV+= PYSDL2_DLL_PATH=${BUILDLINK_PREFIX.SDL2}/lib

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

BUILDLINK_API_DEPENDS.SDL2+= SDL2>=2.0.5
.include "../../devel/SDL2/buildlink3.mk"
Expand Down
4 changes: 2 additions & 2 deletions devel/py-boost/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# $NetBSD: Makefile,v 1.21 2023/07/01 08:37:34 wiz Exp $
# $NetBSD: Makefile,v 1.22 2023/08/01 23:20:40 wiz Exp $

BOOST_PACKAGE= python
BOOST_COMMENT= (Boost.Python binary library)
BOOST_CONFIG= installed

INSTALLATION_DIRS+= lib

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../meta-pkgs/boost/Makefile.common"

Expand Down
4 changes: 2 additions & 2 deletions devel/py-cle/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2023/05/11 07:19:09 adam Exp $
# $NetBSD: Makefile,v 1.7 2023/08/01 23:20:40 wiz Exp $

.include "../../devel/py-angr/version.mk"

Expand All @@ -24,7 +24,7 @@ DEPENDS+= ${PYPKGPREFIX}-minidump-[0-9]*:../../devel/py-minidump
DEPENDS+= ${PYPKGPREFIX}-xbe>=0.0.2:../../devel/py-xbe
TEST_DEPENDS+= ${PYPKGPREFIX}-cffi-[0-9]*:../../devel/py-cffi

PYTHON_VERSIONS_INCOMPATIBLE= 27 37
PYTHON_VERSIONS_INCOMPATIBLE= 27

do-test:
cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover
Expand Down
4 changes: 2 additions & 2 deletions devel/py-clickclick/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2023/06/06 12:41:11 riastradh Exp $
# $NetBSD: Makefile,v 1.12 2023/08/01 23:20:40 wiz Exp $

DISTNAME= clickclick-20.10.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand All @@ -21,7 +21,7 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27 37
PYTHON_VERSIONS_INCOMPATIBLE= 27

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
4 changes: 2 additions & 2 deletions devel/py-fire/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2023/07/01 08:37:44 wiz Exp $
# $NetBSD: Makefile,v 1.5 2023/08/01 23:20:40 wiz Exp $

DISTNAME= fire-0.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand All @@ -20,7 +20,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-Levenshtein-[0-9]*:../../textproc/py-Levenshtein

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
Expand Down
4 changes: 2 additions & 2 deletions devel/py-fuzzywuzzy/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2023/07/01 08:37:45 wiz Exp $
# $NetBSD: Makefile,v 1.7 2023/08/01 23:20:40 wiz Exp $

DISTNAME= fuzzywuzzy-0.18.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand All @@ -16,7 +16,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-codestyle-[0-9]*:../../devel/py-codestyle
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

USE_LANGUAGES= # none

Expand Down
4 changes: 2 additions & 2 deletions devel/py-h5py/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.15 2023/07/01 08:37:34 wiz Exp $
# $NetBSD: Makefile,v 1.16 2023/08/01 23:20:40 wiz Exp $

DISTNAME= h5py-3.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand All @@ -16,7 +16,7 @@ DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six

MAKE_ENV= HDF5_DIR=${PREFIX}

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

BUILDLINK_API_DEPENDS.hdf5+= hdf5>=1.10
.include "../../devel/hdf5/buildlink3.mk"
Expand Down
4 changes: 2 additions & 2 deletions devel/py-ipython/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.91 2023/06/06 18:28:30 adam Exp $
# $NetBSD: Makefile,v 1.92 2023/08/01 23:20:40 wiz Exp $

DISTNAME= ipython-8.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
Expand Down Expand Up @@ -30,7 +30,7 @@ USE_LANGUAGES= # none

USE_PKG_RESOURCES= yes

PYTHON_VERSIONS_INCOMPATIBLE= 27 37 38
PYTHON_VERSIONS_INCOMPATIBLE= 27 38

.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 310
Expand Down
Loading

0 comments on commit 0688f6d

Please sign in to comment.