devel/py-packaging2: import py-packaging-20.9

Core utilities for Python packages.

This is the last version that supports Python 2.x.
This commit is contained in:
wiz 2021-11-09 20:28:46 +00:00
parent 34b06e6b79
commit 0c1ab78cf8
4 changed files with 76 additions and 0 deletions

View file

@ -0,0 +1,3 @@
Core utilities for Python packages.
This is the last version that supports Python 2.x.

View file

@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.1 2021/11/09 20:28:46 wiz Exp $
DISTNAME= packaging-20.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/packaging/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pypa/packaging
COMMENT= Core utilities for Python packages (Python 2.x version)
LICENSE= modified-bsd OR apache-2.0
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-pretend-[0-9]*:../../devel/py-pretend
PYTHON_VERSIONS_ACCEPTED= 27
PYTHON_VERSIONED_DEPENDENCIES= test:test pyparsing
USE_LANGUAGES= # none
# needs 'make install' before
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"

40
devel/py-packaging2/PLIST Normal file
View file

@ -0,0 +1,40 @@
@comment $NetBSD: PLIST,v 1.1 2021/11/09 20:28:46 wiz Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/packaging/__about__.py
${PYSITELIB}/packaging/__about__.pyc
${PYSITELIB}/packaging/__about__.pyo
${PYSITELIB}/packaging/__init__.py
${PYSITELIB}/packaging/__init__.pyc
${PYSITELIB}/packaging/__init__.pyo
${PYSITELIB}/packaging/_compat.py
${PYSITELIB}/packaging/_compat.pyc
${PYSITELIB}/packaging/_compat.pyo
${PYSITELIB}/packaging/_structures.py
${PYSITELIB}/packaging/_structures.pyc
${PYSITELIB}/packaging/_structures.pyo
${PYSITELIB}/packaging/_typing.py
${PYSITELIB}/packaging/_typing.pyc
${PYSITELIB}/packaging/_typing.pyo
${PYSITELIB}/packaging/markers.py
${PYSITELIB}/packaging/markers.pyc
${PYSITELIB}/packaging/markers.pyo
${PYSITELIB}/packaging/py.typed
${PYSITELIB}/packaging/requirements.py
${PYSITELIB}/packaging/requirements.pyc
${PYSITELIB}/packaging/requirements.pyo
${PYSITELIB}/packaging/specifiers.py
${PYSITELIB}/packaging/specifiers.pyc
${PYSITELIB}/packaging/specifiers.pyo
${PYSITELIB}/packaging/tags.py
${PYSITELIB}/packaging/tags.pyc
${PYSITELIB}/packaging/tags.pyo
${PYSITELIB}/packaging/utils.py
${PYSITELIB}/packaging/utils.pyc
${PYSITELIB}/packaging/utils.pyo
${PYSITELIB}/packaging/version.py
${PYSITELIB}/packaging/version.pyc
${PYSITELIB}/packaging/version.pyo

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2021/11/09 20:28:46 wiz Exp $
BLAKE2s (packaging-20.9.tar.gz) = b58feff10435fb04fcd08bbba0afa6dbc5e8447e8fb24b99223ea81374893d20
SHA512 (packaging-20.9.tar.gz) = 229b729aa9be7730509b7036dce0ca0750103fb7e2cd45d51f0eeaf2a4731605d63d11e11c10c7c481e228faa5e860c2c8f7bc6bee3190cafd72c22d7b3db264
Size (packaging-20.9.tar.gz) = 81267 bytes