remove py2 backports of functionality from python 3.x which are no

longer used by other ports
This commit is contained in:
sthen 2022-08-18 14:33:53 +00:00
parent 44ebb163cf
commit 526b2d5581
12 changed files with 4 additions and 81 deletions

View File

@ -1382,7 +1382,6 @@
SUBDIR += py-flit_core,python3
SUBDIR += py-freezegun,python3
SUBDIR += py-frozendict,python3
SUBDIR += py-funcsigs
SUBDIR += py-funcy
SUBDIR += py-funcy,python3
SUBDIR += py-future

View File

@ -1,24 +0,0 @@
COMMENT= Python function signatures from PEP362 for 2.6, 2.7, 3.2+
MODPY_EGG_VERSION= 1.0.2
DISTNAME= funcsigs-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= devel
REVISION= 4
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
MODPY_PI= Yes
MODPY_SETUPTOOLS= Yes
pre-test:
cd ${WRKSRC}/tests && perl -i -pe 's/unittest2/unittest/g' *.py
do-test:
cd ${WRKSRC} && ${MODPY_BIN} -m unittest discover
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (funcsigs-1.0.2.tar.gz) = p7sPLPOj/Rqycyy0nrpCUsKvQkBEJBW0q847hwIqj1A=
SIZE (funcsigs-1.0.2.tar.gz) = 27947

View File

@ -1,3 +0,0 @@
funcsigs is a backport of the PEP 362 function signature features from
Python 3.3's inspect module. The backport is compatible with Python
2.6, 2.7 as well as 3.2 and up.

View File

@ -1,14 +0,0 @@
lib/python${MODPY_VERSION}/site-packages/funcsigs/
lib/python${MODPY_VERSION}/site-packages/funcsigs-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/funcsigs-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/funcsigs-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/funcsigs-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/funcsigs-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
lib/python${MODPY_VERSION}/site-packages/funcsigs-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/pbr.json
lib/python${MODPY_VERSION}/site-packages/funcsigs-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/funcsigs-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/funcsigs/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/funcsigs/${MODPY_PYCACHE}/
lib/python${MODPY_VERSION}/site-packages/funcsigs/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/funcsigs/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/funcsigs/version.py

View File

@ -3,7 +3,7 @@ CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-6.21
PKGNAME = quirks-6.22
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.1414 2022/08/18 14:20:05 sthen Exp $
# $OpenBSD: Quirks.pm,v 1.1415 2022/08/18 14:33:53 sthen Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -1691,6 +1691,8 @@ setup_obsolete_reason(
3 => 'gnome-books',
46 => 'go-bootstrap',
31 => 'py-typing',
6 => 'py-funcsigs',
6 => 'py-statistics',
);
# though it's not yet used, these should be pkgnames, so that eventually

View File

@ -143,7 +143,6 @@
SUBDIR += py-scipy,python3
SUBDIR += py-scs,python3
SUBDIR += py-snuggs,python3
SUBDIR += py-statistics
SUBDIR += py-sympy,python3
SUBDIR += py-tables,python3
SUBDIR += py2-numpy

View File

@ -1,21 +0,0 @@
COMMENT = port of Python 3.4 statistics module to Python 2
MODPY_EGG_VERSION = 1.0.3.5
DISTNAME = statistics-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = math
REVISION = 0
HOMEPAGE = https://github.com/digitalemagine/py-statistics
# Apache 2.0
PERMIT_PACKAGE = Yes
MODPY_PI = Yes
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
MODPY_SETUPTOOLS = Yes
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (statistics-1.0.3.5.tar.gz) = LcN5uAsHvy3dVIjK0GsrlTHaTdMe2wTcnsDcImSGwTg=
SIZE (statistics-1.0.3.5.tar.gz) = 8303

View File

@ -1,2 +0,0 @@
This module provides functions for calculating mathematical statistics
of numeric (Real-valued) data.

View File

@ -1,9 +0,0 @@
lib/python${MODPY_VERSION}/site-packages/statistics/
lib/python${MODPY_VERSION}/site-packages/statistics-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/statistics-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/statistics-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/statistics-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/statistics-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/statistics-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/statistics/__init__.py
lib/python${MODPY_VERSION}/site-packages/statistics/__init__.pyc