Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2023 04:25:23 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: c9fc03a86b66 - main - devel/py-hatch-autorun: Add py-hatch-autorun 1.1.0
Message-ID:  <202305270425.34R4PNEc023546@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=c9fc03a86b66b91af8eb6985b6bd1a60f2fe2e34

commit c9fc03a86b66b91af8eb6985b6bd1a60f2fe2e34
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:06:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:06:37 +0000

    devel/py-hatch-autorun: Add py-hatch-autorun 1.1.0
    
    hatch-autorun provides a build hook plugin for Hatch that injects code into an
    installation that will automatically run before the first import.
---
 devel/Makefile                   |  1 +
 devel/py-hatch-autorun/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-hatch-autorun/distinfo  |  3 +++
 devel/py-hatch-autorun/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 0c07c25e956e..ea5a5db6acb7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4719,6 +4719,7 @@
     SUBDIR += py-gyp
     SUBDIR += py-hash_ring
     SUBDIR += py-hatch
+    SUBDIR += py-hatch-autorun
     SUBDIR += py-hatch-fancy-pypi-readme
     SUBDIR += py-hatch-jupyter-builder
     SUBDIR += py-hatch-nodejs-version
diff --git a/devel/py-hatch-autorun/Makefile b/devel/py-hatch-autorun/Makefile
new file mode 100644
index 000000000000..6ce27f9f512b
--- /dev/null
+++ b/devel/py-hatch-autorun/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	hatch-autorun
+PORTVERSION=	1.1.0
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	hatch_autorun-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Hatch build hook plugin to inject code that will automatically run
+WWW=		https://github.com/ofek/hatch-autorun
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.6.0:devel/py-hatchling@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-hatch-autorun/distinfo b/devel/py-hatch-autorun/distinfo
new file mode 100644
index 000000000000..88559ca8548f
--- /dev/null
+++ b/devel/py-hatch-autorun/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1684104288
+SHA256 (hatch_autorun-1.1.0.tar.gz) = 70631dae9a6a72fe5bfe04847cd43b680fc027d2a910ad067d03a2977f5ef6ce
+SIZE (hatch_autorun-1.1.0.tar.gz) = 7788
diff --git a/devel/py-hatch-autorun/pkg-descr b/devel/py-hatch-autorun/pkg-descr
new file mode 100644
index 000000000000..e2194e17563a
--- /dev/null
+++ b/devel/py-hatch-autorun/pkg-descr
@@ -0,0 +1,2 @@
+hatch-autorun provides a build hook plugin for Hatch that injects code into an
+installation that will automatically run before the first import.



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