drop now-unused py2-only port sysutils/py-scandir

This commit is contained in:
sthen 2022-03-10 10:57:58 +00:00
parent 103639f1f7
commit dd76659e5a
7 changed files with 3 additions and 51 deletions

View File

@ -3,7 +3,7 @@ CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-4.112
PKGNAME = quirks-4.113
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>
FLAVORS = index

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.1376 2022/03/10 10:55:46 sthen Exp $
# $OpenBSD: Quirks.pm,v 1.1377 2022/03/10 10:57:58 sthen Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -1660,6 +1660,7 @@ setup_obsolete_reason(
6 => 'py3-pathlib',
6 => 'py3-pathlib2',
31 => 'py-ipaddress',
31 => 'py-scandir',
);
# though it's not yet used, these should be pkgnames, so that eventually

View File

@ -299,7 +299,6 @@
SUBDIR += py-pushover,python3
SUBDIR += py-pynetbox,python3
SUBDIR += py-pyperclip,python3
SUBDIR += py-scandir # not required for py3
SUBDIR += py-schedule,python3
SUBDIR += py-statgrab,python3
SUBDIR += py-threadpoolctl,python3

View File

@ -1,32 +0,0 @@
# $OpenBSD: Makefile,v 1.11 2021/11/02 00:02:34 sthen Exp $
COMMENT = improved directory iterator and faster os.walk()
MODPY_EGG_VERSION = 1.10.0
DISTNAME = scandir-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 6
CATEGORIES = sysutils
HOMEPAGE = https://github.com/benhoyt/scandir
# BSD 3-Clause
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
# included in core in py3
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
WANTLIB += pthread ${MODPY_WANTLIB}
TEST_DEPENDS += ${FULLPKGNAME}:${BUILD_PKGPATH}
do-test:
cd ${WRKSRC}/test && ${SETENV} ${ALL_TEST_ENV} ${MODPY_BIN} run_tests.py
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (scandir-1.10.0.tar.gz) = TUYx9gYuZY6QB6sxSam5FPNUjLOL+wIcZPOaAlzleK4=
SIZE (scandir-1.10.0.tar.gz) = 33311

View File

@ -1,5 +0,0 @@
scandir() is a directory iteration function like os.listdir(), except that
instead of returning a list of bare filenames, it yields DirEntry objects that
include file type and stat information along with the name. Using scandir()
increases the speed of os.walk() by 2-20 times (depending on the platform and
file system) by avoiding unnecessary calls to os.stat() in most cases.

View File

@ -1,9 +0,0 @@
@comment $OpenBSD: PLIST,v 1.3 2021/10/31 11:44:52 sthen Exp $
@so lib/python${MODPY_VERSION}/site-packages/_scandir.${MODPY_PYC_MAGIC_TAG}so
lib/python${MODPY_VERSION}/site-packages/scandir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/scandir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/scandir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/scandir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/scandir-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/scandir.py
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}scandir.${MODPY_PYC_MAGIC_TAG}pyc