From owner-svn-ports-head@freebsd.org Wed Sep 23 18:27:48 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E9B0D4226A8; Wed, 23 Sep 2020 18:27:47 +0000 (UTC) (envelope-from swills@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxRVq4SZQz42YL; Wed, 23 Sep 2020 18:27:47 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0110A14D22; Wed, 23 Sep 2020 18:27:47 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08NIRkAk005877; Wed, 23 Sep 2020 18:27:46 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08NIRjou005868; Wed, 23 Sep 2020 18:27:45 GMT (envelope-from swills@FreeBSD.org) Message-Id: <202009231827.08NIRjou005868@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Wed, 23 Sep 2020 18:27:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549776 - in head/devel: . pystring pystring/files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel: . pystring pystring/files X-SVN-Commit-Revision: 549776 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 18:27:49 -0000 Author: swills Date: Wed Sep 23 18:27:45 2020 New Revision: 549776 URL: https://svnweb.freebsd.org/changeset/ports/549776 Log: devel/pystring: create port Pystring is a collection of C++ functions which match the interface and behavior of python's string class methods using std::string. Implemented in C++, it does not require or make use of a python interpreter. It provides convenience and familiarity for common string operations not included in the standard C++ library. It's also useful in environments where both C++ and python are used. WWW: https://github.com/imageworks/pystring Added: head/devel/pystring/ head/devel/pystring/Makefile (contents, props changed) head/devel/pystring/distinfo (contents, props changed) head/devel/pystring/files/ head/devel/pystring/files/patch-Makefile (contents, props changed) head/devel/pystring/pkg-descr (contents, props changed) head/devel/pystring/pkg-plist (contents, props changed) Modified: head/devel/Makefile (contents, props changed) Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Sep 23 18:27:42 2020 (r549775) +++ head/devel/Makefile Wed Sep 23 18:27:45 2020 (r549776) @@ -5256,6 +5256,7 @@ SUBDIR += pyrex SUBDIR += pyside2 SUBDIR += pyside2-tools + SUBDIR += pystring SUBDIR += pysvn SUBDIR += pythk SUBDIR += pythontidy Added: head/devel/pystring/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/Makefile Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= pystring +PORTVERSION= 1.1.3 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= swills@FreeBSD.org +COMMENT= Collection of C++ functions which match python's string class + +USES= libtool:build +USE_GITHUB= yes +GH_ACCOUNT= imageworks +MAKE_ARGS= CXX="${CXX}" \ + CXXFLAGS="${CXXFLAGS}" \ + LIBDIR="${STAGEDIR}${PREFIX}/lib" +USE_LDCONFIG= yes + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include/pystring + ${INSTALL_DATA} ${WRKSRC}/pystring.h ${STAGEDIR}${PREFIX}/include/pystring + ${INSTALL_DATA} ${WRKSRC}/unittest.h ${STAGEDIR}${PREFIX}/include/pystring + +.include Added: head/devel/pystring/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/distinfo Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,3 @@ +TIMESTAMP = 1600269966 +SHA256 (imageworks-pystring-v1.1.3_GH0.tar.gz) = 358a56e756e701836b69a31c75d3d9d41c34d447cf7b3775bbd5620dcd3203d9 +SIZE (imageworks-pystring-v1.1.3_GH0.tar.gz) = 18364 Added: head/devel/pystring/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/files/patch-Makefile Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,15 @@ +--- Makefile.orig 2012-10-16 21:31:17 UTC ++++ Makefile +@@ -9,10 +9,10 @@ pystring.lo: pystring.h pystring.cpp + $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(CXXFLAGS) -c pystring.cpp + + libpystring.la: pystring.lo +- $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o $@ $< -rpath $(LIBDIR) ++ $(LIBTOOL) --mode=link --tag=CXX $(CXX) -o libpystring.la pystring.lo -rpath $(LIBDIR) + + install: libpystring.la +- $(LIBTOOL) --mode=install install -c $< $(LIBDIR)/$< ++ $(LIBTOOL) --mode=install install -c libpystring.la $(LIBDIR)/libpystring.la + + clean: + $(RM) -fr pystring.lo pystring.o libpystring.la .libs Added: head/devel/pystring/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/pkg-descr Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,8 @@ +Pystring is a collection of C++ functions which match the interface and +behavior of python's string class methods using std::string. Implemented in +C++, it does not require or make use of a python interpreter. It provides +convenience and familiarity for common string operations not included in the +standard C++ library. It's also useful in environments where both C++ and +python are used. + +WWW: https://github.com/imageworks/pystring Added: head/devel/pystring/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/pystring/pkg-plist Wed Sep 23 18:27:45 2020 (r549776) @@ -0,0 +1,6 @@ +include/pystring/pystring.h +include/pystring/unittest.h +lib/libpystring.a +lib/libpystring.so +lib/libpystring.so.0 +lib/libpystring.so.0.0.0