From nobody Fri Jun 7 15:51:04 2024 X-Original-To: dev-commits-ports-all@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 4VwlzY05mwz5LFGG; Fri, 07 Jun 2024 15:51:05 +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 4VwlzX6bGZz4nsZ; Fri, 7 Jun 2024 15:51:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717775464; 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=kEtGG4SlFGKskj4pNwwPa/sWFAs4P/jdd1JoDjIYU/g=; b=vPIea+aijR2s6i7WyewE+7IAwCkS/cMvZmNNlyoTY+jTfa2U5xoY2xNDMPQFWOauOCt/fB EcSZoSWhJ7riX6ODwGtDcwBahQwiDEfnaClejnHP1BgMo36R426/Dh7XJRzg+wrkAgm2cg 03MjiC00Jzo/8P2nQP/x3m/5HSPPnDYEvug79mDVEyPgB2Me9YurXPubib//8PgPYy5o8V lGUwdCP3yQWcoQSQv03TOFxxcli+hzC35ogZJw/kN5jIhU4bGwBzKHTORjSovSy16nJ1JM qlY7RNEAzLC7w+elDVG45cy3v6AS+hz+8r3lR0VJ/jgdjGl9NrhJag4U8snJOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717775464; a=rsa-sha256; cv=none; b=Rk0jo/MPINro+QUTmQwSOUcNjYLiuMsYoKeZ9ogilx/qYcmOeQVZbXWZt8Fy7miW1mf3Ph jffip5kpRRwgjShWYgU8BzchdGrKA9VQQD0A4WiIOp19HbZrgVURal8oNDWpY21NsQvvI5 m6IQbHb9dxAWcYWTTNSbgN2wPtrmYC4OIQTsoYL/tWCGah8paYIF62fOEHSonvUJx+AeFr VHK9kpqrpjf10Braf3lxGdeFCz1URGs1aeY4YGlz8G+LfKOHZHaLJhBlXxEaGOj5/+8lcl x/rQf4CogyPXzmQqWoQ/OeGJJpQC+7vTJ3pHoKXFoU0MoYpp9N7KP3omQNtnPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717775464; 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=kEtGG4SlFGKskj4pNwwPa/sWFAs4P/jdd1JoDjIYU/g=; b=frOFxos7HO7n682UeyKcn8PfkTYqKnHQ/mKIhXxx/qpfpRtHpTIAegmwhQOjcF9GjyG1FR FKNaHeCStcXTqeJPhfh4LP/OGhLjGdY3UlLga2aEsgWxcuRwvyNaOAWnUIXX58vMs8BEdy ThBIK0c5v56fmNm7rUzQGhOgUAacvTTHBkc+Gyp64XnAPPKlsFNAdiLBeJMoKL+FvwpXAR oGvYnDg1/YG63kYRMc8V8ldLSzJeTpoCeWYaGmAHCOG6hjbIY6eH+099ITRHhKWKv7jCNT ivUZ2+4Tdk5jVdUbBJyVGIXZxaYoCH/ARwgPNaS2u+UcabhOMBPMsYiG8eIguw== 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 4VwlzX6ByqzLBd; Fri, 7 Jun 2024 15:51:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 457Fp4aG084746; Fri, 7 Jun 2024 15:51:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 457Fp4tL084743; Fri, 7 Jun 2024 15:51:04 GMT (envelope-from git) Date: Fri, 7 Jun 2024 15:51:04 GMT Message-Id: <202406071551.457Fp4tL084743@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 59dd7eeaf68b - main - devel/subprocess: New port: C++ subprocess library similar in design to Python subprocess library List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 59dd7eeaf68be352ec636445c4432c49009cefa1 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=59dd7eeaf68be352ec636445c4432c49009cefa1 commit 59dd7eeaf68be352ec636445c4432c49009cefa1 Author: Yuri Victorovich AuthorDate: 2024-06-07 05:32:45 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-07 15:50:59 +0000 devel/subprocess: New port: C++ subprocess library similar in design to Python subprocess library --- devel/Makefile | 1 + devel/subprocess/Makefile | 35 +++++++++++++++++++++++++++++++++++ devel/subprocess/distinfo | 7 +++++++ devel/subprocess/pkg-descr | 2 ++ devel/subprocess/pkg-plist | 8 ++++++++ 5 files changed, 53 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index c3c6149e500a..0fdb539d9d00 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7911,6 +7911,7 @@ SUBDIR += stxxl SUBDIR += stylua SUBDIR += styx + SUBDIR += subprocess SUBDIR += subversion SUBDIR += subversion-book SUBDIR += subversion-lts diff --git a/devel/subprocess/Makefile b/devel/subprocess/Makefile new file mode 100644 index 000000000000..5e73db8ffa2c --- /dev/null +++ b/devel/subprocess/Makefile @@ -0,0 +1,35 @@ +PORTNAME= subprocess +DISTVERSIONPREFIX= v +DISTVERSION= 0.4.0-6 +DISTVERSIONSUFFIX= -g29d01c7 +CATEGORIES= devel + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= 2caf8c1e119d5f14f4ae31316ddfd03126e101ac.patch:-p1 # https://github.com/benman64/subprocess/pull/17 +PATCHFILES+= cef6823e5834053a20144b790945f7ed1808c28c.patch:-p1 # https://github.com/benman64/subprocess/pull/18 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ subprocess library similar in design to Python subprocess library +WWW= https://github.com/benman64/subprocess + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing python:build + +USE_GITHUB= yes +GH_ACCOUNT= benman64 + +CMAKE_ON= BUILD_SHARED_LIBS + +BINARY_ALIAS= python3=${PYTHON_CMD} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/cpp/subprocess.hpp ${STAGEDIR}${PREFIX}/include + ${MKDIR} ${STAGEDIR}${PREFIX}/include/subprocess +.for inc in basic_types.hpp pipe.hpp PipeVar.hpp ProcessBuilder.hpp shell_utils.hpp environ.hpp + ${INSTALL_DATA} ${WRKSRC}/src/cpp/subprocess/${inc} ${STAGEDIR}${PREFIX}/include/subprocess +.endfor + ${INSTALL_LIB} ${BUILD_WRKSRC}/subprocess/libsubprocess.so ${STAGEDIR}${PREFIX}/lib + +.include diff --git a/devel/subprocess/distinfo b/devel/subprocess/distinfo new file mode 100644 index 000000000000..3d0c6a8b7bf1 --- /dev/null +++ b/devel/subprocess/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1717738163 +SHA256 (benman64-subprocess-v0.4.0-6-g29d01c7_GH0.tar.gz) = d52f6c578048de03aac10b100eeef42ef06677b5c1cc0816eae2e0906d2745df +SIZE (benman64-subprocess-v0.4.0-6-g29d01c7_GH0.tar.gz) = 717218 +SHA256 (2caf8c1e119d5f14f4ae31316ddfd03126e101ac.patch) = e6ed70cf42f7e43db6bfaea58c8c9eb1e0b5b83b0fb10fbae0f98a3e0d326259 +SIZE (2caf8c1e119d5f14f4ae31316ddfd03126e101ac.patch) = 677 +SHA256 (cef6823e5834053a20144b790945f7ed1808c28c.patch) = 9f82743ba74894497327f23d54a048a2fdf49ec82ee48bc5d10ed951bdabaa15 +SIZE (cef6823e5834053a20144b790945f7ed1808c28c.patch) = 1309 diff --git a/devel/subprocess/pkg-descr b/devel/subprocess/pkg-descr new file mode 100644 index 000000000000..ac43b4447e69 --- /dev/null +++ b/devel/subprocess/pkg-descr @@ -0,0 +1,2 @@ +subprocess is a cross platform subprocess library for c++ similar to design +of python subprocess. diff --git a/devel/subprocess/pkg-plist b/devel/subprocess/pkg-plist new file mode 100644 index 000000000000..9174964b3da8 --- /dev/null +++ b/devel/subprocess/pkg-plist @@ -0,0 +1,8 @@ +include/subprocess.hpp +include/subprocess/PipeVar.hpp +include/subprocess/ProcessBuilder.hpp +include/subprocess/basic_types.hpp +include/subprocess/environ.hpp +include/subprocess/pipe.hpp +include/subprocess/shell_utils.hpp +lib/libsubprocess.so