mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
devel/subprocess: New port: C++ subprocess library similar in design to Python subprocess library
This commit is contained in:
@@ -7911,6 +7911,7 @@
|
||||
SUBDIR += stxxl
|
||||
SUBDIR += stylua
|
||||
SUBDIR += styx
|
||||
SUBDIR += subprocess
|
||||
SUBDIR += subversion
|
||||
SUBDIR += subversion-book
|
||||
SUBDIR += subversion-lts
|
||||
|
||||
@@ -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 <bsd.port.mk>
|
||||
@@ -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
|
||||
@@ -0,0 +1,2 @@
|
||||
subprocess is a cross platform subprocess library for c++ similar to design
|
||||
of python subprocess.
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user