Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2021 19:48:55 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fb80bc28b376 - main - devel/py-installer: Add py-installer 0.2.3
Message-ID:  <202109271948.18RJmtQ8042452@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fb80bc28b376e3c321df665cf7e94add97d616d7

commit fb80bc28b376e3c321df665cf7e94add97d616d7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-09-27 19:44:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
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 <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>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109271948.18RJmtQ8042452>