From nobody Wed May 17 18:22:10 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QM1fW1Dzmz4BRM3; Wed, 17 May 2023 18:22:11 +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 4QM1fV5xjlz4CmS; Wed, 17 May 2023 18:22:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684347730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2JRzuyw/tiPN14nudSeb2c5rs57NzNMI7DuRTPvNlH8=; b=mV8SilKcEeXwZZQ7d6iY6cXMQvykEz22048lqJG98/UUM8cp/s++uK7Y4Fy8EKKKjYco93 LAwU5pwXG8N0nCqV4OfyTDBErCyFPMX3ibb1WplQtlR2NYOkPa6bvTdV7Xy9Ib0pEVji/l a1WoCv+DTi0QT+RSBrng9dzV/SiCvjwEVU+EEauGZJ7Comio6aCYp49xUFp57Izmayc7Ky qG6sZRk0q3iJM6S5vgCIlkF0h9kY4QEZUW7TAGsxG0yaZ0DAwNsNv29uhWWroa09lpQKOL BoI1BcGD/z0t9Rz3Y6tlUM55uO5QwMcGGk8u/z8HeliGad36MkYuVhvK0YqkJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684347730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2JRzuyw/tiPN14nudSeb2c5rs57NzNMI7DuRTPvNlH8=; b=CqKAVxZTDockRqSCPMQXDsIvPQ0bPYHAyHYIfqjhFLCbd44sY/WAuNFO21NOFoa7nANd5h xvoFtfsABbkbYme4w8M/WNrWplENjXa5fqG+Sk7nhuEH/WghOwnCS0Rr4kdUgsN/YHQmtS 4S/zg6Fa8KWF1x9CeeBrhhjeRWseh43qM1T3KDNtBhbexnaXAWNXIz2xaGxAAXl+04pKsG 3nHU/zYZfb+bECEEkBAm1iC/HH497gMM75V4idhdVyeVdlo+y6GRux4to32MhE+1ITDZzB r2Cku8nEMnLX87EoK6IzQS4mGxz15j758yOJRmPtkhkHIcVBGijlc9CenH/1rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684347730; a=rsa-sha256; cv=none; b=i5N+lWUJrhlYJhl8y3fcOvj7+2dAOqNTlnMxzGF6GvAPnZgaWWndNTkIXFw/4d4EZd4wf4 K26kxpkZ6LgZ+L6wnLMCll4DX/vRA3PN1YQFJX4gceXzT1Qv/atJ3WmnnwtCDZpVq5clKK fEvwUAvvru1FPhm3DQfw8VUKOwi7RoE+F4Yvg8KwDgGAQncad6peH0CPqJ3gCsuOPL45Qa 8lKGZRQk9u9ROzzh7SJvLuAPpCEFmSBHOWo0D9EFNoAz66xDNub83CtCLcn+GKU3si+kBX C99+J5AagmmP6XnmWX6Btx6AdIRHLwhci0W3P5sKgrDs5TMiymHsIxsBWuxkyw== 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 4QM1fV51Z0zDrh; Wed, 17 May 2023 18:22:10 +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 34HIMAIp079534; Wed, 17 May 2023 18:22:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34HIMAZf079533; Wed, 17 May 2023 18:22:10 GMT (envelope-from git) Date: Wed, 17 May 2023 18:22:10 GMT Message-Id: <202305171822.34HIMAZf079533@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: f6c8fb6feb63 - main - devel/py-strenum: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f6c8fb6feb635f9368fa1b6fc70119d2fbe5d237 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6c8fb6feb635f9368fa1b6fc70119d2fbe5d237 commit f6c8fb6feb635f9368fa1b6fc70119d2fbe5d237 Author: Jan Beich AuthorDate: 2023-03-19 19:46:04 +0000 Commit: Jan Beich CommitDate: 2023-05-17 18:21:12 +0000 devel/py-strenum: add new port StrEnum is a Python enum.Enum that inherits from str to complement enum.IntEnum in the standard library. https://pypi.org/project/StrEnum/ --- devel/Makefile | 1 + devel/py-strenum/Makefile | 21 +++++++++++++++++++++ devel/py-strenum/distinfo | 3 +++ devel/py-strenum/pkg-descr | 2 ++ 4 files changed, 27 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index e33c6346f46e..cc6225737a4a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4170,6 +4170,7 @@ SUBDIR += py-PyUtilib SUBDIR += py-QtPy SUBDIR += py-RPyC + SUBDIR += py-strenum SUBDIR += py-ZopeUndo SUBDIR += py-about-time SUBDIR += py-absl diff --git a/devel/py-strenum/Makefile b/devel/py-strenum/Makefile new file mode 100644 index 000000000000..f0f319f7c3f8 --- /dev/null +++ b/devel/py-strenum/Makefile @@ -0,0 +1,21 @@ +PORTNAME= StrEnum +DISTVERSION= 0.4.10 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Enum that inherits from str +WWW= https://pypi.org/project/StrEnum/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +NO_ARCH= yes +USES= python:3.7+ +USE_PYTHON= autoplist distutils pytest + +post-patch: + @${REINPLACE_CMD} '/pytest-runner/d' ${WRKSRC}/setup.py + +.include diff --git a/devel/py-strenum/distinfo b/devel/py-strenum/distinfo new file mode 100644 index 000000000000..65f4fd0443e0 --- /dev/null +++ b/devel/py-strenum/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1679255164 +SHA256 (StrEnum-0.4.10.tar.gz) = 898cc0ebb5054ee07400341ac1d75fdfee489d76d6df3fbc1c2eaf95971e3916 +SIZE (StrEnum-0.4.10.tar.gz) = 24620 diff --git a/devel/py-strenum/pkg-descr b/devel/py-strenum/pkg-descr new file mode 100644 index 000000000000..509841e3c3bb --- /dev/null +++ b/devel/py-strenum/pkg-descr @@ -0,0 +1,2 @@ +StrEnum is a Python enum.Enum that inherits from str to complement +enum.IntEnum in the standard library.