From owner-dev-commits-ports-all@freebsd.org Mon Sep 27 19:48:55 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 87D8066E656; Mon, 27 Sep 2021 19:48:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HJCr73VQXz4gPR; Mon, 27 Sep 2021 19:48:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 58C0E17016; Mon, 27 Sep 2021 19:48:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18RJmt0j042453; Mon, 27 Sep 2021 19:48:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18RJmtQ8042452; Mon, 27 Sep 2021 19:48:55 GMT (envelope-from git) Date: Mon, 27 Sep 2021 19:48:55 GMT Message-Id: <202109271948.18RJmtQ8042452@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: fb80bc28b376 - main - devel/py-installer: Add py-installer 0.2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fb80bc28b376e3c321df665cf7e94add97d616d7 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2021 19:48:55 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb80bc28b376e3c321df665cf7e94add97d616d7 commit fb80bc28b376e3c321df665cf7e94add97d616d7 Author: Po-Chuan Hsieh AuthorDate: 2021-09-27 19:44:00 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-09-27 19:48:06 +0000 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 --- devel/Makefile | 1 + devel/py-installer/Makefile | 26 ++++++++++++++++++++++++++ devel/py-installer/distinfo | 3 +++ devel/py-installer/pkg-descr | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index de251f194795..12358cd22353 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/py-installer/Makefile b/devel/py-installer/Makefile new file mode 100644 index 000000000000..41d3a06c8947 --- /dev/null +++ b/devel/py-installer/Makefile @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh + +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 + +.if ${PYTHON_REL} < 30700 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-installer/distinfo b/devel/py-installer/distinfo new file mode 100644 index 000000000000..0806f909c311 --- /dev/null +++ b/devel/py-installer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632760420 +SHA256 (installer-0.2.3.tar.gz) = 82c899f5e3c78303242df9c9ca7ac58001c9806d8c23fa2772be769d1f560fe5 +SIZE (installer-0.2.3.tar.gz) = 310274 diff --git a/devel/py-installer/pkg-descr b/devel/py-installer/pkg-descr new file mode 100644 index 000000000000..7baa82b559c4 --- /dev/null +++ b/devel/py-installer/pkg-descr @@ -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