devel/py-installer: Add py-installer 0.2.3

This is a low-level library for installing a Python package from a wheel
distribution. It provides basic functionality and abstractions for handling
wheels and installing packages from wheels.

- Logic for "unpacking" a wheel (i.e. installation).
- Abstractions for various parts of the unpacking process.
- Extensible simple implementations of the abstractions.
- Platform-independent Python script wrapper generation.

WWW: https://github.com/pradyunsg/installer
This commit is contained in:
Po-Chuan Hsieh 2021-09-28 03:44:00 +08:00
parent dbfb7431bb
commit fb80bc28b3
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 40 additions and 0 deletions

View file

@ -4587,6 +4587,7 @@
SUBDIR += py-iniconfig
SUBDIR += py-inifile
SUBDIR += py-iniparse
SUBDIR += py-installer
SUBDIR += py-intbitset
SUBDIR += py-intervals
SUBDIR += py-intervaltree

View file

@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= installer
PORTVERSION= 0.2.3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library for installing Python wheels
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 30700
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1632760420
SHA256 (installer-0.2.3.tar.gz) = 82c899f5e3c78303242df9c9ca7ac58001c9806d8c23fa2772be769d1f560fe5
SIZE (installer-0.2.3.tar.gz) = 310274

View file

@ -0,0 +1,10 @@
This is a low-level library for installing a Python package from a wheel
distribution. It provides basic functionality and abstractions for handling
wheels and installing packages from wheels.
- Logic for "unpacking" a wheel (i.e. installation).
- Abstractions for various parts of the unpacking process.
- Extensible simple implementations of the abstractions.
- Platform-independent Python script wrapper generation.
WWW: https://github.com/pradyunsg/installer